how about if() accepts a column name.