Summing negative numbers to return the Absolute Value

mcsdls

New Member
Joined
Aug 26, 2019
Messages
4
I have a sheet in which negative numbers are required, however, I need to convert the negatives to the absolute value on another sheet. I have tried =sum(abs(a2:a6)), but the I am only getting the #value ! error. Any suggestions?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Did you confirm the formula with Ctrl Shift Enter, rather than just enter?

If so the formula should be wrapped in {}
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0
Or you can use the "regular" formula:

=SUMPRODUCT(ABS(A2:A6))
 
Upvote 0
If all of the values are negative, normally-enter (just press Enter as usual):

=ABS(SUM(A2:A6))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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