Hi there,
I'm trying to return a colum heading based on the maximum value in the rows below. Getting the max value is easy using MAX but does anyone know how I can return the value of the the column heading for this max value?
Table
Tom ...... Fred .....Harry
5 ....... 10....... 20
17 ...... 12 ....... 6
45 ...... 100 ....... 36
Results
Max value Belongs to
20 .............Harry
17 ............Tom
100 ...........Fred
many thanks
Sandies
Bookmarks