Your request is not very clear. What is it that you are attempting to do? Are you wanting to take data from a tableau workbook and export this to an excel document?

You can always right-click a header and choose 'view underlying data' then choose 'underlying data' and then choose 'export'. Alternatively you have the option to export data to a crosstab from the worksheet menu at the top of the workbook. Workbook -> Export -> Export crosstab to Excel.

If you want your end users to have this on tableau server/tableau online as an option you are able to use blog which will help you immensely.