Hello Everyone,
Is there a formula for multiple values I set to equal "Success"? ( put several values like "1234" which would be equal to "Success") please
thank you in advance,
Best regards,
Hello Everyone,
Is there a formula for multiple values I set to equal "Success"? ( put several values like "1234" which would be equal to "Success") please
thank you in advance,
Best regards,
Best answer by Ben_Young1
Hey @Philippe_Creve_!
One way of accomplishing this would be to use the OR() function.
Here's an example:
IF(
OR(
{Numbers} = 1234,
{Numbers} = 5021,
{Numbers} = 5960
),
"Success",
"Wrong Number"
)
This formula will evaluate the Numbers field against the three statements defined inside the OR() function.
If any of those statements returns true, then the success value will be returned from the parent IF() function.
If you're only looking for a reasonable number of possible combinations, then all you have to do is write each statement within the OR() function to fit your needs.
Depending on just how many possible number combinations should return the "Success" string, there's a point where you'll need to work smarter and not harder by using other methods. Let me know if you find yourself having to type out a huge number of statements and I'd be happy to provide you another solution.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.