=?Utf-8?B?SmFtZXM=?= said:
Is there a way to easily convert a date to a fiscal quarter?
Eg 1/1/03 converted to Q1-2003, 12/7/98 to Q4-1998
Places I've worked liked to have fiscal quarters not lined up with calendar
months. For some reason, they wanted fiscal quarters to end on Fridays.
For this situation, you might want to use a lookup table.
In Sheet 2, put something like these entries in the upper left 8 cells:
04/03/2004 Q1-2004
07/03/2004 Q2-2004
10/02/2004 Q3-2004
01/01/2005 Q4-2004
In sheet 1, if you have a column of dates in column A, then in B1 put
=IF(A2<DATE(2005,4,2), VLOOKUP(A2,Book1!$A$1:$B$4,2,TRUE), NA())
and extend down the column.
Modify to meet your needs.