# Sum data for selected Row

#### sksanjeev786

##### Board Regular
Hi Team,

I need a total fo A and B from all row as of now I have added manually in formula in row A23 to F23 do we have any other option

Book1
ABCDEF
1A674836813994965
2B764443883897362
3C425957695869248
418632236239127601575
5
6A617410524875983
7B227974177915417
8C628647697958148
9D767127707643284
10SUB NET (D6: D8)22392158210533911832
11
12A824229973432920
13B928781337532736
14C908343511947176
1526601353182119111832
16
17A542276974802435
18B858153727412560
19C463624953593590
20D240820681533742
2121031873333523402327
22
23NET (A and B only)54344102540858595378
Sheet1
Cell Formulas
RangeFormula
B4:F4,B15:F15B4=SUM(B1:B3)
B10:F10,B21:F21B10=SUM(B6:B9)
B23:F23B23=B1+B2+B6+B7+B12+B13+B17+B18

Thanks
Sanjeev

### Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

#### Fluff

##### MrExcel MVP, Moderator
Excel Formula:
``=SUM(SUMIFS(B1:B21,\$A\$1:\$A\$21,{"A","B"}))``

#### sksanjeev786

##### Board Regular
Excel Formula:
``=SUM(SUMIFS(B1:B21,\$A\$1:\$A\$21,{"A","B"}))``

Perfect!!!!! Fluff

Thank you.....

#### Fluff

##### MrExcel MVP, Moderator
You're welcome & thanks for the feedback.

Replies
5
Views
52
Replies
2
Views
184
Replies
6
Views
81
Replies
23
Views
313
Replies
4
Views
131

1,129,868
Messages
5,638,763
Members
417,051
Latest member
arthur_w

### 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?

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