Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Using IF and date ranges

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If and Date Ranges Romanli Excel Worksheet Functions 1 July 25th 08 04:42 AM
date ranges Carolina Girl Excel Worksheet Functions 3 May 9th 08 10:07 PM
compare date to various date ranges and sum value al Excel Worksheet Functions 2 January 10th 07 10:17 AM
If then Date Ranges Mark B Excel Worksheet Functions 0 November 30th 05 05:49 PM
sum of date ranges Tanya Excel Worksheet Functions 1 January 4th 05 04:11 AM


All times are GMT +1. The time now is 04:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"