To export a file in Excel, open the workbook, go to File > Save As (or File > Export), choose a location and a file format such as .xlsx, .csv, .pdf or .txt, then click Save. The exact menu labels can differ slightly by Excel version, device and region, but the path is essentially the same on Windows, Mac and Excel for the web. Exporting matters because it turns your working spreadsheet into a file other people or systems can open without needing Excel, or into a fixed copy that will not change when formulas recalculate.

What You'll Need

  • Excel installed on a Windows PC or Mac, or a browser signed in to Excel for the web.
  • The workbook you want to export, saved at least once so you know where it lives.
  • Enough free disk space or cloud storage for the exported copy.
  • For PDF export, a PDF reader if you want to check the result.
  • For CSV export, awareness that only the active sheet is saved and formatting is lost.

Step-by-Step

  1. Open the workbook in Excel. Make sure you are looking at the sheet you want to export. For CSV, only the active sheet is exported, so click the correct tab first.
  2. Save your work first. Press Ctrl+S on Windows or Cmd+S on Mac. If the file is new, Excel will ask where to save it. This prevents losing edits during the export.
  3. Open the export options. Click File in the top-left corner, then choose Save As (or Save a Copy in newer versions) or Export. On Excel for the web, use File > Save As or File > Download a Copy. On Mac, the File menu contains Save As and Export.
  4. Choose where to save the exported file. Pick OneDrive, This PC, a local folder, or another location. For a quick share, a local folder such as Desktop or Documents is easiest to find later.
  5. Pick the file format. In the Save as type dropdown (called File Format on Mac), select the format you need:
    • Excel Workbook (.xlsx) for a normal editable copy.
    • CSV (Comma delimited) (.csv) for importing into another system. Only the active sheet is saved and formulas become values.
    • PDF (.pdf) for a fixed, printable copy that keeps layout.
    • Text (.txt) for plain tab-delimited data.
    • Excel 97-2003 (.xls) only if the recipient uses very old software.
  6. Name the file. Give it a clear name and avoid characters such as \ / : * ? " < > | which some systems reject.
  7. Click Save or Export. Excel writes the new file. If a compatibility checker appears, read it and click Continue only if you accept the listed changes.
  8. Verify the exported file. Open it from the location you chose. For PDF, check page breaks and print area. For CSV, open it in a text editor or re-import it to confirm columns and special characters survived.

Common Mistakes

  • Exporting the wrong sheet to CSV. CSV saves only the active sheet. Select the correct tab before saving, or export each sheet separately.
  • Expecting formatting in CSV. Colours, merged cells, formulas and multiple sheets are lost. Use .xlsx or .pdf if those matter.
  • Overwriting the original. Choosing the same name and format in the same folder replaces the source file. Add a suffix such as _export or choose a different folder.
  • Ignoring the compatibility checker. Saving to .xls or .csv can drop features. Read the warning before continuing.
  • Exporting a file that is still open elsewhere. A locked file may fail to save. Close other copies first.

Tips

  • Use File > Export > Create PDF/XPS on Windows for more control over page range and quality.
  • Set the print area before exporting to PDF so blank columns do not create extra pages.
  • For CSV, use Save As and pick CSV UTF-8 (Comma delimited) if your data contains accented characters or non-English text.
  • Keep the original .xlsx and export a copy; never edit the CSV as your master file.
  • On Excel for the web, Download a Copy gives you a local .xlsx; other formats may require the desktop app.

Troubleshooting

  • Save As is greyed out: the workbook may be read-only or opened from a protected view. Use File > Save a Copy or enable editing first.
  • Export fails with a sharing violation: close the file in other apps or on other devices, then retry.
  • CSV shows garbled characters: re-export as CSV UTF-8, or open the CSV with the correct encoding in the receiving program.
  • PDF has cut-off columns: adjust page orientation to Landscape, set Fit to Width, or define a print area before exporting.
  • Formulas appear as text in CSV: that is expected; CSV stores values, not formulas. Keep the .xlsx for formulas.
  • File will not open after export: confirm you chose the right format for the receiving app. A .csv renamed to .xlsx will not open correctly.

Frequently Asked Questions

Does exporting delete or change my original file?

No, exporting creates a new file. Your original workbook stays as it was, provided you do not overwrite it by choosing the same name and location.

Can I export only part of a worksheet?

Yes for PDF: select the range, then use File > Export > Create PDF/XPS and choose Selection. For CSV, copy the range to a new sheet and export that sheet.

Why does my CSV have only one sheet?

CSV is a single-table format by design. Export each sheet separately or use .xlsx to keep multiple sheets.

Can I export Excel to Google Sheets?

Save as .xlsx, then upload to Google Drive and open with Google Sheets. Formatting may shift slightly.

Is Excel for the web able to export PDF?

Excel for the web can download a copy as .xlsx. PDF export is generally done through the desktop app or the browser's print-to-PDF option, which may alter layout.

What is the difference between Save As and Export?

Save As changes the working file's name, location or format. Export creates a separate copy, often in PDF or another fixed format, while leaving the working file unchanged.