You need to sign in to do that
Don't have an account?
ritu vyas
How to use contains function correctly
Tried using contain as per below but not sure why it is not returning correct value
this is returning F when running it on 15.03.2020 , whereas the excepted result is T since its 3rd month and is in the list
IF((CONTAINS(TEXT(MONTH(TODAY())), "1:3:5:7:8:10:12")),"T" , "F")
this is returning F when running it on 15.03.2020 , whereas the excepted result is T since its 3rd month and is in the list
IF((CONTAINS(TEXT(MONTH(TODAY())), "1:3:5:7:8:10:12")),"T" , "F")
Just swap the values like this
If we think of Contains formula from basic concept:
CONTAINS(text, compare_text)
CONTAINS will return TRUE if "compare_text" is found in "text" and FALSE if not.
If we look at your format, you are looking for 1:3:5:7:8:10:12" in the Today field - so you are looking for a list in a single digit
If we twist the formula:
this way we are looking for a single digit in a list of digits
HTH
AndrewG