Skip to content


Tech Tuesday: Using Power Query to Merge Worksheets for the Excel Addin

If you have multiple sheets in an Excel file that need to be integrated with the SmartConnect Excel Addin, this process will help to get all the data into one sheet for the addin.

In Excel, the first step is to create a data connection for each sheet containing the data we need. 

  1. Select any cell in the data needed and click the From/Table Range button on the Data tab.

  2. This will define a table in Excel. It should pre-populate with the correct cells for the data.  Mark the checkbox for table headers.

  3. Power Query Editor will open with the data from the table. In the Query Settings change the Name to something to represent your data.

  4. Click on Close & Load to…

  5. Choose Only Create Connection and click OK

  6. This will create a connection to the table on our first sheet. Repeat these steps for your second sheet.

Once you have created data connections for both sheets we will merge them into one.

  1. From the Data tab, choose Combine Queries>>Merge.

  2. On the Merge window, select the first connection (Items in the screenshot) on the top dropdown and select the second connection (PriceList in the screenshot) on the second dropdown. Click the key field from each connection to define how they will be joined.  The key field will be highlighted.  Set the Join Kind as needed.  In this case I want records that are in both sheets so I’m choosing Inner.

  3. Power Query Editor will open again. Name this merged query accordingly.
  4. Initially you will see records from your first table. Click the header for the second connection to display which columns to display from the second sheet.

  5. This will finish the setup and bring in all the data from both sheets. Click Close & Load to bring the merged data into a new Excel sheet.

  6. Rename the Sheet as this will be the sheet chosen when using the Excel Addin.

The tables and queries that were initially created are dynamic, so any new records added to the individual sheets will automatically load into the merged sheet when refreshing all the data sources in the workbook. 

Use the merged sheet in the SmartConnect Excel Addin configuration and the SmartConnect map that will be used for your integration.

Have questions? Send the eOne team an email at 

Leave a Comment


2023 Advanced SmartConnect Bootcamp: REST Web Services Integration
Accessing Your Historical Dynamics NAV Data in D365 Business Central - Part 1: Getting Started
2023 Migration from Dynamics GP to D365 Business Central Training
eOne Welcomes Incremental Group as a New eOne iPaaS Integration Partner
Employee Spotlight: Floyd Jones, Front End Developer


2016 SmartConnect Integration Bootcamps
Tech Tues: Automatically refreshing Pivot Tables in Excel Refreshable Reports
Happy Thanksgiving from the eOne team!
2017 SmartConnect Integration Bootcamps
New Releases of Extender and SmartList Builder



Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships Partner All Hands Call Popdock promotions release SalesForce SmartConnect SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.