Hi Folks:
How should I do this:
Coding in ThisWorkbook to count how many non-empty cells, as well as the index/position of the non-empty cells, for column D in worksheet1, workshet2, and worksheet3? Returning three integers, N1, N2, and N3 as count of non-empty, and another three integer array I1, I2, and I3, as index array;
For example:
Sheet1 collumn D
1
empty
2
empty
1
empty
2
3
1
The function should return N1 = 6, and I1 = [1 3 5 7 8 9] (assuming 1 based indexing); Thanks a lot!
Bookmarks