#1   Report Post  
skateblade
 
Posts: n/a
Default excel formula

If cell M6 is less than 37.5 then calculate the difference.
  #2   Report Post  
Richard Buttrey
 
Posts: n/a
Default

On Fri, 14 Oct 2005 09:52:17 -0700, "skateblade"
wrote:

If cell M6 is less than 37.5 then calculate the difference.


And if it isn't????


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=(37.5-M6)*(M6<37.5)

will retrun zero of condition is FALSE

Regards,

Peo Sjoblom

"skateblade" wrote in message
...
If cell M6 is less than 37.5 then calculate the difference.



  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

Peo Sjoblom wrote...
=(37.5-M6)*(M6<37.5)

will retrun zero of condition is FALSE

....

OK, but why not

=MAX(0,37.5-M6)

?

  #5   Report Post  
skateblade
 
Posts: n/a
Default


And if it isn't then leave blank


"Richard Buttrey" wrote:

On Fri, 14 Oct 2005 09:52:17 -0700, "skateblade"
wrote:

If cell M6 is less than 37.5 then calculate the difference.


And if it isn't????


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________



  #6   Report Post  
skateblade
 
Posts: n/a
Default

Thanks, Both formulas worked but when we copy the cell down the sheet if the
others cells are blank, then the 37.5 apears until numbers are entered. Can
the formula be "hidden" so cell is blank?

"Harlan Grove" wrote:

Peo Sjoblom wrote...
=(37.5-M6)*(M6<37.5)

will retrun zero of condition is FALSE

....

OK, but why not

=MAX(0,37.5-M6)

?


  #7   Report Post  
Gord Dibben
 
Posts: n/a
Default

Difference between what?

Between 37.5 and current value?

=IF(M6<37.5, 37.5-M6, "not less")


Gord Dibben Excel MVP

On Fri, 14 Oct 2005 09:52:17 -0700, "skateblade"
wrote:

If cell M6 is less than 37.5 then calculate the difference.


  #8   Report Post  
Richard Buttrey
 
Posts: n/a
Default

On Fri, 14 Oct 2005 11:09:01 -0700, "skateblade"
wrote:


And if it isn't then leave blank


"Richard Buttrey" wrote:

On Fri, 14 Oct 2005 09:52:17 -0700, "skateblade"
wrote:

If cell M6 is less than 37.5 then calculate the difference.


And if it isn't????



=if(M6<37.5,M6-37.5,"")

Rgds
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #9   Report Post  
Harlan Grove
 
Posts: n/a
Default

"skateblade" wrote...
Thanks, Both formulas worked but when we copy the cell down the sheet
if the others cells are blank, then the 37.5 apears until numbers are
entered. Can the formula be "hidden" so cell is blank?

....

=IF(ISNUMBER(M6),MAX(0,37.5-M6),"")


  #10   Report Post  
skateblade
 
Posts: n/a
Default

Thank You, It didn't work. Is there a way of the cell can be blank when the
cell shows 37.5

"Richard Buttrey" wrote:

On Fri, 14 Oct 2005 11:09:01 -0700, "skateblade"
wrote:


And if it isn't then leave blank


"Richard Buttrey" wrote:

On Fri, 14 Oct 2005 09:52:17 -0700, "skateblade"
wrote:

If cell M6 is less than 37.5 then calculate the difference.

And if it isn't????



=if(M6<37.5,M6-37.5,"")

Rgds
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________

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
Why does Excel show a formula in ONE cell ? edpaul Excel Discussion (Misc queries) 1 August 12th 05 07:29 PM
Excel CHALLENGE...3 questions(indirect,rank,array formula)... Mlowry Excel Worksheet Functions 8 August 1st 05 07:34 AM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
How do I get the formula bar in excel 2003 unionhall Excel Discussion (Misc queries) 1 February 17th 05 10:10 AM
Suddenly Excel can't calculate formula!!! Bob H Excel Worksheet Functions 2 November 30th 04 08:35 PM


All times are GMT +1. The time now is 06:28 PM.

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

About Us

"It's about Microsoft Excel"