I'm looking to find a non-VBA alternative to change the following volatile formula (due to INDIRECT()
being used) to a non-volatile one:
=(MAX(A1:INDIRECT("A"&D1))*MAX(B1:INDIRECT("B"&D1)))
...where the cell reference D1
above contains a formula that works out the row number of the last row that contains data in the spreadsheet (6 in the example list below):
A B
1 | 4 1
2 | 6
3 | 7
4 | 2 8
5 | 3
6 | 9
Is there any way I can replace the INDIRECT
with some other non-volatile function(s)?