Sum and Match Combined

manthony

New Member
Joined
Dec 5, 2016
Messages
40
Hi,

I want to sum rows using the match function. I need the match function to figure out what row to sum based on the value in column A then skip 2 columns and sum row X columns D-F. Any ideas? Below is an example.

Column AColumn BColumn CColumn DColumn EColumn F
Row 1#StreetCityValue 1Value 2Value 3
Row 2
256​
MainLos Angeles
700​
500​
300​
Row 3
145​
WashingtonSan Franisco
100​
200​
450​
Row 4
255​
JeffersonSan Diego
0​
750​
0​

In this example, I would use the match function to find 145 in column A and then sum columns D-F to get a total of 750.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
How about this.

Book1
ABCDEFGHI
1#StreetCityValue 1Value 2Value 3Lookup:145
2256MainLos Angeles700500300Total:750
3145WashingtonSan Franisco100200450
4255JeffersonSan Diego07500
Sheet2
Cell Formulas
RangeFormula
I2I2{=SUM(INDEX($D$2:$F$4,MATCH(I1,$A$2:$A$4,0),0))}
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Upvote 0
You don't need to use Ctrl Shift Enter to array confirm that formula (y)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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