Sum data for selected Row

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
882
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How about
Excel Formula:
=SUM(SUMIFS(B1:B21,$A$1:$A$21,{"A","B"}))
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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