Convert negative numbers to positive within an existing formula

dbarbella

New Member
Joined
Jun 6, 2017
Messages
32
Hi All,

I'm summing a total value, which I know will always be a negative number.
Trying to avoid hidden helper cells if possible

The current formula is:
=SUMIFS('Advance Bill Rec'!T$3:T$2000,'Advance Bill Rec'!K$3:K$2000,D21,'Advance Bill Rec'!U$3:U$2000,">=" & $I$1,'Advance Bill Rec'!U$3:U$2000,"<=" & $J$1)

Was wondering if there was a simple wrapper type of function to convert the negative number to a postive

Thanks Much
-D
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
You could just put a minus sign at the front, or use ABS(). If you think some of the rows are positive and some negative, and you want to sum the absolute values, you'd need to use SUMPRODUCT.
 
Upvote 0
Figured out a pretty simple solution by multiplying the formula by -1

But wonder if that's the smartest approach
 
Upvote 0
If the formula always returns a negative sum and you want it to a positive result, negate that result...

=-SUMIFS('Advance Bill Rec'!T$3:T$2000,'Advance Bill Rec'!K$3:K$2000,D21,'Advance Bill Rec'!U$3:U$2000,">=" & $I$1,'Advance Bill Rec'!U$3:U$2000,"<=" & $J$1)

Is this what you meant?
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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