Hi
How can I can write an IF function where if the value in one column is equal to one of two values, say either A or B, then the value in the next column will change to the figure 1, and be 3 if it is not either to A or B?
I wrote this but I want to include "IE" along with GB.
Thank you
Solved! Go to Solution.
Hi there,
Try
IF [column of interest]="A" OR [column of interest]]="B" THEN "1" ELSE "3" ENDIF
You can write:
if [DestC] in ("GB","IE") then "3" ELSE "1" ENDIF
Hi @BillyL14
Also a good way of doing it would be
IF [DestC] IN ("GB", "IE") THEN "1" ELSE "3" ENDIF
This would work as well.
thanks to all for your help
User | Count |
---|---|
19 | |
15 | |
15 | |
9 | |
8 |