Forum Discussion

KiranPK's avatar
KiranPK
Copper Contributor
May 21, 2020

Finding Location of Maximum Value

I have two tabs in my worksheet MeterData and PeakLoad

I am trying to locate the maximum value from an array in MeterData tab, cells F2:CW733. I also need to find the date corresponding to the maximum value. The dates are listed in Column D.

I need to put this data into the PeakLoad tab. I located the maximum value from my first tab using the MAX function. I am unable to locate the coordinates of this cell using MATCH or INDEX.

I used the following formula: =INDEX('MeterData'!F2:CW733, MATCH(MAX('MeterData'!F2:CW733), 'MeterData'!D2:D733, 0), 1). I get a N/A as the result.

Please help. Thank you.

2 Replies

Resources