Hi guys,
Im having some difficulty formatting a 2 digit financial year.
I currently have a column for the installation date --> which contains either just a month, or a specific date
and a column for financial year --> this contains this equation:
=IFS([@[Inst''n Completed]]="TBC","TBC",[@[Inst''n Completed]]=""," ",ISNUMBER([@[Inst''n Completed]]),YEAR([@[Inst''n Completed]])+(MONTH([@[Inst''n Completed]])>=7),OR([@[Inst''n Completed]]="January",[@[Inst''n Completed]]="February",[@[Inst''n Completed]]="March",[@[Inst''n Completed]]="April",[@[Inst''n Completed]]="May",[@[Inst''n Completed]]="June",[@[Inst''n Completed]]="July",[@[Inst''n Completed]]="August",[@[Inst''n Completed]]="September",[@[Inst''n Completed]]="October",[@[Inst''n Completed]]="November",[@[Inst''n Completed]]="December"),"TBC")
basically what this equation is:
- if the cell contains "TBC", the financial year will be "TBC"
- if the cell contains any month, the financial year will be "TBC"
- if the cell contains a full date (dd/mm/yy), the financial year is calculated like in the equation
When I try to format the financial year column to display just "19" instead of "2019", it gives me "05" instead.. not sure whats going on but i cant seem to find anything to solve this.. or if anyone knows a way to shorten the above equation, im all ears!
Thank you!
Im having some difficulty formatting a 2 digit financial year.
I currently have a column for the installation date --> which contains either just a month, or a specific date
and a column for financial year --> this contains this equation:
=IFS([@[Inst''n Completed]]="TBC","TBC",[@[Inst''n Completed]]=""," ",ISNUMBER([@[Inst''n Completed]]),YEAR([@[Inst''n Completed]])+(MONTH([@[Inst''n Completed]])>=7),OR([@[Inst''n Completed]]="January",[@[Inst''n Completed]]="February",[@[Inst''n Completed]]="March",[@[Inst''n Completed]]="April",[@[Inst''n Completed]]="May",[@[Inst''n Completed]]="June",[@[Inst''n Completed]]="July",[@[Inst''n Completed]]="August",[@[Inst''n Completed]]="September",[@[Inst''n Completed]]="October",[@[Inst''n Completed]]="November",[@[Inst''n Completed]]="December"),"TBC")
basically what this equation is:
- if the cell contains "TBC", the financial year will be "TBC"
- if the cell contains any month, the financial year will be "TBC"
- if the cell contains a full date (dd/mm/yy), the financial year is calculated like in the equation
When I try to format the financial year column to display just "19" instead of "2019", it gives me "05" instead.. not sure whats going on but i cant seem to find anything to solve this.. or if anyone knows a way to shorten the above equation, im all ears!
Thank you!