S
StargateFanNotAtHome
This one here is another one that turned out to be too complicated for
me to figure out. I have two columns in worksheet. In column A I
have to manually type in the fiscal start and end years (as seen
below). The formulas in B automate the rest of B and they're all in
this type of configuration:
=IF(A2<>"",TEXT(DATE(LEFT(A2,4),4,1),"mmm.dd.yyyy\-") & TEXT(DATE(LEFT
(A2,4)+1,4,0),"mmm.dd.yyyy"),"")
(code kindly provided to me by members of this great group some months
or even years back).
Col. A Col. B
2000-2001 Apr.01.2000-Mar.31.2001
2001-2002 Apr.01.2001-Mar.31.2002
2002-2003 Apr.01.2002-Mar.31.2003
2003-2004 Apr.01.2003-Mar.31.2004
2004-2005 Apr.01.2004-Mar.31.2005
2005-2006 Apr.01.2005-Mar.31.2006
2006-2007 Apr.01.2006-Mar.31.2007
2007-2008 Apr.01.2007-Mar.31.2008
I was hoping to automate this even further so that I need to enter
only _one_ fiscal year in yyyy-yyyy format. Though since I need to
modify this workbook, I'd actually now place this formula in an
entirely different cell now, in C1.
Was hoping to get Excel then to show the dates for the previous 5
fiscal years and the following 5 fiscal years in relation to the date
put in C1. Since the format for the cells deals with two dates, via
yyyy-yyyy, that's why I haven't been able to fix this even though I've
spent quite some time searching the archives here.
Would something along the lines of a modified C1+1 to increment the
fiscal years in yyyy-yyyy work or is there a fancy formula
configuration to use <g>? If it's along the lines of C1+1, then I'd
just use that for the rest of the cells in Column A (i.e., C1+2, C1+3,
C1+4 ... ?).
As long as the dependent formula,
=IF(A2<>"",TEXT(DATE(LEFT(A2,4),4,1),"mmm.dd.yyyy\-") & TEXT(DATE(LEFT
(A2,4)+1,4,0),"mmm.dd.yyyy"),"")
still works, anything goes that's "legal", I guess (?).
Thanks for any help re this! D
me to figure out. I have two columns in worksheet. In column A I
have to manually type in the fiscal start and end years (as seen
below). The formulas in B automate the rest of B and they're all in
this type of configuration:
=IF(A2<>"",TEXT(DATE(LEFT(A2,4),4,1),"mmm.dd.yyyy\-") & TEXT(DATE(LEFT
(A2,4)+1,4,0),"mmm.dd.yyyy"),"")
(code kindly provided to me by members of this great group some months
or even years back).
Col. A Col. B
2000-2001 Apr.01.2000-Mar.31.2001
2001-2002 Apr.01.2001-Mar.31.2002
2002-2003 Apr.01.2002-Mar.31.2003
2003-2004 Apr.01.2003-Mar.31.2004
2004-2005 Apr.01.2004-Mar.31.2005
2005-2006 Apr.01.2005-Mar.31.2006
2006-2007 Apr.01.2006-Mar.31.2007
2007-2008 Apr.01.2007-Mar.31.2008
I was hoping to automate this even further so that I need to enter
only _one_ fiscal year in yyyy-yyyy format. Though since I need to
modify this workbook, I'd actually now place this formula in an
entirely different cell now, in C1.
Was hoping to get Excel then to show the dates for the previous 5
fiscal years and the following 5 fiscal years in relation to the date
put in C1. Since the format for the cells deals with two dates, via
yyyy-yyyy, that's why I haven't been able to fix this even though I've
spent quite some time searching the archives here.
Would something along the lines of a modified C1+1 to increment the
fiscal years in yyyy-yyyy work or is there a fancy formula
configuration to use <g>? If it's along the lines of C1+1, then I'd
just use that for the rest of the cells in Column A (i.e., C1+2, C1+3,
C1+4 ... ?).
As long as the dependent formula,
=IF(A2<>"",TEXT(DATE(LEFT(A2,4),4,1),"mmm.dd.yyyy\-") & TEXT(DATE(LEFT
(A2,4)+1,4,0),"mmm.dd.yyyy"),"")
still works, anything goes that's "legal", I guess (?).
Thanks for any help re this! D