+ Reply to Thread
Results 1 to 4 of 4

MAX Function and Corresponding Column

  1. #1
    Registered User
    Join Date
    02-27-2005
    Posts
    3

    MAX Function and Corresponding Column

    I have a spreadsheet with 60 columns and 1500 rows of data. For each row I need to idenitify the column with the maximum value (I used the MAX function and it worked fine). My problem is, I need to identify the column that contains the maximum value. For example: MAX(g2:bv2) max value is 5.7 belonging to column L2. Each column has a distinct column heading. Any suggestions?

  2. #2
    Forum Contributor
    Join Date
    02-15-2005
    Location
    Blackpool, UK
    Posts
    137
    Hi,

    try this:

    =INDEX($G$1:$BV$1,1,MATCH(MAX(G2:BV2),G2:BV2,0))

    HTH

    Art

  3. #3
    Registered User
    Join Date
    02-27-2005
    Posts
    3

    How about this

    Hey Art.

    That worked perfectly. How about this. With that same data group is theere a way to identify the next 2 highest values after the max value aand their corresponding column heading?

    Thank you very much.

    L-

  4. #4
    Forum Contributor
    Join Date
    11-09-2004
    Posts
    451
    You have to use large function for this

    =INDEX($A$1:$C$1,1,MATCH(LARGE(A2:C2,2),A2:C2,0))

+ 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