Formula Question: "IF" function with date

Solved/Closed
Kim - Sep 22, 2016 at 01:27 PM
 Kim - Sep 22, 2016 at 03:09 PM
I am attempting to create a formula that will enter "Yes" into cell P1 if: the date in Cell E1 is before 07/31/16 AND the date in cell B1 is after 07/30/16.

Thanks in advance!

1 response

Mazzaropi Posts 1985 Registration date Monday August 16, 2010 Status Contributor Last seen May 24, 2023 147
Sep 22, 2016 at 03:02 PM
Kim, Good afternoon.

Try to use:

P1 -->
=IF(AND(B1>DATEVALUE("07/30/2016"), E1<DATEVALUE("07/31/2016")),"Yes","")

Is this what you want?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
0
Perfect! Thank you!
0