+ Reply to Thread
Results 1 to 5 of 5

LOOKUP value and return multiple values

  1. #1
    Registered User
    Join Date
    09-08-2010
    Location
    Portugal
    MS-Off Ver
    Excel 2003
    Posts
    16

    Question LOOKUP value and return multiple values

    Hi all,

    I have a excel file with 2 worksheets sample.xlsx

    I have a worksheet with stocks and other with sales, my goal is to lookup the the REF and return the sales to the stock worksheet


    I've been trying to experiment with vlookup but I only managed to retrieve 1 value every time,
    My goal would be to return a few cells with one lookup.

    Is that possible, please help.

    Thanks
    Best regards,
    Last edited by rfcapinto; 07-08-2015 at 08:03 AM. Reason: SOLVED

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: LOOKUP value and return multiple values

    Put this in B6 of the Stock sheet

    =IFERROR(VLOOKUP($A6,Tabela1,MATCH(B$4,Tabela1[#Headers],0),0),"")

    Drag Down & Across..

    please see the file attached..
    Attached Files Attached Files
    Cheers!
    Deep Dave

  3. #3
    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
    31,211

    Re: LOOKUP value and return multiple values

    In D6

    =VLOOKUP($B6,Tabela1[[DESC]:[TOTAL]],COLUMN()-2,0)

    and copy across

  4. #4
    Registered User
    Join Date
    09-08-2010
    Location
    Portugal
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: LOOKUP value and return multiple values

    Quote Originally Posted by NeedForExcel View Post
    Put this in B6 of the Stock sheet

    =IFERROR(VLOOKUP($A6,Tabela1,MATCH(B$4,Tabela1[#Headers],0),0),"")

    Drag Down & Across..

    please see the file attached..
    Quote Originally Posted by JohnTopley View Post
    In D6

    =VLOOKUP($B6,Tabela1[[DESC]:[TOTAL]],COLUMN()-2,0)

    and copy across
    Thanks both for the fast response.

    Solved!

    Thanks.

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: LOOKUP value and return multiple values

    Glad it helped!

+ 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. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  2. [SOLVED] Is it possible to lookup multiple values and return multiple rows of results?
    By justin11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2013, 12:02 PM
  3. lookup multiple values in multiple columns to return a result
    By AYAHOO123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2013, 07:53 PM
  4. how to lookup a value and return multiple corresponding values
    By Asthee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2005, 09:55 AM
  5. Lookup and return multiple Values
    By Neil in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM

Tags for this Thread

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