SharePoint – 2 Mistakes to avoid when importing Excel data

A common, frequent requirement for app builders is to import an Excel spreadsheet into SharePoint. A typical use case is where we use Excel as a data source, we reach the delegation/data size limitations of Excel, and we need to migrate to a better data source.

The simple go-to method is to use the import spreadsheet option in SharePoint. In this post, I’ll highlight the two common mistakes that happen, and provide a brief walk-through of the process.

Mistake 1 - Not correctly preparing our Excel spreadsheet

The first thing is to make sure that the columns and cells in Excel reflect the correct data type. For example, we should make sure to format any numeric values in our spreadsheet as a number, to prevent the import process from importing the column as text.

Also, we should remove any columns that we no longer need. For instance, if we've connected to our source spreadsheet from Power Apps, we should make sure to remove the auto generated __PowerAppsID__ column that Power Apps adds.

Although we can correct these data issues post-import, it generally takes less time overall if we invest some time upfront to make sure that the source data is as clean as possible.

Mistake 2 - Not using IE, and not configuring the settings correctly

These steps are crucial! The import process works with Internet Explorer only, so we must make sure to use that browser.

In addition, there are 2 VERY important IE settings that we must apply:
  1. We must add the our target SharePoint site into IE's trusted zone
  2. We must untick the "check for server certificate revocation" checkbox in the Advanced > Security section of Internet options.

Walkthrough

Now that we've applied the necessary IE settings, here's a walkthrough of the import process.

The first step is to select the New > App menu item from SharePoint.



From here, we select the Import Spreadsheet option. A security dialog will appear, which we should allow.


In the next step, we specify the name of our new target SharePoint list and we browse for our target spreadsheet file. Note that if we didn't add our SharePoint site to IE's trusted zone, we'll receive the message "The specified file is not a valid spreadsheet or contains no data to import.", as shown beneath.


Next, Excel will open and we can use dialog to select our source Excel data. We can then click the Import button to import the data into our new list, and to complete the process.


If the import button fails to work, the most likely culprit is that the "check for server certificate revocation" setting is causing Excel not to authenticate correctly to SharePoint. If there is still an authentication problem, we should make sure that sign-in prompts are not blocked from the settings in Excel's Trust Center.

Conclusion

In this post, we walked through the import Excel feature in SharePoint. When we use this feature, we must make sure to use Internet Explorer, add the our SharePoint site to IE's trusted zone, and to disable the option to check for server revocation.

Related posts

Data - How to remove trailing comma all rows in a table
February 20, 2025
Data - How to find the common rows from 3 or more collections
October 06, 2024
Data - How to show the distinct rows from 2 data sources or collections
February 26, 2024
Data - How to implement circular rotational date sorting
February 21, 2024
Bug - What to do when the data section of the Power Apps Maker portal doesn't work
June 18, 2023
Data - Combine columns from separate tables into a single table
October 13, 2022
Formula - Transposing/converting rows to columns- an almost impossible task?
September 23, 2021
Data - How to rename field names in a record
July 14, 2021
Data - How to hide duplicate rows in a gallery / show distinct multiple columns in a gallery
July 09, 2021
Data - Retrieving news/forum/blog articles with RSS
June 26, 2021
Data - How to sort by partial numbers in a text field
June 23, 2021
Data - How to return the last record from a table
June 19, 2021
Data - How to create bulk test/dummy records with random values
June 18, 2021
Data - 3 things you should know before using the MySQL or PostgreSQL connectors
May 11, 2021
Data - A walkthrough of how to migrate the data source of an app from Excel to Sharepoint
April 26, 2021
Data - How to enforce unique values (or prevent duplicate values) in one or more columns
April 19, 2021
Data - How much mobile data does Power Apps consume? What ways can we minimise this?
March 28, 2021
Data - How to save and retrieve Google calendar entries
March 14, 2021
Data - How to save and retrieve Google contacts
March 10, 2021
SQL - Caution! This is how users can hack shared SQL connections
January 23, 2021
SQL - Don't let this DateTime bug catch you out!
January 05, 2021
Settings - What's the purpose of the "Explicit Column Selection" Setting?
January 04, 2021
SQL Server for Beginners Part 3 - Installing On-Premises Gateway
January 24, 2019
SQL Server for Beginners Part 2 - Installing Management Studio
January 14, 2019
SQL Server for Beginners Part 1 - Installing SQL Server
January 04, 2019
Searching data–What you need to know about case sensitivity
December 27, 2018
Images - How to create images that can change depending on data
November 09, 2018
Excel - Reasons NOT to use Excel as a data source
September 25, 2018
SharePoint - What you need to know about Filtering Data
September 16, 2018
Formulas - Generating Row Numbers
April 05, 2018