#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default If statement

Hi All

I have an IF statement for a list of dates. I want to a criteria that is
between 2 dates

If A1 is between 12.3.06 and the 15.3.06

I have tried various combinations and checked the help but the only one I
cant find is between

Can anyone help (it is Excel 2002)

any suggestions greatly appreciated

Rexmann

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default If statement

Hi

=AND(A1=DATE(2006,3,12),A1<=DATE(2006,3,15))

--
Regards

Roger Govier


"rexmann" wrote in message
...
Hi All

I have an IF statement for a list of dates. I want to a criteria that
is
between 2 dates

If A1 is between 12.3.06 and the 15.3.06

I have tried various combinations and checked the help but the only
one I
cant find is between

Can anyone help (it is Excel 2002)

any suggestions greatly appreciated

Rexmann



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default If statement

Hi Roger

Nice one - thank you for your help, much appreciated

Cheers Rexmann


"Roger Govier" wrote:

Hi

=AND(A1=DATE(2006,3,12),A1<=DATE(2006,3,15))

--
Regards

Roger Govier


"rexmann" wrote in message
...
Hi All

I have an IF statement for a list of dates. I want to a criteria that
is
between 2 dates

If A1 is between 12.3.06 and the 15.3.06

I have tried various combinations and checked the help but the only
one I
cant find is between

Can anyone help (it is Excel 2002)

any suggestions greatly appreciated

Rexmann




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
SQL concatenation statement CLamar Excel Discussion (Misc queries) 0 June 29th 06 01:58 PM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 05:47 PM
If Statement linked to cell with VLOOKUP problem - getting wrong v Mike R. Excel Worksheet Functions 4 January 14th 06 03:16 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


All times are GMT +1. The time now is 02:16 PM.

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"