Hi
I am trying to create current and prior financial year formula based on end of month date
End of month Date : eg 30/9/2024 - Cell B1
Current Financial year : e.g 30/6/2025 - Cell B2
Prior Financial year : e.g 30/6/2024 - Cell B3
IF(AND(EOMONTH(B1,0)>=DATE(YEAR(B1),7,1),(EOMONTH(B1,0)<=DATE(YEAR(B1)+1,6,30))),DATE((YEAR(B1)+1),6,30,DATE((YEAR(B1)-1),6,30))
not sure how to fix it
Thank you
I am trying to create current and prior financial year formula based on end of month date
End of month Date : eg 30/9/2024 - Cell B1
Current Financial year : e.g 30/6/2025 - Cell B2
Prior Financial year : e.g 30/6/2024 - Cell B3
IF(AND(EOMONTH(B1,0)>=DATE(YEAR(B1),7,1),(EOMONTH(B1,0)<=DATE(YEAR(B1)+1,6,30))),DATE((YEAR(B1)+1),6,30,DATE((YEAR(B1)-1),6,30))
not sure how to fix it
Thank you