Multiple VLOOKUPs or should it be SUMPRODUCT?

claire_pike

New Member
Joined
Aug 10, 2006
Messages
40
Hi,

Can you help me with my formula....

=IF(VLOOKUP(A2,Master!E$3:P$1805,12,FALSE)=L$1,"864","0")

That's the basic formula but I often have multiple lines that if "0" is the answer, it rechecks the next line that is the same as the Vlookup(A2 part.

Can anyone help me? :confused:

Thanks,

Claire
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi Jon,

When excel is using the VLOOKUP, it's only coming back with the first line that it finds.. but I need it to check every line that A2 = if it brings back 0 as the answer.

Does that make sense?
I have mutiple lines of the vlookup value. Once it's looked up every line, if all are 0, then I still want the answer as 0.

Thanks,
Claire
 
Upvote 0
If some are 0 and others are not, do you want the SUM of them or the 1st non-zero or ?

Are you interested in only the one field, or will you want to retrieve more info about multiple matches?
 
Upvote 0

Forum statistics

Threads
1,217,500
Messages
6,137,012
Members
450,038
Latest member
JackOfBlades

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