+ 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
    26

    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
    2016
    Posts
    5,872

    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
    26

    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
    2016
    Posts
    5,872

    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)

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