I'm trying to use the Formula Tool to do a nested If statement so I can input from the left column and get the output like the right one (see below).
| Gross Receipts | LLC Fee |
| <250,000 | - |
| | |
| <499,999 | 900 |
| | |
| <999,999 | 2,500 |
| | |
| <4,999,999 | 6,000 |
| >5,000,000 | 11,790 |
The if statement I wrote is "IF [Cash Rent] > 5000000 THEN 11790 ELSE if [Cash Rent] > 1000000 THEN 6000 ELSE IF [Cash Rent] >500000 THEN 2500 ELSE IF [Cash Rent] > 250000 THEN 900 ELSE 0 ENDIF" but Alteryx is giving me a "Malformed If Statement".
Can someone tell me what's wrong? Thank you!!