Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ADK ADK is offline
external usenet poster
 
Posts: 89
Default if between two dates

B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default if between two dates

=IF(AND(A3=B1,A3<=B2),"x","")

Enter the above formula in cell B3. That should work.

Bill

"ADK" wrote:

B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default if between two dates

=IF(AND(A3=B1,A3<=B2),"X","")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"ADK" wrote in message
...
B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default if between two dates

=IF(AND(A3=B1,A3<=B2),"X","")
--
David Biddulph

"ADK" wrote in message
...
B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default if between two dates

Try this
=IF(AND(A3=B1,A3<=B2),"X","")

Mike


"ADK" wrote:

B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default if between two dates

On Apr 12, 12:09 pm, "ADK" wrote:
B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK


ADK,

Here's one way to approach your problem and its fairly simple:
in B3 you type this formula
=if(and(a3=b1,a3<=b2),"X","")

Regards...AJ

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
Identifying unique dates in a range of cells containing dates... cdavidson Excel Discussion (Misc queries) 4 October 13th 06 03:30 PM
Identifying unique dates within a range of cells containing dates cdavidson Excel Discussion (Misc queries) 0 October 12th 06 08:19 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 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
Charting data against dates where dates are not at fixed intervals PK Charts and Charting in Excel 4 June 16th 05 05:08 AM


All times are GMT +1. The time now is 05:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"