I am trying to create groups for different tenure categories, but I keep getting an error on my IF statements to create the groups. I have tried multiple iterations to fix this, but below is the most recent.
I get an error saying "Error: Formula (3): Parse Error at char(61): Malformed If Statement (Expression #1)" I'm new to Alteryx so any help would be greatly appreciated!
IF [Tenure]>'4' AND [TENURE]<'13' THEN "4-12 MONTHS"
ELSE IF [Tenure]>'12' AND [TENURE]<'25' THEN "13 - 24 MONTHS"
ELSE IF [Tenure]>'24' THEN "25 + MONTHS"
ENDIF