View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_] Bob Phillips[_3_] is offline
external usenet poster
 
Posts: 2,420
Default Using IF and date ranges

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

--
__________________________________
HTH

Bob

"Romanli" wrote in message
...
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.