If Formula returns true statement if cell is blank

lhaitken

New Member
Joined
Oct 23, 2011
Messages
25
Hi guys. Got a problem with an If formula.

in cell B11 i've got number of hours worked. and then in p11 i've got a formula that i want to return a certain set of data. Something like this.

=If(B11=0,"RESET DAY","")

this works fine but if the cell is blank then it still returns "RESET DAY". Any help would be great. Thanks.
-Larry
 
Hi guys. Got a problem with an If formula.

in cell B11 i've got number of hours worked. and then in p11 i've got a formula that i want to return a certain set of data. Something like this.

=If(B11=0,"RESET DAY","")

this works fine but if the cell is blank then it still returns "RESET DAY". Any help would be great. Thanks.
-Larry

If you want to return "RESET DAY" whenever B11 is a number, including a zero, try:

=IF(ISNUMBER(B11),"RESET DAY","")

Is this what you intend?
 
Upvote 0
you could use ISBLANK()
something like
=IF(AND(B11=0,NOT(ISBLANK(B11))),"RESET DAY","")

Mrhopko
 
Upvote 0

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