Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
giovannafurtadonunes
Contributor
Contributor

IF with or

what am i doing wrong?
he doesn't seem to accept the "or" condition

if ([NM_SERVICE] = '1º NIVEL CENTRAL CARTOES' or [NM_SERVICE] = '1 NIVEL CART PERDA ROUBO','Cartões Bancoob', 'Branco')
 

erro: missing right parenthesis

Labels (2)
2 Replies
Kushal_Chawda

try with match instead

if (match([NM_SERVICE] ,'1º NIVEL CENTRAL CARTOES' , '1 NIVEL CART PERDA ROUBO'),'Cartões Bancoob', 'Branco')

giovannafurtadonunes
Contributor
Contributor
Author

Thank you for your help!

I did in the script and it worked, I don't know why the error.