Thursday, February 3, 2022

Export to excel from sharepoint

In SharePoint or the Lists app, export list items shown in the current view to Excel so that you can work with the data in a workbook.

You can export to either:

  • Excel workbook    The data has a one-way connection to the original list. Periodically refreshing the workbook will pull in changes that have been made in the list.

  • CSV (comma-separated values) file   It can be opened in Notepad or Excel. The data is not connected to the original list. (On a Mac, exporting to CSV is the only available option.)

Export to an Excel workbook

  1. From the command bar of the list, select Export > Excel Workbook.

    The Export options for a SharePoint list.

    Important: The Export options are available only when list items are not selected.

    Depending on your browser, you can save and open, or open the file directly.

    Note: If you save the file, the default file name for the first copy is query.iqy, and it is placed in the default download folder for your browser. To change the name and location, use your browser's Save as.

  2. If needed, select OK > Open after the file download begins.

  3. If prompted and you trust the SharePoint site, in the Excel security page, select Enable.

  4. In the Excel Import Data dialog box, select the How you want to view this data and Where do you want to put the data options.

    Import data dialog box from Excel 2016
  5. When done, select OK. The list should appear in Excel.

    Excel spreadsheet with imported list and Refresh All button highlighted.

Excel creates an Excel table with a one-way data connection based on a web query file. To bring a fresh copy of the SharePoint list to Excel, select Refresh All on the Data tab. Changes made to Excel table will not be sent to the SharePoint list.

If your SharePoint list contains folders, the folder structure does not appear in the resulting Excel table. However, the Item Type and Path columns are added to the Excel table so you can filter and sort the data, based on its type and location or subfolder of the list.

Export to a CSV file

  1. Open the list whose data you want to export.

  2. From the command bar above the list, select Export, then select either Excel Workbook or CSV as the type of data output.

    (On a Mac, select Export to CSV.) 

    Note: The Export option is available only when list items are not selected.

  3. Select Open to open the file in Excel. Then you can save the file as an Excel workbook, which allows you to add format the data as you like.

    Alternatively, select Save as to save the file in .csv format on your computer. 

  1. From the command bar of the SharePoint list, select Export to Excel  Lists Export To Excel Icon.

    Important:  Export to Excel is available only when list items are not selected.

    The classic SharePoint experience shows a ribbon above the list, not a command bar. Select the List tab on the ribbon, and then select Export to Excel.

    SharePoint Export to Excel button on ribbon highlighted

    Depending on your browser, you can save and open, or open the file directly.

    Note: If you save the file, the default file name for the first copy is query.iqy, and it is placed in the default download folder for your browser. To change the name and location, use your browser's Save as.

  2. If needed, select OK > Open after the file download begins.

  3. If prompted and you trust the SharePoint site, in the Excel security page, select Enable.

  4. In the Excel Import Data dialog box, select the How you want to view this data and Where do you want to put the data options.

    Import data dialog box from Excel 2016
  5. When done, select OK. The list should appear in Excel.

    Excel spreadsheet with imported list and Refresh All button highlighted.

Excel creates an Excel table with a one-way data connection based on a web query file. To bring a fresh copy of the SharePoint list to Excel, select Refresh All on the Data tab. Changes made to the Excel table will not be sent to the SharePoint list.

If your SharePoint list contains folders, the folder structure does not appear in the resulting Excel table. However, the Item Type and Path columns are added to the Excel table so you can filter and sort the data, based on its type and location or subfolder of the list.

Additional resources

To export data from Excel to SharePoint, see:

1 comment:

  1. This has to be one of the most intelligent web contents I've come across in recent times. The style and delivery is similar to how we have the Celpip certificate without exam​ ​ that is changing lives right now.

    Whenever there is a better way to obtain our CELPIP CERTIFICATE FOR SALE​ ​ I'll make sure to keep you and your audience informed. you can join our group of Database certificates experts @ TELEGRAM GROUP​ ​

    I'll definitely bookmark this link so I can always come back for more informative content. Cheers y'all and happy new year.

    ReplyDelete