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 / December 2007

Tip: Looking for answers? Try searching our database.

@if Function with date ranges

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aaron Tech - 19 Dec 2007 03:58 GMT
Hi,

I am wondering how to write this formula.

If a cel A1 is a date format.  And I want to use @if to say: if A1 is
between October 15st and December 10th,  do this formula, otherwise do this
formula.

I have the following @if syntax as a guide:

=IF(A1 is between October 15th and December 10th, (this function),(that
function))

Thanks
carlo - 19 Dec 2007 04:29 GMT
> Hi,
>
[quoted text clipped - 10 lines]
>
> Thanks

=IF(AND(A1>DATE(2007,10,15),A1<DATE(2007,12,10)),YourFormula1,YourFormula2)

hth

Carlo

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.