ABS

Zubair

Active Member
Joined
Jul 4, 2009
Messages
304
Office Version
  1. 2016
Platform
  1. Windows
Hi Team,

Can you please teach me how to add ABS in my given formula, I want ABS to convert negative to positive.

=IF(MATCH($D$201,$FK$1:$FV$1,0)<=MATCH($B$2,$FK$1:$FV$1,0),SUMIFS(TB!$J:$J,TB!$G:$G,$A214,TB!$F:$F,F$2)+SUMIFS(F$3:F$199,$B$3:$B$199,$A214),0)
 
Yes, it is always a good idea to test the formulas first before posting them to make sure that they are valid.
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
SUMIFS requires a range, which is why it will not work when you put the sum range inside the ABS as that will return an array.
Also your SUM formula will only work like that in 365 (which is not what the OP is using), in all other versions it will need array entry.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,784
Members
449,259
Latest member
rehanahmadawan

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