How to Repeat Values in Empty Cells for Excel Analysis Query
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.

- 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.
Ensure your query has completely finished loading its data into the worksheet and that you have full editing permissions for the Excel file.
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.
Click any cell inside the loaded query results or PivotTable to activate the contextual menu on the ribbon.
Navigate to the Component tab (or Design tab, depending on your Excel version and query type) at the top of the Excel window.
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.

Use the Fill Down Feature in Power Query Editor
If the data source itself contains blanks, use the Fill Down command in Power Query to populate empty cells before loading the data into your worksheet.
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. Download WPS Office: Visit the official WPS website to download and install the free office suite.
- 2. Open your dataset: Launch WPS Spreadsheet and seamlessly open your existing .xlsx data files.
- 3. Analyze your data: Use the intuitive Data and PivotTable tools to format and analyze your records without dealing with complex query setups.

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.




