+ Reply to Thread
Results 1 to 5 of 5

Vlookup Multiple Values ...Index? Please Help :)

Hybrid View

  1. #1
    Registered User
    Join Date
    08-13-2018
    Location
    U.S
    MS-Off Ver
    2016
    Posts
    53

    Cool Vlookup Multiple Values ...Index? Please Help :)

    Hello,Excel Friends!

    I have a large file and I am trying to determine all possible locations (Column G) for any given SKU (Column A).

    Please see the attached sample file.

    In some cases, I have SKUs that appear in column A multiple times, that have different location values (Column G).
    I am hopeful that I can return all possible location values into column K (I have provided an example of that I would like this to look like in cell K11 & K12.) In most cases, I have no more than three locations per SKU.

    I am hopeful to not only have a formula for this situation but to better understand how it works in the future. I am not very advanced when it comes to excel. Vlookup and SumIF is about as far as I have gone!

    Any assistance you can provide on this would be greatly appreciated!

    - Keith, R
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Vlookup Multiple Values ...Index? Please Help :)

    If you want them all in one cell you will need one of the following:

    1. VBA ( a UDF).. saved as .xlsm

    2. Helper column.

    3. Upgrade to O365.

    If you're Ok with them in separate columns:

    =IFERROR(INDEX($I:$I,AGGREGATE(15,6,ROW($A$2:$A$40)/($A$2:$A$40=$A2),COLUMNS($K$2:K2)))&"","")

    copied across and down. Adjust the range (the bits in red) as needed. Don't go mad and use whole column references there, unless you do have 1,000,000 rows.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    08-13-2018
    Location
    U.S
    MS-Off Ver
    2016
    Posts
    53

    Re: Vlookup Multiple Values ...Index? Please Help :)

    Glen, I really appreciate your help! I was able to use the formula you provided to pull the data into separate columns. I can run a =CONCAT if I choose to pull them together.
    Our Warehouse guys are doing inventory checks on select items and I wanted to pull all possible locations for each SKU.

    Thanks again!! :D

    Keith R.

  4. #4
    Registered User
    Join Date
    08-13-2018
    Location
    U.S
    MS-Off Ver
    2016
    Posts
    53

    Re: Vlookup Multiple Values ...Index? Please Help :)

    Quote Originally Posted by Glenn Kennedy View Post
    If you want them all in one cell you will need one of the following:

    1. VBA ( a UDF).. saved as .xlsm

    2. Helper column.

    3. Upgrade to O365.

    If you're Ok with them in separate columns:

    =IFERROR(INDEX($I:$I,AGGREGATE(15,6,ROW($A$2:$A$40)/($A$2:$A$40=$A2),COLUMNS($K$2:K2)))&"","")

    copied across and down. Adjust the range (the bits in red) as needed. Don't go mad and use whole column references there, unless you do have 1,000,000 rows.
    Glen, I really appreciate your help! I was able to use the formula you provided to pull the data into separate columns. I can run a =CONCAT if I choose to pull them together.
    Our Warehouse guys are doing inventory checks on select items and I wanted to pull all possible locations for each SKU.

    Thanks again!! :D

    Keith R.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Vlookup Multiple Values ...Index? Please Help :)

    woo Hooo! You're welcome and thnaks 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. [SOLVED] Using Vlookup or Index to find multiple values?
    By JNEWMAN in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2019, 04:02 PM
  2. [SOLVED] VLookup - Match- INDEX with multiple values across sheets
    By tylops in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-07-2018, 05:14 PM
  3. Using VLOOKUP/INDEX to copy over multiple values
    By norseman1 in forum Excel General
    Replies: 15
    Last Post: 08-03-2016, 04:06 PM
  4. [SOLVED] Need Vlookup or Index Match to return multiple values
    By harrydnyc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-28-2016, 05:52 PM
  5. listing multiple values vlookup or index.
    By foozbear in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-14-2015, 10:05 PM
  6. Vlookup or Index Match to populate multiple values
    By HB07 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-30-2015, 05:18 AM
  7. Multiple Values from Vlookup (formula without index or arrays)
    By jasexcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2014, 12:02 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