Accounting for empty data when printing to excel