+ Reply to Thread
Results 1 to 3 of 3

vlookup/index/match???

  1. #1
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    vlookup/index/match???

    The sample attached is a micro version of what I am working on.

    I have 38 customers that I want to rank in column form based on a tab that has ranked them in row form. Sheet B is a formula tab that compiles data from a branch tab and ranks across all branches, in this case, 1-10.

    I want Sheet 1 to look up the #1 ranked customer & give me the customer name. I can adjust the formula from there to find the totals.....I just have a hard time with combining formula's....

    Thanks a lot,
    Jeff
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: vlookup/index/match???

    Please see the attached which uses the HLOOKUP function. I needed to move the rank row on the second sheet to make this work.
    Attached Files Attached Files
    Martin

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: vlookup/index/match???

    you might want to consider unique rank in case you have the same values in b4:k4 or hlookup wont work
    properly
    instead of =RANK(B4,$B$4:$K$4) in b2 use
    =COUNT($B$4:$K$4)-(RANK(B4,$B$4:$K$4)+COUNTIF($B$4:B4,B4)-1)+1
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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