Export data in Excel

Can we export script data in excel sheet ??