Excel Add Column Based On Condition In Sql