SUM to Ignore Negative Numbers

kcroft88

New Member
Joined
Jun 23, 2016
Messages
37
Me again :)

Anyone know what would go in the formula below so that it ignores any negative numbers?

=((AF33+AG33)/F32)+(BS32-AU32)

Cell AF33 = -4
Cell A33 = 48

The other Cells in the formula reference other numbers that will all be positive so no problems there.

With the other data in the formula the calculation should return 48 as I want it to sum cells AF33+AG33 excluding negatives

Hope that makes sense

I tried a SUMIF with ,">0") on the end but did not work

Thnks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi,

this is were I inset SUMIF:

=SUMIF(AF33+AG33,">0")/F32)+(BS32-AU32)

But returns an error from excel. Am I putting it in the wrong place?
 
Upvote 0
You wrote the SUMIF wrong and left off a parenthesis.
There is also no reason for the parentheses around your last two terms.

Try:
Code:
[COLOR=#333333]=(SUMIF(AF33:AG33,">0")/F32)+BS32-AU32[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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