+ Reply to Thread
Results 1 to 5 of 5

Vlookup return multiple values horizontally for a list of values

  1. #1
    Registered User
    Join Date
    01-05-2018
    Location
    NYC
    MS-Off Ver
    365 Business Version 1711
    Posts
    16

    Vlookup return multiple values horizontally for a list of values

    Hi All,

    Can someone help me with this?

    VLOOKUP RETURN MULTIPLE VALUES HORIZONTALLY FOR A LIST OF VALUES

    I attached an example file.

    Sheet 1 has the data

    Sheet 2 is a list of upcs that i want to look up in sheet 1 and return the UOM data horizontally if it has more then 1 uom.

    I tried several times entering a formula but it would not return the correct values.
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Vlookup return multiple values horizontally for a list of values

    =IFERROR(INDEX(Sheet1!$B:$B,AGGREGATE(15,6,ROW(Sheet1!$A$2:$A$1203)/(Sheet1!$A$2:$A$1203=$A2),COLUMNS($B$1:B$1))),"") to the right and down

  3. #3
    Registered User
    Join Date
    01-05-2018
    Location
    NYC
    MS-Off Ver
    365 Business Version 1711
    Posts
    16

    Re: Vlookup return multiple values horizontally for a list of values

    Whoa,

    That was my problem i was copy down first then to the right.

    Works like a charm!

    THank you!

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Vlookup return multiple values horizontally for a list of values

    In B2

    =IFERROR(INDEX(Sheet1!$B$2:$B$2000,SMALL(IF(Sheet1!$A$2:$A$2000=$A2,ROW(Sheet1!$A$2:$A$2000)-ROW($A$2)+1,""),COLUMNS($A:A))),"")


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    then copy across and down

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Vlookup return multiple values horizontally for a list of values

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. Return Multiple corresponding values for Single Lookup Value, Horizontally
    By ljhyun89s in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2016, 06:14 PM
  2. [SOLVED] Lookup Values which meet two or more criteria and return multiple matches horizontally
    By josetmg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2015, 01:16 AM
  3. [SOLVED] Return multiple values horizontally.
    By SamCV in forum Excel General
    Replies: 6
    Last Post: 06-06-2014, 07:50 AM
  4. Lookup to return multiple values horizontally
    By ROBMP in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-06-2014, 01:32 PM
  5. [SOLVED] Return multiple values horizontally using vlookup
    By ThatGuyinBLue in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-03-2013, 05:02 AM
  6. return multiple values horizontally while removing duplicates
    By kingi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-24-2013, 03:55 PM
  7. [SOLVED] VLOOKUP or something with multiple unique return values in a list?
    By girt0n in forum Excel General
    Replies: 1
    Last Post: 04-17-2012, 12:41 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