+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP or INDEX?

  1. #1
    Registered User
    Join Date
    10-10-2008
    Location
    St. Louis, MO
    MS-Off Ver
    Office 365
    Posts
    31

    VLOOKUP or INDEX?

    Hello, I'm sure this is really easy, but I'm not having any luck with figuring out the correct formula to get the desired results.

    I'm trying to compare two lists in separate sheets. If there is a match, then return a value in a different column on the main sheet. I've tried using VLOOKUP and INDEX, but can't figure out the right way in order to get it to work.

    I've attached a very simple sample file. The first 2 worksheets are samples of what I currently have. The third worksheet is how I would like the first worksheet to look once I get the correct formula in column C.
    Attached Files Attached Files
    Last edited by emueller; 07-16-2019 at 11:13 AM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLOOKUP or INDEX?

    Try this in C2:

    =IFERROR(INDEX(Assignments!A:A,AGGREGATE(15,6,ROW(Assignments!A$2:A$5)/ISNUMBER(SEARCH(Assignments!B$2:C$5,A2)),1)),"")

    Drag the formula down.

  3. #3
    Registered User
    Join Date
    10-10-2008
    Location
    St. Louis, MO
    MS-Off Ver
    Office 365
    Posts
    31

    Re: VLOOKUP or INDEX?

    Thank you, this does what I need it to do.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: VLOOKUP or INDEX?

    Happy to help. Thanks for the rep!

+ 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. VLOOKUP or INDEX/MATCH with multiple column index numbers
    By cerebral87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2017, 07:13 PM
  2. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  3. Vlookup & index
    By BelshazzarSP in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-30-2014, 09:53 PM
  4. [SOLVED] Vlookup or Index?
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2014, 05:17 AM
  5. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  6. From Vlookup to Index
    By arazoe in forum Excel General
    Replies: 4
    Last Post: 09-27-2010, 02:17 PM

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