Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
ameydiwanji
Contributor III
Contributor III

How to use if statement with multiple conditions

Hi,

I am creating a calculated field and using the below if statement to create additional column in my file with new value based on pre-existing value in other column

If(match([New ARN Code]='ARN-9760' OR 'ARN-41778'),'CBC'),'0'

when i am using single condition the function is working, but as i added one more condition to it, there is error:

Missing right parenthesis.

2 Replies
swuehl
MVP
MVP

The match should look like

Match(FIELD, 'Value1','Value2','Value3','ValueN')

and will return 0 when no match is found or the index of the listed values (first match).

ameydiwanji
Contributor III
Contributor III
Author

Hey Stefan,

Thanks for the solution. It worked