Hi,
I have a formulas on a number of sheets that I need to manually change the max row range.
I wondered if there was a way it could be automated.
Explanation on attached spreadsheet.
Thanks if you can help
Ian Row_count.xlsx
Microsoft ExcelSpreadsheets
Last Comment
Ian Bell
8/22/2022 - Mon
Professor J
you need to add this formula at the end of your formula i mean replace ROW() with the below formula. this part of formula basically finds the row number of the last non-empty cell in column A
=SUMPRODUCT(MAX(($A:$A<>"")*(ROW(A:A))))
Ian Bell
ASKER
I don't follow. I was expecting to modify column "T" by modifying the range. COUNTIF($A$9:$A$24,A9)
Can you please change on sample sheet and send to me.
Many thanks
Ian
Thanks Professor, It does work however it takes ages to complete over the 100k + rows
The idea of those two columns was to index cells to speed up the calc process.
I may have to just stay with the manual entry of number of rows.
Cheers
Ian
=SUMPRODUCT(MAX(($A:$A<>""