Minus a value if sum is greater than

MarcSwift

New Member
Joined
May 21, 2011
Messages
23
What formula would I use if the total sum of a column was greater than 4.00 then I would minus 0.35. If not minus nothing.

Thankyou :)
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hope this helps.....

Column A
1. 1
2. 1
3. 1
4. 1
5. 1
6. 1
7. 1
8. 1
9. 6.65 - Result

The formula is....

=IF(SUM(A2:A8)>4,SUM(A2:A8)-0.35,SUM(A2:A8))
 
Upvote 0
=IF(SUM(H4:H8)>4,SUM(H4:H8)-0.35,SUM(H4:H8))

substitute the range references for yours.
 
Upvote 0
Anandvarma
The OP wants the original sum as the result, if the result's less than 4.00 - your would return null in this case.
 
Upvote 0
Aladin
I think you've got a double negative in there, so it will add .35!!

Should it be:
=SUM(A:A)-IF(SUM(A:A)>4,0.35,0)

.........perhaps?
 
Upvote 0
That's great thank you!

I want to use this formula and add to this formula another logical statement if the sum is greater than 10 then minus 0.20. Where would I put this in the formula you just made?

Thanks you!!
 
Upvote 0
It's always better to post the original FULL request in the very beginning (although I know what it's like - you just wonder if somethings possible, then once you realise it is, you know your formula may be able to do even more, so start expanding).........

However..
=IF(SUM(H4:H8)>10,SUM(H4:H8)-0.4, IF(SUM(H4:H8)>4,SUM(H4:H8)-0.35,SUM(H4:H8)))

.........should do the trick for you.

Knowing your actual requirement in the first instance may have resulted in a better (and more rounded) formula to suit all your needs, so this is an altered version of the original.

Hopefully you can see how to "Nest" the If statements to suit your needs.

Happy Xcelling!!
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

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