A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Between two dates



 
 
Thread Tools Display Modes
  #1  
Old December 10th, 2008, 02:47 PM posted to microsoft.public.excel.misc
jen-chi
external usenet poster
 
Posts: 7
Default Between two dates

I have three dates on the spreadsheet and I need to know if the third date is
within the parameters of the first two...

Column J = 03/21/07 (start date)
column K = 05/15/07 (end date)
column T = 03/06/07 (date to be checked)

I need a forumla that will tell me if the third date is within the first
two. Please help
  #2  
Old December 10th, 2008, 03:17 PM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default Between two dates

Try this:

=IF(AND(T1=J1,T1=K1),"within","outside")&" range"

This assumes the range includes the start and end dates, but if the
range is exclusive of these dates then you can use:

=IF(AND(T1J1,T1K1),"within","outside")&" range"

Hope this helps.

Pete

On Dec 10, 2:47*pm, jen-chi wrote:
I have three dates on the spreadsheet and I need to know if the third date is
within the parameters of the first two... *

Column J = 03/21/07 (start date)
column K = 05/15/07 (end date)
column T = 03/06/07 (date to be checked)

I need a forumla that will tell me if the third date is within the first
two. * *Please help


  #3  
Old December 10th, 2008, 03:24 PM posted to microsoft.public.excel.misc
Bernard Liengme
external usenet poster
 
Posts: 4,085
Default Between two dates

This will return TRUE or FALSE
=(AND(T1J1,T1K1)

This will return whatever text you want
=IF(AND(T1J1,T1K1),"OK,"Bad")

I have taken 'between' literally. So if T-date is exactly the same as
J-date you get false
You may wish to use
=(AND(T1=J1,T1=K1)
to include the two critical dates
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"jen-chi" wrote in message
...
I have three dates on the spreadsheet and I need to know if the third date
is
within the parameters of the first two...

Column J = 03/21/07 (start date)
column K = 05/15/07 (end date)
column T = 03/06/07 (date to be checked)

I need a forumla that will tell me if the third date is within the first
two. Please help



  #4  
Old December 10th, 2008, 03:25 PM posted to microsoft.public.excel.misc
RagDyeR
external usenet poster
 
Posts: 3,482
Default Between two dates

This returns True if between dates,
False if not:

=AND(T1=J1,T1=K1)

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"jen-chi" wrote in message
...
I have three dates on the spreadsheet and I need to know if the third date
is
within the parameters of the first two...

Column J = 03/21/07 (start date)
column K = 05/15/07 (end date)
column T = 03/06/07 (date to be checked)

I need a forumla that will tell me if the third date is within the first
two. Please help


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:30 AM.


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