I have a table starting in A6. I have date and times in column A and numerical values in column B.
I want the date and time of the maximum value in column B. To do this I have
=INDIRECT(ADDRESS(MATCH(MAX($B$6:$B$36000),$B$6:$B$36000,0),1))
This gives me a date/time that is 5 rows out from the actual maximum. I presume this is because ADDRESS is returning a row number within the table, rather than the actual row number in Excel.
Q1: Why is it doing this?
Q2: How can I return the correct row number? I've tried to use OFFSET in there, but I can't get it to work.
Any help?
Thanks.
I want the date and time of the maximum value in column B. To do this I have
=INDIRECT(ADDRESS(MATCH(MAX($B$6:$B$36000),$B$6:$B$36000,0),1))
This gives me a date/time that is 5 rows out from the actual maximum. I presume this is because ADDRESS is returning a row number within the table, rather than the actual row number in Excel.
Q1: Why is it doing this?
Q2: How can I return the correct row number? I've tried to use OFFSET in there, but I can't get it to work.
Any help?
Thanks.