How can I generate separate excel reports based on a conditional entry?