To some time to analyse ist
In the lookup the problem is caused by taking the year from the prevoious week. while the lookup formula starts with 4 and has 9 added on jan fith that pushes the date 13 months ahead from 2018 which is jan 20.
You would need another test that when the calander year changes over, you need to reduce year(n5) by 1 to compensate for adding 9 to 4.
But to be honest I think the formula looks overcomplated. I like formula's that work always without manual intervention but in this case I would use a simple lookup table because every fiscal year is normally kept in separate sheets so some yearly setup is acceptable if it greatly simplefy a formula. The rules for fiscal year are standard each year all that changes is the year and the weekday it starts on. when you have this table setup all you need to do once a year is change the fiscal year in a fixed cell to update the table.
then a simple lookup would find the fiscal month
this is my formula
see attachment for the table in T:V columns.
Bookmarks