G
Guest
Hi,
I have the following spreadsheet:
Cell A1: Last Month In Financial Year
Cell B1: 3
Cells A3 - A999 : various dates in the format dd/mm/yyyy
What I am trying to do is extract the Period number for each date. The
Period is related to the Month of each date, but varies depending on the
value in Cell B1.
So, using the above example, Cell B1 = 3 which mean that the last month in a
financial year is MARCH. Therefore, if a date in Cells A3-A999 is in April,
then the associated period = 1, if in May then = 2 etc.
Would like to avoid writing a custom function as I am sure that there must
be a way to use existing formulas to calculate the periods.
Suggestions?
I have the following spreadsheet:
Cell A1: Last Month In Financial Year
Cell B1: 3
Cells A3 - A999 : various dates in the format dd/mm/yyyy
What I am trying to do is extract the Period number for each date. The
Period is related to the Month of each date, but varies depending on the
value in Cell B1.
So, using the above example, Cell B1 = 3 which mean that the last month in a
financial year is MARCH. Therefore, if a date in Cells A3-A999 is in April,
then the associated period = 1, if in May then = 2 etc.
Would like to avoid writing a custom function as I am sure that there must
be a way to use existing formulas to calculate the periods.
Suggestions?