WP Table Manager: Excel & Google Sheets Sync

1. Import Excel files

At any tables, you can import an excel file from your PC.  First, you should go to Menu Import & Sync > Excel button, then click on Import Excel button to pick an excel file in your PC to import.




Before import the file, you can select an option to import Data only or Data + styles.




The tables can be imported from excel or open office documents. The format will be detected automatically and imported. Note that only the first Excel page will be imported.


2. Sync a table with an Excel file data

It is possible to run a synchronization between a table you've created and an Excel file located on your server (anywhere). After creating a new table or going to an existing table. Navigate to the Menu Import & Sync > Excel button, then a popup window will appear.




If you click on the Browse button, you'll be able to select an Excel anywhere on your server, here it's a file uploaded through the media manager (/uploads folder).




Once your Excel file is linked to the table, you can hit the Fetch data button to import data from the Excel file.




There are some options you can choose such as: Auto Sync or Fetch Style before clicking on Fetch data button.

Then here is the result of a data import.




3. Synchronization with Google Sheets

WP Table Manager also offers some Google Sheets synchronization possibility. Your Google sheet has to be published to be synchronized. So first, open your sheet from Google Drive and publish it as web page using the File menu.




Then you'll get access to the Google Sheets file link, copy this link.




After that, back to the plugin and navigate to Menu Import & Sync, click on Google Sheets button. Then paste the url into Spreadsheet link field and click on Fetch data button.




You're done! You can now fetch data for an instant synchronization and run an automatic synchronization too. The fetch style option is in case you also want to get Google Sheets spreadsheets styles.

In order to work smoothly in any case, please select option Anyone with the link while sharing the sheet. And you can also use this link to fetch data.




4. Automatic Excel and Google Sheets sync

Above the file link you can also activate an automatic synchronization. WP Table Manager will fetch the data automatically at a regular interval.

Once it's activated a notification is displayed after the table title.



Note that only the first sheet page will be imported only.

The synchronization delay can be set in the WP Table Manager > Main settings.




Note: When you import excel files or sync data from Google sheet, the link will be valid if you use the function: =HYPERLINK()
E.g:  =HYPERLINK("https://joomunited.com", "Joomunited")


5. Real-time synchronization with Google Sheet

This option will help users update their data from Google Sheet without any time delay. Prerequisite, you have synced with Google sheet, please go to section 3. Synchronization with Google Sheets or find how to do it in the video below. Then you can follow the main steps:

  1. Copy the code at menu Import & Sync > Google Sheets
  2. Go to the synced sheet, navigate to Tools > Script editor
  3. Paste the code then save the project
  4. Navigate to Edit > Current project's triggers or click on the icon on the toolbar
  5. Add Trigger, select event type: On change


Please watch the video for the detailed steps: