Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I hope someone can help me. I would like to create an IF function for dates in my worksheet. I have a Start Date column and End Date column. If the date in the Start Date and End Date falls within the Fiscal Year(06), then I want to display a 1, otherwise a 0(zero). A1=7/01/06 (Start Date); B1=6/30/10 (End Date) FY06 is from 7/1/2005 to 6/30/2006 What I have in C1 is =IF(AND(A1=7/1/2005,B1<=6/30/2006),1,0) My result for FY06 is 0, but that's not correct because the End Date is not until 12/31/2010, so it falls within the FY06. I want this formula to do the same for FY07, FY08, and FY09. Can someone help? Thanks in Advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Dates with the IF function | Excel Discussion (Misc queries) | |||
need a function (UDF) return X if 2 dates fall between 2 other dates | Excel Worksheet Functions | |||
If Function with Dates | Excel Worksheet Functions | |||
Using IF Function on Dates | Excel Discussion (Misc queries) | |||
if function with dates | Excel Discussion (Misc queries) |