If Function with TODAY.

blushikari

New Member
Joined
Aug 16, 2017
Messages
5
Hello I am not very good with IF functions especially if they are nested. Could someone help me with this.



My current formula in cell o9 is =IF(N9<TODAY(),1,) so that o9 returns a value of 1

I have the same in P9 but saying IF(N9>TODAY(),1,)) so that P9 returns a value of 0.

However I want both these formulas to have another rule (I think it would be IF (and( rule. Basically stating that if another cell in this case L9 says Yes in the box then 09 becomes 0 and not 1 , and if it says NO it will have no impact it will continue to say 1.

Then a new formula in Q9 that says if L9 says yes then Q9 will return a value of 1 and if it says No it will return a value of 1.



Can anyone help me with this If function.



Thank you
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hia & welcome to MrExcel
I can't see what your formula is in O9, but using your formula in P9
=IF(AND(N9>TODAY(),L9="NO"),1,)
 
Upvote 0

Forum statistics

Threads
1,216,076
Messages
6,128,670
Members
449,463
Latest member
Jojomen56

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