+ Reply to Thread
Results 1 to 4 of 4

V Lookup or other solution needed

  1. #1
    Registered User
    Join Date
    08-12-2016
    Location
    US
    MS-Off Ver
    2013
    Posts
    33

    V Lookup or other solution needed

    I need to compare cells in column B and B in sheet one to cells in column A and B in sheet 2, if items match then I need column C from sheet 2 copied to sheet one column D. I have used VLookups to compare one item and pull it over (=VLOOKUP(B2,Sheet2!A:C,3,FALSE)) but not two. Is this possible or is there a better option to do this?
    Attached Files Attached Files
    Last edited by herbie000; 06-17-2020 at 12:07 PM. Reason: add file

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: V Lookup or other solution needed

    The yellow banner at the top of the forum explains how to upload a file.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    85

    Re: V Lookup or other solution needed

    Hi

    In D2
    =IFERROR(INDEX(Sheet2!C:C,MATCH(B2&C2,Sheet2!B:B&Sheet2!A:A,0)),0)

    I have not locked any of your columns since the formula is only going down.

    Workbook attached.

    Using INDEX MATCH as an alternative as it is a bit more flexible than vlookup.
    Attached Files Attached Files
    If you like my answer please *Add Reputation

  4. #4
    Registered User
    Join Date
    08-12-2016
    Location
    US
    MS-Off Ver
    2013
    Posts
    33

    Re: V Lookup or other solution needed

    That works perfect! Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Multiple lookup solution needed...
    By Nick312 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-25-2017, 11:52 AM
  2. Vlookup Solution Needed
    By sjpras in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2015, 05:58 AM
  3. [SOLVED] Explanation and/or solution needed
    By bunjijumper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2011, 06:45 AM
  4. Solution needed for VBA learning
    By ronanm in forum The Water Cooler
    Replies: 3
    Last Post: 03-09-2011, 12:47 PM
  5. Lookup solution needed
    By drucey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-21-2006, 12:13 PM
  6. [SOLVED] Function or VBA Solution Needed
    By FireGeek822 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-31-2005, 06:05 PM
  7. [SOLVED] Sort Solution needed
    By Patrick Simonds in forum Excel General
    Replies: 2
    Last Post: 03-16-2005, 08:06 AM

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