Pinterest Pixel

Fill Down Values Using Power Query

Power Query lets you perform a series of steps to transform your Excel data.  One of the... read more

Download Excel Workbook
Bryan
Posted on

Overview

Fill Down Values Using Power Query | MyExcelOnline Fill Down Values Using Power Query | MyExcelOnline

Power Query lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to fill data down easily.

You might be wondering when you might need to fill data down in your table.

Let’s suppose you have this set of data:

Fill Down Values Using Power Query

A lot of values are missing in the Sales Quarter column! It would be a lot of effort to input them one by one.

Let us sort the Sales Month, then the Sales Quarter column to get a better understanding:

Fill Down Values Using Power Query

You can see that we have at least one sales quarter populated for each month.

The technique here is that the Fill Down will copy the value directly above the empty cell and then fill it down the succeeding empty cell.

You can see from the arrows what will happen once we use Fill Down in Power Query.

Now that you know what our game plan is, let us get started!

See also  Replicating Excel's RIGHT Function with M in Power Query

 

Fill Down Values Using Power Query | MyExcelOnline

download excel workbook Fill-Down.xlsx

STEP 1: Select your data and turn it into an Excel Table by pressing the shortcut Ctrl + T or by going to Insert > Table

Fill Down Values Using Power Query

 

STEP 2: Go to Data > Get & Transform > From Table (Excel 2016) or Power Query > Excel Data > From Table (Excel 2013 & 2010)

Excel 2016:

 Fill Down Values Using Power Query

Excel 2013 & 2010:

from table

 

STEP 3: This will open up the Power Query Editor.

A) Sort the Sales Month by Ascending order.

Fill Down Values Using Power Query

B) Then sort the Sales Quarter by Descending order.

Fill Down Values Using Power Query

Our data is now ready for the Fill down step.

Fill Down Values Using Power Query

 

STEP 4: Make sure the Sales Quarter column is selected. Go to Transform > Fill > Down

Fill Down Values Using Power Query

 

The missing values are now populated!

Fill Down Values Using Power Query

 

STEP 5: Click Close & Load from the Home tab and this will open up a brand new worksheet in your Excel workbook with the updated values.

See also  Advanced Editor In Power Query

Fill Down Values Using Power Query

 

You now have your new table with the updated values.

Fill Down Values Using Power Query

 

 

Add Comma in Excel between Names with SUBSTITUTE Formula

 

If you like this Excel tip, please share it
Fill Down Values Using Power Query | MyExcelOnline Fill Down Values Using Power Query | MyExcelOnline
Fill Down Values Using Power Query | MyExcelOnline
Bryan

Bryan is a best-selling book author of the 101 Excel Series paperback books.

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...