+ Reply to Thread
Results 1 to 5 of 5

HLOOKUP: new column "Winning Name" by sorting max row value and copying over name related

  1. #1
    Registered User
    Join Date
    04-04-2013
    Location
    Berkeley
    MS-Off Ver
    Excel 2011
    Posts
    3

    HLOOKUP: new column "Winning Name" by sorting max row value and copying over name related

    Hi there!

    I hope the subject was clear, but here's my situation:

    Name 1 Volume 1 Name 2 Volume 2 Name 3 Volume 3 Winning Name
    A 100 B 200 DD 400 DD
    big 100 brown 20 cat 15 big
    ORANGE 0 BLACK 2000 BLUE 50 BLACK
    -except that there are also columns Name 4 and Volume 4 between columns Volume 3 and Winning Name
    -The Upperleft cell Name 1 is on cell C2
    What I've been trying to do without any success so far ( ) is to insert a formula in column K (Winning Name) that would give me the Name that has the highest Volume. This is as shown on the table above under column Winning Name.

    I'm not very skilled in excel but the formula (I think it's going to be HLOOKUP) should be something on the lines of this: http://answers.yahoo.com/question/in...4031032AABaYjB

    I'd be very grateful for the formula I need!

    Thank you so much!!

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: HLOOKUP: new column "Winning Name" by sorting max row value and copying over name rela

    hi diemking, welcome to the forum. try:
    =INDEX(C2:J2,MATCH(MAX(C2:J2),C2:J2,0)-1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: HLOOKUP: new column "Winning Name" by sorting max row value and copying over name rela

    May be this...

    In S2 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it down...

    In E33 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: HLOOKUP: new column "Winning Name" by sorting max row value and copying over name rela

    Please Login or Register  to view this content.
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  5. #5
    Registered User
    Join Date
    04-04-2013
    Location
    Berkeley
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: HLOOKUP: new column "Winning Name" by sorting max row value and copying over name rela

    Hi all! Thank you so much for the replies! The formula worked and I was able to get the column finished. Thanks guys!

+ 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