Summing Vlookup results

hallingh

Well-known Member
Joined
Sep 11, 2010
Messages
769
This probably isn't a very difficult question, but I have no clue how to do it. I have a vlookup formula which is working great if it only finds one value, but if there are more than one value it finds I need it to sum the two together and display the result. Here is my formula:

Code:
IF(ISERROR(VLOOKUP($A15,data.Custom!B$4:L$18,11,FALSE)),0,VLOOKUP($A15,data.Custom!B$4:L$18,11,FALSE))

I would greatly appreciate help on how to adjust this formula so it will add multiple returned values together and display the result. Thanks for any help you can give me!

Hank
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Nevermind, I realized I can just use SUMIF. Stupid!

I have another question, though. Theres another vlookup I use to accomplish the same thing, except it is looking up text values instead of numerical values. Is there any way to show all of the text values found from the vlookup?
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,706
Members
452,939
Latest member
WCrawford

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