#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lehigh46
 
Posts: n/a
Default Between Dates

Hi All,

I have dates in A2, B2 & C2.
I need a formula in D2 which yeilds a number one if C2 falls between
A2 & B2

Can anyone help me.

Thanks very much

Tom Snyder
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Between Dates

Hi Tom

=IF(AND(C2=A2,C2<=B2),1,"")

--
Regards

Roger Govier


"lehigh46" wrote in message
...
Hi All,

I have dates in A2, B2 & C2.
I need a formula in D2 which yeilds a number one if C2 falls between
A2 & B2

Can anyone help me.

Thanks very much

Tom Snyder



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default Between Dates


Tom,

Assuming A2 is less than B2,

=IF(AND(C2A2,C2<B2),1,"")


HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=507786

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
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
PivotTables - Group Dates, excluding dates Todd1 Excel Discussion (Misc queries) 4 December 10th 05 05:06 PM
US dates to UK?? Bill Excel Worksheet Functions 4 December 8th 05 06:44 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM


All times are GMT +1. The time now is 09:11 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"