Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default 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!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 464
Default 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!


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default 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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Desparate For Help - Pivot Table Field List Jeff C Excel Discussion (Misc queries) 0 April 12th 10 01:50 PM
Desparate..please help Carlee Excel Worksheet Functions 4 November 1st 07 05:32 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Help - desparate for an expanded history log without sharing a workbook a Excel Programming 1 June 24th 04 07:55 AM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 04:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"