Using IF and date ranges

R

Romanli

I am trying to find information that meets the following criteria:

If n2is between 07/01/2008 and 07/23/2008 and 02 is between 08/01/2008 and
08/31/2008 then the answer is yes

I really want to highlight the row with this information, but a simple yes
or no in a new column would be fine.
 
B

Bob Phillips

=IF(AND(N2>=--"2008-07-01",N2<=--"2008-01-23,O2>=--"2008-08-01",O2<=--"2008-08-31"),"Yes,"No")
 
Top