Vlookup when more than one lookup value

blacktour

Board Regular
Joined
May 24, 2005
Messages
219
Hi,

I am trying to make a formula to process the following:

Code:
010101358000000		CF	C	0
010301900000000		CF	C	12840000
010301900000000		CV	C	3745000
010301900000000		RF	1	1912000
010301900000000		CY	Y	2532000
010301900010000		CF	C	1093000
				
010301900020000		DF	D	1033000
010301900020000		CF	C	2096000

So for any number that is the same in the left most column I want to make a total of the values in the right column.

So 010301900020000 would = 3129000
 

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.

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
Try SUMIF,

Assuming your values in the first column are text

=SUMIF(A:A,"010301900020000",D:D)
 

Forum statistics

Threads
1,181,724
Messages
5,931,688
Members
436,798
Latest member
spprtpplcm

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