How do I add positive and negative figures in the same column seperately

ghrek

Active Member
Joined
Jul 29, 2005
Messages
426
I have a workbook that in column O it has positive and negative figures. What im trying to do is to have 2 seperate subtotals in the column with O999 Showing the value of all the positive figures added together and then O1000 with all the negative figures added together.

Can that be done?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try:

Dante Amor
AO
1VALUES
223
345
467
5-15
6-20
778
889
9-25
10
97
98
99302
100-60
Hoja3
Cell Formulas
RangeFormula
O99O99=SUMIF(O2:O98,">0")
O100O100=SUMIF(O2:O98,"<0")


Note: change in the formula 98 to 998, in minisheet it is only an example.
----- --
 
Upvote 0

Forum statistics

Threads
1,215,222
Messages
6,123,709
Members
449,118
Latest member
MichealRed

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