Summing VLookup

AboveBeyond

Board Regular
Joined
Aug 14, 2007
Messages
114
Hi,

I"m trying to get vlookup to find find all lookup values, sum up all of the corresponding values, and return that sum.

So example:

1. $5
1. $6
1. $9

It would return $20.

Thanks for the help! :p
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hello AboveBeyond, welcome to the board.
What Aladin posted is right close to what I had in mind, but with a little twist.
Say your numbers were in column A and your prices were in column B.
In some cell somewhere you can enter the formula: =SUMIF(A:A,C1,B:B)
Then just enter the (column A) number of interest in C1 and your formula should return
the sum of all column B values that have your C1 entry in column A.



Hi Aladin.
The fishing is just starting to get good! :cool:
You guys need any more?
 
Upvote 0
Thanks for the help, I appreciate it!

I had to do some trial and error to see how the function worked but I got the results I was looking for.


Thanks again! :LOL:
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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