finished download to excel with proper formatting