To add the Query tab (or access Power Query tools) in Excel, you generally do not need to install a separate plugin because it is built into the Data tab in modern versions of Excel. If you are looking for the specific Power Query editor interface, you access it by clicking Data > Get Data. For older versions of Excel (2010 and 2013), you must download the Power Query add-in from the official Microsoft website and then enable it via the COM Add-ins menu to make the dedicated "Power Query" tab appear in the ribbon.
What You'll Need
- A computer with Microsoft Excel installed (Excel 2010, 2013, 2016, 2019, 2021, or Microsoft 365).
- Administrative privileges on your computer (required if you are installing the add-in for older versions).
- An active internet connection (only if you need to download the legacy Power Query add-in).
- A data source (CSV, Web, or another Excel workbook) to test that the query tools are functioning.
Step-by-Step
Depending on your version of Excel, the process for "adding" the query functionality differs. Labels may vary slightly based on your specific version, region, or device.
For Microsoft 365, Excel 2016, 2019, and 2021
In these versions, the "Query" functionality is integrated directly into the Data tab. There is no separate "Query Tab" to enable; instead, it is a set of tools within the existing ribbon.
- Open your Excel workbook.
- Click on the Data tab in the top ribbon.
- Locate the Get & Transform Data group on the far left of the ribbon.
- Click the Get Data button. This opens a dropdown menu allowing you to choose your source (e.g., From File, From Database, From Other Sources).
- Select your source and the specific file you wish to import.
- When the Navigator window appears, select the table or sheet you want and click Transform Data.
- The Power Query Editor window will now open as a separate window. This is the "Query" environment where you can clean, filter, and reshape your data.
For Excel 2010 and 2013 (Legacy Setup)
In these older versions, Power Query was a separate add-in that created its own dedicated tab in the ribbon.
- Visit the official Microsoft Download Center and search for the "Microsoft Power Query for Excel" add-in.
- Download the installer that matches your system architecture (32-bit or 64-bit). To check this, go to File > Account > About Excel.
- Close Excel completely and run the downloaded .exe installer. Follow the prompts to complete the installation.
- Relaunch Excel. If the Power Query tab does not appear automatically, you must enable it manually.
- Click on File and then select Options.
- In the Excel Options window, click on Add-ins in the left-hand sidebar.
- At the bottom of the window, find the Manage dropdown menu, select COM Add-ins, and click Go....
- In the COM Add-ins dialog box, look for Microsoft Power Query for Excel. Check the box next to it.
- Click OK. The Power Query tab will now be visible in your top ribbon.
Common Mistakes
One of the most frequent mistakes users make is searching for a tab literally named "Query" in newer versions of Excel. Because Microsoft rebranded and integrated these tools into the Data tab, many users believe the feature is missing or disabled. Always check the Get & Transform Data section first.
Another common error occurs during the installation of the legacy add-in for Excel 2010 or 2013. Users often download the 32-bit version of the add-in for a 64-bit installation of Excel, or vice versa. This results in an installation failure or a plugin that refuses to load. Always verify your Excel "About" settings before choosing a download.
Users also frequently confuse the Power Query Editor with the standard Excel worksheet. The Editor is a separate window. If you click "Load" instead of "Transform Data," you will skip the query environment entirely and dump the raw data into your sheet, which defeats the purpose of using the query tools for cleaning.
Tips
To speed up your workflow, you can add the most common Power Query commands to your Quick Access Toolbar (the small row of icons at the very top of the Excel window). Right-click on the "Get Data" button or any specific query tool and select "Add to Quick Access Toolbar." This allows you to start a query regardless of which tab you currently have open.
When working in the Power Query Editor, take advantage of the Applied Steps pane on the right side of the screen. This acts like a recording of every change you make to the data. If you make a mistake, you don't need to hit undo; simply click the "X" next to the specific step in the Applied Steps list to remove that action and revert the data to its previous state.
If you are dealing with very large datasets, avoid loading the data directly to a worksheet. Instead, select Close & Load To... and choose Only Create Connection and check the box for Add this data to the Data Model. This allows Excel to handle millions of rows of data in the background without slowing down your spreadsheet with visible cells.
Troubleshooting
If the Query tools are not appearing or the Data tab is missing the "Get Data" options, try these steps in order:
- Check for Updates: Go to File > Account > Update Options > Update Now. Outdated versions of Office may have bugs that hide ribbon elements.
- Check Ribbon Customization: It is possible the Data tab or the Get & Transform group was accidentally hidden. Right-click anywhere on the ribbon and select Customize the Ribbon. In the right-hand column, ensure that the Data tab is checked. Expand the Data tab to ensure the Get & Transform Data group is also enabled.
- Disable Conflicting Add-ins: Sometimes third-party add-ins can cause ribbon glitches. Go to File > Options > Add-ins, select COM Add-ins from the Manage dropdown, click Go, and temporarily uncheck all other add-ins to see if the Query tools reappear.
- Repair Office: If the tools are still missing, the installation may be corrupted. Close all Office apps, open the Windows Control Panel > Programs and Features, find Microsoft Office in the list, right-click it, and select Change. Choose the Quick Repair option first. If that fails, try the Online Repair (note that Online Repair takes longer and may require you to sign back into your account).
Frequently Asked Questions
Is Power Query free?
Yes, Power Query is a built-in feature of Microsoft Excel. There is no additional cost to use it if you already have a licensed version of Excel 2010 or newer.
Can I use the Query tab on Excel for Mac?
Power Query is available on Mac, but the interface is more limited than the Windows version. You can find it under the Data tab, though some advanced data connectors available on Windows may not be present on macOS.
What is the difference between the Query tab and the Data tab?
In older versions, the Query tab was a separate area for the Power Query add-in. In modern versions, the "Query" functionality has been merged into the Data tab under the "Get & Transform Data" section.
Why is my "Get Data" button greyed out?
This usually happens if the workbook is in a restricted mode, if you are using an older file format (like .xls), or if the file is opened in "Protected View." Try saving the file as a .xlsx workbook and disabling Protected View in the yellow bar at the top of the screen.
Do I need to enable the Query tab for every new workbook?
No. Once the feature is enabled or the add-in is installed, it is a global setting for the Excel application. It will be available in every workbook you open on that computer.
Can I use Power Query to merge two different Excel files?
Yes. By using Data > Get Data > From File > From Workbook, you can bring in data from multiple files and use the "Merge Queries" or "Append Queries" features in the Power Query Editor to combine them.