Excel - Tell me the column header that had the highest number for each row -
| name | blues | greens | yellows | reds | winner | | smith | 35 | 42 | 52 | 17 | | i want know column header has largest number each row , insert name in 'winner' column.
how done
you can using formula (suposing headers on a1:e1)
=offset($a$1,0,match(max($a2:$e2),$a2:$e2,0)-1)
the match function give position of maximum value of range $a2:$e2. can use theoffset function header on position
Comments
Post a Comment