New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

Return Multiple Values using Vlookup in Excel

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

Return Multiple Values using Vlookup in Excel

Postby Yaz » Thu Dec 15, 2011 7:23 am

Hey guys,

I have a question.

I have an customers overview. Per customers you can see how much money he/she spend and what order he/she take.

For example:

Customer: Amount: Order:
003 € 250 Magic bullet
003 € 50 Zumba DVD
045 € 250 Magic bullet
112 € 400 Home trainer

I made a Vlookup in another sheet, by just typing the Customer code you´ll see what he/she orded. But I have one problem. If I typ in 003 I just get the first order when im using the formula Vlookup. So the formula just takes the first order and not the second 1.

My question is: Is there a formula to use so i can grab the information from sheet A and by just typing the customer code i get all the information of the customer in sheet B?

Thanks for helping!

PS: sometimes a customer has an order of 3-4 products.
  • 0

Yaz
Rookie
 
Posts: 7
Joined: Dec 15, 2011
Reputation: 0

Re: Important question about formulas

Postby Don » Thu Dec 15, 2011 6:00 pm

Hi and welcome to the forum!

You can certainly do this with formulas in Excel. You will need to use an Array Formula and this will actually not include the vlookup function. This can be a tricky thing to do, especially since it's an array formula, but here is a link to an article that should walk you through what you need to do to get the desired result.

http://office.microsoft.com/en-us/excel-help/how-to-look-up-a-value-in-a-list-and-return-multiple-corresponding-values-HA001226038.aspx


*updated topic title to reflect your question
  • 0

Don
Moderator
 
Posts: 733
Joined: Dec 4, 2011
Reputation: 2
Excel Version: 2010

Re: Return Multiple Values using Vlookup in Excel

Postby Yaz » Fri Dec 16, 2011 8:22 am

Thank you so much!

I love this forum already :D
  • 0

Yaz
Rookie
 
Posts: 7
Joined: Dec 15, 2011
Reputation: 0


Return to General Excel Questions

Who is online

Users browsing this forum: No registered users and 253 guests