Unable to export large data to Excel. What could be the reason?

Unable to export large data to Excel. What could be the reason?

The Excel report fails to generate if either the columns in the Excel exceed 255 or rows exceed 65,000. When the Excel file crosses this limit, the relevant error message is displayed.