+ Reply to Thread
Results 1 to 2 of 2

obtaining max value then ref

  1. #1
    Forum Contributor
    Join Date
    12-20-2006
    Posts
    127

    obtaining max value then ref

    i have three columns

    col A = Name
    col B = Value
    Col C = Ref

    I am trying to look up in colA for a particular name (names are repeated in alpha order) then looking to see what the max value is and then linking this to the Ref field to find out what the ref is.

    i can use max(if( to find out what the max value is but then i need to link this to the ref

    ive tried to put max(if in a row() function but this didnt work, anyone got any ideas?

  2. #2
    Forum Contributor
    Join Date
    01-24-2007
    Location
    Southampton, UK
    Posts
    137
    Perhaps organising the list differently could make it easier?

    Suggest sorting the list by column A (name) ascending, but column B (value) descending (so that the highest values come first).

    Then you can use Excel's Vlookup function to search for the name in column A - it will locate the first instance for that name, which because of the sorting will be the one with the maximum value in column B, and the reference in column C can simply be returned.

+ 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