+ Reply to Thread
Results 1 to 8 of 8

Index function with hlookup to display values located on another page

  1. #1
    Registered User
    Join Date
    06-06-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    17

    Index function with hlookup to display values located on another page

    Hi, I have a GroupsTable located on the Tiers page with the following data...
    Columns = GroupID,Tier1,Tier2,Tier3
    Rows
    Row1 = 0, Erin Miller, "", ""
    Row2 = 1, Edward Lee, "", ""
    Row3 = 2, Tamara Simmons
    Row4 = 3, Ted Callaghan, Erin Miller, ""
    Row5 = 4, Bill Turner, Ted Callaghan, Erin Miller

    I want to display the value of INDEX(Groups,5,4) in a cell on the Sales-Commission page only after checking that row 4 column 2 value matches, and that the row 4 column 3 value matches, otherwise return "". I would appreciate any assistance as to the best way to accomplish this. I am stumped on this one.
    Last edited by PhoenixFaery; 06-18-2013 at 10:00 AM.

  2. #2
    Registered User
    Join Date
    03-18-2013
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    95

    Re: Index function with hlookup to display values located on another page

    upload an example so we can help

  3. #3
    Registered User
    Join Date
    06-06-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Index function with hlookup to display values located on another page

    Thank you for replying Crawfinator1. Here is the example file.

  4. #4
    Registered User
    Join Date
    06-06-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Index function with hlookup to display values located on another page

    Basically, I want to check the Tier 1 Sales Rep and Tier 2 Sales Rep values for each sale entered, match them to the tier group and automatically display the Tier 3 Sales Rep on the Sales-Commission page in that column. If there is no Tier 3 Sales Rep, then display a blank cell.

  5. #5
    Registered User
    Join Date
    06-06-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Index function with hlookup to display values located on another page

    When I use =INDEX(Groups[Tier3],MATCH(F19,Groups[Tier1],0)),IF(Groups[Tier3]=0,"",Groups[Tier3]) the return is #value in the Tier 3 Sales Rep column.

  6. #6
    Registered User
    Join Date
    06-06-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Index function with hlookup to display values located on another page

    Solved with =INDEX(Groups[Tier3],MATCH(F19,Groups[Tier1],0))

  7. #7
    Registered User
    Join Date
    03-18-2013
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    95

    Re: Index function with hlookup to display values located on another page

    glad i could help!

  8. #8
    Registered User
    Join Date
    06-06-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Index function with hlookup to display values located on another page

    Thanks for helping out Crawfinator . After beating my head against a wall trying to solve this, I found a video that Mike Girvin did on vlookup week where he mentioned the index and match functions as a work around to the #NA error you get with vlookup when the reference cell is to the left of the vlookup formula cell, which in this case, mine was. The index match solved two issues at once because it also was the solution to indexing the tier sales reps.

    w-to/

+ 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