Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.  If you have an existing query that you have created and forgot to add a row index, you can still add a row index to a loaded query!

This is perfect as there is no need for you to modify the original query.

We will use the existing workbook from this tutorial of splitting dates. It splits the Order Date into Year, Month and Day.

Split the Date in Power Query

YouTube video
Add a Row Index to a Loaded Query Using Power Query | MyExcelOnline

DOWNLOAD EXCEL WORKBOOK

STEP 1: Open the workbook with the existing query. Select any cell in it.

Add a Row Index to a Loaded Query

 

STEP 2: Go to Data > Connections > Properties

Add a Row Index to a Loaded Query

 

STEP 3: Now tick Include row numbers and click OK.

Add a Row Index to a Loaded Query

 

STEP 4: Let us now see this reflect in our query. Go to Query> Load> Refresh

Add a Row Index to a Loaded Query

Your row index is now added to your loaded query!

Add a Row Index to a Loaded Query

 

How to Add a Row Index to a Loaded Query Using Power Query

 

Free Excel Macros & VBA Webinar Training

 

HELPFUL RESOURCES:

JOIN OUR FREE EXCEL COURSES BELOW
Click here to access these FREE Excel courses!

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin