You can import a Microsoft Excel worksheet into Confluence in multiple ways:
You can import it with the Excel macro. For instructions, refer to the Excel for Confluence documentation:
https://bobswift.atlassian.net/wiki/spaces/XL/pages/10354691/Excel+Macro
An example follows.
As a test, the second row was colored yellow in Excel. The color is not rendered in Confluence.