joshpark1

New Member
Joined
Apr 23, 2009
Messages
13
Hi,

I have a list of items where column A has an invoice # and column B has item(s) matching with that invoice. I would like to do a VLOOKUP from another worksheet where I can type in the invoice # in one cell and have it spit out all the items that match that invoice #. Right now I can only get the formula to find the 1st item listed with the matching invoice # even if I repeat the formula a few times.

I'm working with Excel 2007 and Windows Vista. Any suggestions?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Is this a one at a time thing? You're inputting one invoice # and getting one list of items to do something with, then you work with another invoice #?

I prefer to avoid array formulas when I can, others will come along and suggest them...so I'll show you my technique. I add a "key" column to my data sheet that watches the Key item I'm searching for and flags the rows ON the data sheet for transfer. Here's a sample I've offered for others to see the technique:

http://www.excelforum.com/attachmen...et2-using-vlookup-nonarraymultiplelookup2.xls

On the SUMMARY sheet selecting apple flags 4 rows on Sheet1. Then a simple INDEX/MATCH formula can draw them over with no performance hit.

This technique will scale up and stay very quick. An array approach may reduce performance as your data set continues to grow. Worth considering.
 
Upvote 0
that's interesting, I'll give it a try!

I add new invoices every day on a list style data entry log on one worksheet, then I manually move the data over to an invoice template to print so I have record of all the orders, but have a nice looking invoice to give to my customers.
 
Upvote 0
In your VLOOKUP formula are you using "0" or "False"? Also, VLOOKUP doesn't like numbers as text. Have you checked to see if the invoice numbers in your data set are actually numbers and not text? If that is the case, convert them to text by using a double negative formula (=--##).
 
Upvote 0
I tried the key column, but the formula I'm using turns up a VALUE! error. Does the key column need to be on the invoice too to work? Could you give me an example of how the index/match formula would look? Thank you!
 
Upvote 0
One thing I forgot to mention, I used a NAMED range in the Key column formulas. On the sheet where I making my "apple" choice, I clicked on that cell, then types KEY into the NameBox. The NameBox is just to the left of the formula bar and usually shows you the name of the cell you've clicked on...click on A1 and it shows A1. Got it?

So, find your "invoice #" cell and name it KEY and then the formula in the Key Column will work as I designed them.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,749
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top