Iferror vlookup help!!!!!

jnews

New Member
Joined
Apr 19, 2011
Messages
2
I am desperately trying to write a formula that would lookup B5 & BC on a worksheet named "LookupPivots" to find cost between H:K in the 3rd position

So far I have this:
=IFERROR(VLOOKUP(B5,LookupPivots!$H:$K,3,0)+(VLOOKUP(C5,LookupPivots!$H:$K,3,0)),"0")

Which is returning 0 number. Since the second lookup does not have costs asscoiated, but the first look up does have cost. I know I have the value if error wrong, but I am not sure how to fix it.

I need the formula to only return 0 number IF both lookups do not have data. But if one does then to return that number or add both and return that number.

What in the world am I missing.

Please help! :)
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Welcome to MrExcel.

Try:

=IFERROR(VLOOKUP(B5,LookupPivots!$H:$K,3,0),0)+IFERROR(VLOOKUP(C5,LookupPivots!$H:$K,3,0),0)
 
Upvote 0
Are you kidding! I have been trying for days.... and in 2 min YOU are a life saver. Thank you sooooo much Andrew.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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