Hi All,
I am trying to find the second highest number in an array and then use a lookup function to let me know in which year the second highest number occurred. My data is per below:
Dec-02 0
Dec-03 144
Dec-04 100
Dec-05 415
Dec-06 307
Dec-07 276
Dec-08 197
Dec-09 186
Dec-10 354
Dec-11 275
Dec-12 552
Using this formula =TEXT(LOOKUP(LARGE(B1:B11,2),B1:B11,A1:A11),"yyyy") I get the result "2011" when it clearly should be "2005"...
I am using this formula elsewhere in the spreadsheet and it works just fine.
Any help would be greatly appreciated.
Bookmarks