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
 

Some videos you may like

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

HalfAce

MrExcel MVP
Joined
Apr 6, 2003
Messages
9,454
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?
 

AboveBeyond

Board Regular
Joined
Aug 14, 2007
Messages
114
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:
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
....

Hi Aladin.
The fishing is just starting to get good! :cool:
You guys need any more?

The school starts very soon... If you caught too much, you know the address. :LOL:
 

Watch MrExcel Video

Forum statistics

Threads
1,122,694
Messages
5,597,571
Members
414,156
Latest member
WDMix

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
Top