Hi Team,
I need help.
i have a column with null and 0 and i need to replace both of them with 1.
can you please help?
thanks
Sri
Hi,
The IF function that you need to use is
IIF(isnull([Col1]) OR [Col1]=0,1,[Col1])
OR alterynativly diffrent syntax
IF isnull([Col1]) OR [Col1]=0 THEN 1 ELSE [Col1] ENDIF
Hey Sri,
You can apply a conditional formula with the formula tool.
For instance:
IF [Col1] = Null()OR [Col1] = 0THEN 1ELSE [Col1]ENDIF
Kind regards,
Alexandre
Hi @Emil_Kos ,
Thank you so much for the help.
Cheers,
Hi @AlexandreBall,
Thank you for posting your solution.
I didn't know that you can write this condition as [Col1] = Null(). I always written IsNull([Col1]) 😀