Link to home
Start Free TrialLog in
Avatar of route217
route217Flag for United Kingdom of Great Britain and Northern Ireland

asked on

error in iif formula

Hi Experts

I cannot see my error here.....

Status: iif(Step 10 Status="Closed", Step 10 Name,iif(Step 9 Status="Closed", Step 9 Name,iif(Step 8 Status="Closed", Step 8 Name,iif(Step 7 Status="Closed", Step 7 Name,iif(Step 6 Status="Closed", Step 6 Name,iif(Step 5 Status="Closed", Step 5 Name,iif(Step 4 Status="Closed", Step 4 Name,iif(Step 3 Status="Closed", Step 3 Name,iif(Step 2 Status="Closed", Step 2 Name,iif(Step 1 Status="Closed", Step 1 Name,"Auto-rejected")
SOLUTION
Avatar of omgang
omgang
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of route217

ASKER

The expression you have entered is missing a parenthesis, bracket([), or vertical bar(|)
Many thanks experts nailed it
You open a lot of brackets but have no closing brackets :

Status: iif(Step 10 Status="Closed", Step 10 Name,iif(Step 9 Status="Closed", Step 9 Name,iif(Step 8 Status="Closed", Step 8 Name,iif(Step 7 Status="Closed", Step 7 Name,iif(Step 6 Status="Closed", Step 6 Name,iif(Step 5 Status="Closed", Step 5 Name,iif(Step 4 Status="Closed", Step 4 Name,iif(Step 3 Status="Closed", Step 3 Name,iif(Step 2 Status="Closed", Step 2 Name,iif(Step 1 Status="Closed", Step 1 Name,"Auto-rejected"))))))))))