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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,972
Messages
6,122,530
Members
449,088
Latest member
RandomExceller01

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