I have dates listed in Column A and I want to convert them to Phases in Column B; e.g. if the date is >= 5 Feb 2024 is equal to Phase 1 & if the date is >= 1 March 2024 is equal to Phase 2 and so on.
So far I've used this formula:
=IFERROR(ARRAYFORMULA(IFS(A:A<>"", IF(A:A >= DATE(2024,2,5), "Phase 1",IF(A:A >= DATE(2024,3,1), "Phase 2",IF(A:A >= DATE(2024,4,6), "Phase 3",IF(A:A >= DATE(2024,5,4), "Phase 4",IF(A:A >= DATE(2024,6,8), "Phase 5",IF(A:A >= DATE(2024,7,6), "Phase 6",IF(A:A >= DATE(2024,8,10), "Phase 7")))))))) ),"")
The problem with this formula is it always return Phase 1 no matter what the dates are. I have tried changing the Date format in column A but to no avail.
I'm open to any other method to group the date ranges into phases.