Help

Re: Formula IF or Switch with multiple values

Solved
Jump to Solution
1905 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Slim_BENAZIZA
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello,

I have a table with fields like this :

 

Screenshot 2023-03-30 11.58.28.png

The "First char" field is a formula that return the first character UPPER of the "First name" field.

 

Screenshot 2023-03-30 12.07.04.png

 

Then, the field "check" is used to filter a view from A to E. So i need a formula that show "OK" if the "First char" field contain A or B or C,,,,,,,,,E or else it will show "KO"

Any ideas how to do it ?

 

Thanks.

1 Solution

Accepted Solutions
AirOps
7 - App Architect
7 - App Architect

Hi @Slim_BENAZIZA 

try this formula: 

IF(ISERROR(REGEX_EXTRACT({First char},"[A B C D E]"))=1, "KO", "OK")
 
I hope this helps!

See Solution in Thread

2 Replies 2
AirOps
7 - App Architect
7 - App Architect

Hi @Slim_BENAZIZA 

try this formula: 

IF(ISERROR(REGEX_EXTRACT({First char},"[A B C D E]"))=1, "KO", "OK")
 
I hope this helps!

Thank you so much !

 

Yes ! this solve my problem. And this formula works.