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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,214,929
Messages
6,122,314
Members
449,081
Latest member
tanurai

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