ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup (https://www.excelbanter.com/excel-worksheet-functions/69118-vlookup.html)

BSantos

vlookup
 
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

JMB

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


JMB

vlookup
 
SUMPRODUCT will perform multiple condition tests (if you want to return
numeric data). Also INDEX/MATCH entered as an array formula will perform
multiple condition tests to return text data.

Two links that may get you started.

http://xldynamic.com/source/xld.SUMPRODUCT.html
http://www.cpearson.com/excel/array.htm

"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



All times are GMT +1. The time now is 02:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com