Power Query Problems

How to Repeat Values in Empty Cells for Excel Analysis Query

Elise WilliamsElise Williams Nov 2, 2026 868 views

Question details

The user needs to make an Excel 365 Analysis query display repeated values in all cells instead of leaving them blank when a field value does not change.

How to Repeat Values in Empty Cells for Excel Analysis Query
Product
Microsoft Excel 365
Device & OS
not provided
Scenario
Working with query results where thousands of records have missing repeated labels, making data filtering and analysis difficult.
Observed behavior
The query results leave cells blank for repeated values, only showing the field value once when it changes.
Before you start

Ensure your query has completely finished loading its data into the worksheet and that you have full editing permissions for the Excel file.

Solution 1Recommended

Enable Repeated Values in Query Component Settings

Adjust the query result settings to automatically fill blank cells with the corresponding repeated values for each record.

By default, certain query layouts group identical consecutive values to make the report look cleaner. You can override this behavior by changing the component display settings to repeat item labels.

1
Select the query data

Click any cell inside the loaded query results or PivotTable to activate the contextual menu on the ribbon.

2
Open the Component or Design tab

Navigate to the Component tab (or Design tab, depending on your Excel version and query type) at the top of the Excel window.

3
Enable repeated values

Locate the layout settings and select the option to 'Display repeated values' or 'Repeat All Item Labels'. This will immediately fill all previously blank cells with their corresponding field values.

Enable Repeated Values in Query Component Settings
Data Consistency: Repeating item labels ensures that every row is a complete record, which is essential if you plan to copy and paste this data for further analysis or sorting.
Free Microsoft Office alternative

Process Data Easily with WPS Office

If you frequently struggle with complex Excel 365 queries or missing data fields, try WPS Office. It provides a lightweight, highly compatible spreadsheet tool that makes data analysis, PivotTables, and formatting simple and intuitive without a steep learning curve.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
  2. 2. Open your dataset: Launch WPS Spreadsheet and seamlessly open your existing .xlsx data files.
  3. 3. Analyze your data: Use the intuitive Data and PivotTable tools to format and analyze your records without dealing with complex query setups.
Fully compatible with Microsoft Excel formats (.xlsx, .csv, .xls).Intuitive interface for managing PivotTables and data analysis.Free and lightweight, avoiding the heavy resource usage of complex office suites.Built-in formatting tools to easily handle blank cells and missing values.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel query leave cells blank for repeated values?

By default, certain Excel analysis and PivotTable layouts group identical consecutive values and only display the first instance to make the report look cleaner. You must explicitly enable repeating labels in the layout settings to fill the blanks.

Can I automatically fill blank cells with the value above them without using Power Query?

Yes. Select your data range, press F5 to open the 'Go To' dialog, click 'Special', and select 'Blanks'. Type '=' and press the Up arrow key to reference the cell above, then press Ctrl+Enter to fill all blank cells simultaneously.

Does repeating item labels affect the underlying data source?

No, changing the display layout to repeat item labels only affects how the data is visually presented in the query result or PivotTable. The original underlying dataset remains entirely unchanged.