Excel IF Function with AND and empty cell

zoog25

Active Member
Joined
Nov 21, 2011
Messages
418
Hello all,

I'm trying to write an IF state for a situation i'm looking into.

I have a Cell AQ3 in which i'm entering an if state. Here is the criteria for the if state.

1) It checks if a date stored in S3 - Today() date <> 0
2) It checks to see if cell AG3 is empty

Now the issue here is that there are a few conditions.
1) IF S3-Today() >= 0 But AG3 is empty then AQ3 = "Active"
2) IF S3-Today() >= 0 But AG3 is not empty then AQ3 ="Done"
3) IF S3-Today() <= 0 But AG3 is empty then AQ3 = "Expired"
4) IF S3-Today() <= 0 But AG3 is not Empty then AG3 = "Done"

I don't know if it is possible to do the above but please let me know how i can do this.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try

=IF(AG3="",IF(S3-TODAY()>=0,"Active","Expired"),"Done")
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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