Learn about Power Query formulas

Note: Power Query is known as Get & Transform in Excel 2016. The information given here applies to both features. To learn more, see Get & Transform in Excel 2016.

With Power Query, you can add custom columns to your queries. For more information about custom columns, see Insert a custom column into a table. The Power Query Formula Language provides a wide variety of formulas that are used to build complex expressions.

Power Query formulas can be written or modified in the Query Editor, by using the formula bar


Query Editor Formula Sample

To display the formula bar:

  • Click View > Layout > Formula Bar in the Query Editor. (You'll need a query open to change this setting.)

Note: For a very short video on how to display Query Editor, scroll to the end of this article.

Power Query provides a powerful data query and shaping experience for Excel that encompasses many capabilities. A core capability of Power Query is to filter and reshape data from a large collection of data sources. Any such data query is expressed using the Power Query Formula Language. To learn about the Power Query Formula Language, see this following article:

Note: The Query Editor only appears when you load, edit, or create a new query using Power Query. The following video shows the Query Editor window appearing after editing a query from an Excel workbook. To view the Query Editor without loading or editing an existing workbook query, from the Get External Data section in the Power Query ribbon tab, select From Other Sources > Blank Query. The following video shows one way to display the Query Editor.

How to see Query Editor in Excel

Need more help?

Expand your Office skills
Explore training
Got It
Get instant Excel help
Connect to an expert now
Subject to Got It terms and conditions

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.