Adding numbers with specific description

Memar

Board Regular
Joined
Sep 2, 2011
Messages
76
Would you please help me to add numbers with certain specific/description. I just wanted to add all numbers which EAST numbers and West numbers separately as the desired result shown below [TABLE="width: 500"]
<tbody>[TR]
[TD]Region [/TD]
[TD]Amount [/TD]
[/TR]
[TR]
[TD]North-West [/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD]South-East [/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]South-West [/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]North-East [/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD]North-West [/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]South-East [/TD]
[TD]150[/TD]
[/TR]
[TR]
[TD]South-West [/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]TOTAL [/TD]
[TD]1150 [/TD]
[/TR]
[TR]
[TD]EAST[/TD]
[TD]500 - desired result[/TD]
[/TR]
[TR]
[TD]WEST[/TD]
[TD]650 - desired result [/TD]
[/TR]
</tbody>[/TABLE]

Thanks for your time and help.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Try:

ABC
RegionAmount
North-West
South-East
South-West
North-East
North-West
South-East
South-West
TOTAL
EAST
WEST

<tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]

[TD="align: center"]2[/TD]

[TD="align: right"]150[/TD]
[TD="align: right"][/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]200[/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]100[/TD]
[TD="align: right"][/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]150[/TD]
[TD="align: right"][/TD]

[TD="align: center"]6[/TD]

[TD="align: right"]200[/TD]
[TD="align: right"][/TD]

[TD="align: center"]7[/TD]

[TD="align: right"]150[/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]

[TD="align: right"]200[/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]

[TD="align: right"]1150[/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]

[TD="align: right"]500[/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]

[TD="align: right"]650[/TD]
[TD="align: right"][/TD]

</tbody>
Sheet8

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR]
[TH]B10 Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TD="align: left"]=SUMIF(A$2:A$8,"*"&A10&"*",B$2:B$8)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Hi,

SUMIF with wildcard match:


Book1
AB
1RegionAmount
2North-West150
3South-East200
4South-West100
5North-East150
6North-West200
7South-East150
8South-West200
9TOTAL1150
10EAST500
11WEST650
Sheet520
Cell Formulas
RangeFormula
B10=SUMIF(A$2:A$8,"*"&A10&"*",B$2:B$8)


Formula copied down.

EDIT: Eric, you were probably half a second quicker than me :)
 
Last edited:
Upvote 0
Try

Excel 2007
ABC
1RegionAmount
2North-West150
3South-East200
4South-West100
5North-East150
6North-West200
7South-East150
8South-West200
9TOTAL1150
10EAST500
11WEST650
12
Sheet1
Cell Formulas
RangeFormula
B10=SUMIF(A2:A8,"*East",B2:B8)
B11=SUMIF(A2:A8,"*West",B2:B8)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,721
Messages
6,174,096
Members
452,542
Latest member
Bricklin

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