Excel Using If Function In Sql