Calculate IF AND formula only is cell is not blank

4lauriet

New Member
Joined
May 4, 2016
Messages
2
Hi all!

I am trying to return one number if an cell is greater than an amount and another if it is less than and generate nothing if the cell is blank.

I have tried several manipulations of this and I just cant seem to get it right.

Here are the stats

If E2 is blank return " "
If E2 <=9000, return 200
If E2 >9000, return 100

This is what I tried last to no avail:

=IF(isblank(e2)," ",IF(AND((E2>0,E2<=9000),200,100)))
 
Try this:

=IF(ISBLANK(e2),"",IF(e2<=9000,200,100))
 
Last edited:
Upvote 0
Still returning 100 if cell is blank. I think I realize what the problem is (maybe). I just now realized I'm in google sheets. I have been digging so hard thinking I was in excel. (I didn't have enough coffee this morning maybe??)
 
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