+ Reply to Thread
Results 1 to 2 of 2

Print column title of greater value

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    MA
    MS-Off Ver
    Excel Mac 2011
    Posts
    15

    Print column title of greater value

    Screen Shot 2012-06-13 at 12.15.54 PM.png

    As in the example screenshot, I am trying to display the column header of the greatest value in a row. So if the greatest value in Car 1's row is 92 and the header to the column that 92 is in is "Blue", the column E should display "Blue".


    I thought to use MAX() then HLOOKUP(), but am unfamiliar with how to implement.
    Last edited by bh2; 06-13-2012 at 12:27 PM.

  2. #2
    Registered User
    Join Date
    01-26-2012
    Location
    MA
    MS-Off Ver
    Excel Mac 2011
    Posts
    15

    Re: Print column title of greater value

    Solved this with: =IF(MAX(B2,C2)=B2,$B$1,$C$1

    IF(MAX of two numbers)=first number,display column header for first column;otherwise, display column header for second column)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1