I'm trying to set up a calculated field on a request form that outputs a specific date based on a Fiscal Quarter value selected in another field. I have a drop-down field on a request form called P - Estimated Quarter to Start where the requester can choose Q1, Q2, Q3, or Q4. In my calculation, I want to determine an actual date for the quarter value chosen. For example, if the requester chooses Q1, I want my calculated field to return a date of February 1, 2021.
Here is the calculated expression I wrote, but it doesn't seem to be working:
IF(CONTAINS("Q1",{DE:P - Estimated Quarter to Start}),DATE(3/12021),IF(CONTAINS("Q2",{DE:P - Estimated Quarter to Start}),DATE(5/1/2021),IF(CONTAINS("Q3",{P - Estimated Quarter to Start}),DATE(8/1/2021),IF(CONTAINS("Q4",{DE:P - Estimated Quarter to Start}),DATE(11/1/2021)))))
Any ideas for what I'm doing wrong? Am I using the wrong combination of expressions? Do I have a syntax error?
Thanks in advance for the help!
Tiffany