ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help, help! desparate for formula help!! (https://www.excelbanter.com/excel-programming/442019-help-help-desparate-formula-help.html)

How do I?

Help, help! desparate for formula help!!
 
I need somone to tell me a formula to copy and paste into a cell in my excel
worksheet. I need this for work today! Can't figure it out. Here's what I
need:
If SUM(C4:O4) is greater than 40, then SUM(C4:O4)-40, but if SUM(C4:O4)is
equal or less than 40, then 0
Now how the heck do I make a formula with that? Please help!

Jacob Skaria

Help, help! desparate for formula help!!
 
Try
=IF(SUM(C4:O4)40,SUM(C4:O4)-40,0)

--
Jacob (MVP - Excel)


"How do I?" wrote:

I need somone to tell me a formula to copy and paste into a cell in my excel
worksheet. I need this for work today! Can't figure it out. Here's what I
need:
If SUM(C4:O4) is greater than 40, then SUM(C4:O4)-40, but if SUM(C4:O4)is
equal or less than 40, then 0
Now how the heck do I make a formula with that? Please help!


ozgrid.com

Help, help! desparate for formula help!!
 
=IF(SUM(C4:O4)40,SUM(C4:O4)-40,0)



--
Regards
Dave Hawley
www.ozgrid.com
"How do I?" <How do wrote in message
...
I need somone to tell me a formula to copy and paste into a cell in my
excel
worksheet. I need this for work today! Can't figure it out. Here's what
I
need:
If SUM(C4:O4) is greater than 40, then SUM(C4:O4)-40, but if SUM(C4:O4)is
equal or less than 40, then 0
Now how the heck do I make a formula with that? Please help!



Mike H

Help, help! desparate for formula help!!
 
Hi,

IF statements aren't necessary, try this

=MAX(0,SUM(C4:O4)-40)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"How do I?" wrote:

I need somone to tell me a formula to copy and paste into a cell in my excel
worksheet. I need this for work today! Can't figure it out. Here's what I
need:
If SUM(C4:O4) is greater than 40, then SUM(C4:O4)-40, but if SUM(C4:O4)is
equal or less than 40, then 0
Now how the heck do I make a formula with that? Please help!



All times are GMT +1. The time now is 02:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com