Thread: vlookup
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default vlookup

If Store number is in Column A, Part Number in Column B, Quantity in Column
C, E1 contained the store name you're looking for, F1 contained the part
number then:

=SUMPRODUCT(--(A1:A10=E1),--(B1:B10=F1),C1:C10)

Change cell references as necessary to your other spreadsheet.
Note Sumproduct doesn't accept entire columns such as A:A or A1:A65536 but
A1:A65535 is okay.

"BSantos" wrote:

Is there a formula that you can have to criterias before you bring over a
lookup in another column?

I have to spreadsheets same info on both "hopefully" I want to compare them
to see the difference.
Store #, part # and qty. I want it to find it on the other spreadsheet and
give me the qty. So, I can see if I'm missing a store or part #.

thanks for any help. B.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions