Convert Dataframe To Excel Using Multiple If Statements