You have to test them all
if [col_name]=1 or [col_name]=2 or [col_name]=8 or [col_name]=19 or [col_name]=25 or [col_name]=31 then 0 else ""
or maybe you could use a list to be more Excel-like
if List.Contains({1, 2, 8, 19, 25, 31}, [col_name]) then 0 else ""
Bookmarks