Our Biggest Sale Is Here
Up to 70% Off
Get the Deal

How to create a table from an Excel file in wpDataTables

Say you keep your product list, with prices, stock and suppliers, in an Excel workbook, and you want the same list on your shop’s website. Upload the workbook to WordPress and let Tabella AI turn it into a table, or link a new table to the file in the Create a Table wizard. wpDataTables reads .xls and .xlsx files and uses the first row as the column names.

How do I create a table from an Excel file with Tabella AI?

Pick the Excel file from the Media Library or paste its link in the Tabella AI chat, check the preview, and create a linked or an imported table.

  1. Open Tabella AI. Go to wpDataTables → Dashboard and click + Use a file or link.
  2. Add the file. In the Add data panel, click Media Library and choose or upload the workbook, or paste a link to it in Public data URL.
  3. Preview the data. Click Preview this source and check the sample of up to 20 rows.
  4. Create the table. Click Create linked table to show the file as it is, or Import to database to create an editable copy.
  5. Add it to a page. Click Copy shortcode and paste it into a Shortcode block, or click Open created table in editor →.

The steps and the review card are the same as for CSV files. See how to create a table from a CSV file for a screenshot of the review card and the difference between linked and imported tables.

Video: creating a table from an Excel file in the Media Library with Tabella AI.

How do I create a table from an Excel file by hand?

Create a table linked to an existing data source, choose Excel file as the source type, pick the file and click Save Changes.

  1. Start a linked table. Go to wpDataTables → Create a Table and click Create a data table linked to an existing data source.
  2. Name the table. Click New wpDataTable and type a name, for example Office products.
  3. Choose the source type. In the Data source tab, open Input data source type and choose Excel file.
  4. Pick the file. Keep File location on WordPress Media Library and click Browse… to choose or upload the workbook. For a file on another website, choose URL from any domain and paste its URL in Input file path or URL.
  5. Save the table. Click Save Changes. wpDataTables reads the file and shows the table preview with one column per Excel column.
New linked table Office products with Excel file as the input data source type, WordPress Media Library as the file location and an .xlsx file path
Setting up an Excel table: (1) Input data source type, (2) File location, (3) Input file path or URL with Browse, (4) Save Changes.

To link a file stored in Dropbox, share it and change dl=0 at the end of the link to dl=1, so the link downloads the file instead of opening a preview page.

What does a linked Excel table keep from my workbook?

A linked Excel table keeps the cell values of your first sheet, not the look or the logic of the workbook. Prepare the sheet before you link it:

  • Formulas are not supported. Replace them with their values, or see how to show calculated values from Google Sheets.
  • Merged cells are not supported. Unmerge them and fill every cell.
  • Formatting, such as colours, fonts and number formats, is not copied. Style the table in wpDataTables instead.
  • Don’t rename, reorder, add or delete columns in a linked file, or the table stops working.
  • You can’t edit the rows of a linked table in WordPress. Import the file into the database for that.

If you upload a new version of the file to the Media Library, it gets a new URL, and the table keeps reading the old file. Replace the file under the same URL, for example on your own server, because a linked table can’t be switched to another Excel file. Each new file needs a new table.

Excel files load slower than CSV files. For a large workbook, turn on caching, or import the file into the database.

How do I set up the Excel table after it is created?

Open the table in the editor and check the column types first, because wpDataTables guesses them from the data. Click the column settings icon in a column header, open the Data tab and check Column type, for example Float for prices. Then add filters, sorting and a design, the same way as for any other table.

The Office products Excel table in the wpDataTables editor with the Data tab of the Price column settings and the column type Float
An Excel table in the editor, shown as overlapping panels: (1) the shortcode of the saved table, (2) the Data tab of the Price column settings, (3) Column type.

What should I remember about tables from Excel files?

Give Tabella AI the workbook from the Media Library or a link, or link a new table to it with Excel file as the source type. A linked table shows cell values only: no formulas, merged cells or formatting, and no editing in WordPress. Keep the columns and the file URL unchanged, or import the file when you need an editable table.

Wait, Before You Download!

To get your hands on wpDataTables Lite, please enter your email address below. We’ll send you a direct download link and keep you updated on existing features along with helpful tips and tricks!

By continuing, I accept Privacy Policy and T&C
Mail Box