Postgres Create If Function In Excel