+ Reply to Thread
Results 1 to 5 of 5

VLookup or Match?

  1. #1
    Registered User
    Join Date
    06-14-2010
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    70

    VLookup or Match?

    Hi...I've attached a file in which I'm having trouble coming up with a working formula.

    I need a formula in Column A of the Data tab, that will go all the way down Column A, that will look at both columns G & H on the same tab, then look them up on the List tab in Col B & C, once its found the match, I want the contents of Col D (on the List tab) to show up in the cells in Col A of the Data tab. Make sense?

    ie. in row 2, G & H both have Business Agility in them, on the list tab on row 3, Business Agility appears in both Col B & C. Therefore, I want Other/Unassigned to appear in cell A2 of the data tab.

    There may be some items in Cols G & H that don't show up on the list tab together, in which case it should return a blank cell.
    Last edited by Koda7; 03-21-2011 at 08:20 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VLookup or Match?

    Missing your file, try zipping if it's too big.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-14-2010
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: VLookup or Match?

    Quote Originally Posted by JBeaucaire View Post
    Missing your file, try zipping if it's too big.
    Sorry about that, I'm having trouble loading the file. keep getting an error message, but will try again.

  4. #4
    Registered User
    Join Date
    06-14-2010
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: VLookup or Match?

    Here's the file
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VLookup or Match?

    To create a quick key, put this formula in G3 on the LISTS page and copy down:

    =B3&"|"&C3

    Then on the DATA sheet, put this in A2 and copy down:

    =IF(ISNUMBER(MATCH(G2&"|"&H2, List!$G:$G, 0)), INDEX(List!$D:$D, MATCH(G2&"|"&H2, List!$G:$G, 0)), "")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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