Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2007

Tip: Looking for answers? Try searching our database.

extract date between a given time frame

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
B - 03 Apr 2007 20:54 GMT
I have the following problem:

If a certain date falls within a certain time frame (e.g. 03/04/07 falls
within 01/01/07 till 31/12/07), than cell should display "Yes"; If it
doesn't, exel cell should display "No".

How to do this (I'm new on the block)?
Thanks
Peo Sjoblom - 03 Apr 2007 21:18 GMT
=IF(A2="","",IF(AND(A2>=B2,A2<=C2),"Yes","No"))

where A2 holds the date you want to test for and B2 hold the lower date
limit and C2 the upper

Signature

Regards,

Peo Sjoblom

>I have the following problem:
>
[quoted text clipped - 4 lines]
> How to do this (I'm new on the block)?
> Thanks

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.