+ Reply to Thread
Results 1 to 10 of 10

Look up a value in a list and return multiple corresponding values

  1. #1
    Registered User
    Join Date
    10-18-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Look up a value in a list and return multiple corresponding values



    Heyy, i have been searching for like AGESSSS! and cannot find anything to help me with this matter.... i will explain my problem...

    Colum A has part numbers (0001 and so on and so on) * they are not decending in 1's they are random numbers so to speak...

    on the next sheet there is colum A (wich contains part numbers *the main part numbers*)
    and colum B has the item description, colum c has the sale price and colum d has the cost price...

    I basicly am looking so that on the 1st sheet i can enter a formula witch will match up the part numbers from sheet 1 to sheet 2 and will return the description / cost / sale ...

    Make sence???

    Sheet 1 looks like this:

    0001
    0010
    0023
    0123
    2034
    9821

    Sheet too looks like this
    A B C D
    0001 description in this colum sale price here cost price here
    0002 description in this colum sale price here cost price here
    0003 description in this colum sale price here cost price here
    0004 description in this colum sale price here cost price here
    .. ect ect
    Last edited by Jord-; 10-18-2011 at 06:03 AM. Reason: details

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: How to look up a value in a list and return multiple corresponding values.

    Hi and welcome to the board

    Have a look at the VLOOKUP function

    Cheers

  3. #3
    Registered User
    Join Date
    10-18-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to look up a value in a list and return multiple corresponding values.

    Quote Originally Posted by arthurbr View Post
    Hi and welcome to the board

    Have a look at the VLOOKUP function

    Cheers
    Heyy, i have looked at allsorts and i cannot figure it out, ive searched all over googled ect ect, playing with peoples different awnswers ect ect

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: How to look up a value in a list and return multiple corresponding values.

    Please add a sample sheet - Thx

  5. #5
    Registered User
    Join Date
    10-18-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to look up a value in a list and return multiple corresponding values.

    Example workbook attached.. Thanks
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: How to look up a value in a list and return multiple corresponding values.

    Note this only finds the first match. For instance you have 00010 3 times in the first sheet.

    SAMPLE.xlsx
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  7. #7
    Registered User
    Join Date
    10-18-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to look up a value in a list and return multiple corresponding values.

    Quote Originally Posted by khamilton View Post
    Note this only finds the first match. For instance you have 00010 3 times in the first sheet.

    Attachment 125262
    Wow thanks :D:D:D... only problem is i get this at the end ...

    30281 #N/A #N/A
    39999 #N/A #N/A
    40010 #N/A #N/A
    40020 #N/A #N/A
    40025 #N/A #N/A
    40045 #N/A #N/A
    40050 #N/A #N/A
    40452 #N/A #N/A
    40462 #N/A #N/A
    50085 #N/A #N/A
    50090 #N/A #N/A
    50150 #N/A #N/A
    50155 #N/A #N/A
    50280 #N/A #N/A
    50320 #N/A #N/A
    50535 #N/A #N/A
    50552 #N/A #N/A
    70196 #N/A #N/A
    70198 #N/A #N/A
    70202 #N/A #N/A
    70205 #N/A #N/A
    70208 #N/A #N/A
    70211 #N/A #N/A
    70215 #N/A #N/A
    70228 #N/A #N/A
    70290 #N/A #N/A

  8. #8
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: How to look up a value in a list and return multiple corresponding values.

    Okay here it is with the error handler.

    SAMPLE.xlsx

  9. #9
    Registered User
    Join Date
    10-18-2011
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to look up a value in a list and return multiple corresponding values.

    Quote Originally Posted by khamilton View Post
    Okay here it is with the error handler.

    Attachment 125319
    I mean how come it comes up with error? the data is the same as all the other cells, i dont understand :S:S

  10. #10
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: Look up a value in a list and return multiple corresponding values

    Looks like they are some with spaces at the end of some. Sheet 1 column A.

+ 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