T
tmarsh
Hi All,
I have a table of data, but not all of the cells will be filled. i am
trying to find a worksheet function that will return the maximum
number of rows filled by any of the coumns in the range. the result
will go on another sheet in the same workbook (ie, this is where the
excel function will be).
I can do it by using: -
=max(counta(A:A), counta(B:B), counta(C:C)) etc etc,
but in one case i have 41 columns (!) so i was wondering if there is
an easier way... i thought i might be able to use an array formula but
so far that has been unsuccessful. i know i could do it with VBA but
i am trying to avoid this route at the moment.
Thanks for any guidance,
Tim
I have a table of data, but not all of the cells will be filled. i am
trying to find a worksheet function that will return the maximum
number of rows filled by any of the coumns in the range. the result
will go on another sheet in the same workbook (ie, this is where the
excel function will be).
I can do it by using: -
=max(counta(A:A), counta(B:B), counta(C:C)) etc etc,
but in one case i have 41 columns (!) so i was wondering if there is
an easier way... i thought i might be able to use an array formula but
so far that has been unsuccessful. i know i could do it with VBA but
i am trying to avoid this route at the moment.
Thanks for any guidance,
Tim