excel formula

  • Thread starter Thread starter Guest
  • Start date Start date
If cell M6 is less than 37.5 then calculate the difference.

And if it isn't????


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
=(37.5-M6)*(M6<37.5)

will retrun zero of condition is FALSE

Regards,

Peo Sjoblom
 
And if it isn't then leave blank


Richard Buttrey said:
And if it isn't????


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
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?
 
Difference between what?

Between 37.5 and current value?

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


Gord Dibben Excel MVP
 
And if it isn't then leave blank


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

Rgds
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
skateblade said:
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),"")
 
Thank You, It didn't work. Is there a way of the cell can be blank when the
cell shows 37.5
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top