Sum of Negative and Positive Values in single column

Krayziekitten

New Member
Joined
Dec 9, 2014
Messages
14
Hello,

I am trying to have excel total all of the negative amount and positive amounts out of a single column by identifying if each cell is above or below zero.
I have been trying a few different formulas, but not working out for me.

Here is example data:

COLUMN
-40.00
10.00
12.00
-100.00
-1.00
22.00

Negative should amount to: -141.00
Positive should amount to: 44.00

Thank you!
 

Some videos you may like

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061

ADVERTISEMENT

Try changing the commas to semicolons ( , to ; )
 

Krayziekitten

New Member
Joined
Dec 9, 2014
Messages
14
It doesn't like the semi-colons either. Could it be a formatting issue? It isn't liking even an IF formula.
 

Krayziekitten

New Member
Joined
Dec 9, 2014
Messages
14

ADVERTISEMENT

ah I got it -- It wants the pipe delimiter instead of comma or semi-colon
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
It must be a problem with the list separator character.
It's usually a comma, or sometimes a semicolon ;
But it actually could be anything.

Easy way to find out what that character is supposed to be...

Type =SUM(
Hold down the CTRL Key
Randomly select a few cells (not next to each other)
Press Enter

Look at the resulting formula, what character shows between each cell reference.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,012
Messages
5,599,337
Members
414,306
Latest member
Dennis_vdw

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
Top