Is there a way to export a specific view having groups as is to excel in SP2016?

Marwa Mostafa 1 Reputation point
2021-03-03T11:42:59.373+00:00

Hello,

Our case is that we have SharePoint 2016 and we have custom lists/libraries with views including filtering and grouping.

When we open these views and export to excel, the excel shows data without filtering or grouping so is there a way so as to have the excel identical to what we see in the system?

Or is there some other action to do to achieve this function?

Thank you
Best Regards,
Marwa Mostafa

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. sadomovalex 3,636 Reputation points
    2021-03-03T14:38:56.197+00:00

    it works like you described by default, but there is workaround for this problem: SharePoint List View - Export to Excel with Formatting and Grouping.

    0 comments No comments

  2. Elsie Lu_MSFT 9,801 Reputation points
    2021-03-04T05:18:20.407+00:00

    Hi @Marwa Mostafa ,

    Per my test,the Export to Excel function exports data according to the view you choose.Even if you filter on the view of all items, all the data of this view will be exported rather than the data filtered.

    So if you want to do a filter, you could create a new view in which only the items you want are displayed. Then the exported item will be the item you want:
    74092-2.jpg

    And group is currently not supported to be exported to excel. As suggested in the post sadomovalex mentioned, you could create a new view(filtered),export to excel and try to set the grouping in excel:
    74084-3.jpg


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.