This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Hi All,
Greetings for the day.
I have used IF function as below..
IF [Per Person Expense] <='25' THEN 'Yes' ELSE 'No' ENDIF
However in the output I am getting result as No for an expense which is less than 25. Ideally this should be Yes as per the formula.
Attached is an example.
Please help.
Thank you.
Solved! Go to Solution.
I'm guessing that the data type for [Per Person Expense] is a string, which means that <> would work like a dictionary sort.
Try tonumber([Per person Expense]) <= 25
you have to remove the quotes around 25, as @sean_bolte_dup_544 showed
Thank you very much @sean_bolte
Thankyou @DavidP