SharePoint 2013 Survey Export to Excel columns orders are not maintaned

Shri-6058 326 Reputation points
2020-10-01T18:30:23.53+00:00

Hello,

Anyone experienced the issue while exporting to Excel? I tried created my own view, with default view etc and also creating a new survey with all scenarios, the export to excel file is working just fine. The problem is all questions zigzag way disordered. It is almost impossible to read unless it exports in the same order where the view or default view exist.
I tried creating/modifying the default view in SharePoint designer and tried creating a new survey using existing template but the exported excel columns are completely disordered.
When I googled, when there are some hidden fields(I do have a few hidden fields), it does like that. Are there any workaround to make sure export to excel order will be maintained?

Please advise.

Thanks
Shri

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint Server | Development
{count} votes

Accepted answer
  1. Wendy Li_MSFT 1,711 Reputation points Moderator
    2020-10-02T06:24:17.907+00:00

    @ShridharHegde-2034
    I could reproduce this issue when exporting a survey list with "Export to Spreadsheet". It seems to be by default.
    29758-capture.png

    To solve this issue, you can do as the followings:

    1. Open your site with SharePoint Designer 2013, and open your survey list.
    2. Under the "View" section (on the right), select "Overview" which is the default view
      29852-capture1.png

    3.Open and edit the default view page in Advanced Mode:
    29720-capture3.png
    4. Look for the "Viewfields" section.
    29738-capture4.png
    5. Cut the columns you want to move and paste them where you want them

    A similar thread for your reference:
    Exporting a re-ordered survey


    If an 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.


1 additional answer

Sort by: Most helpful
  1. Shri-6058 326 Reputation points
    2020-10-06T19:14:20.677+00:00

    I created a few hidden fields and looks like they are giving problems. Some fields I completely hidden and some fields I hidden using Javascript on the form. Please let me know if more questions. Thanks again in advance for any suggestions.


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.