Power Query Problems

Extract Matching Rows to Another Excel Worksheet

Steven ParkerSteven Parker Nov 18, 2026 868 views

Question details

Extract all rows where the Country column equals India to another worksheet, including matching records added later.

Extract Matching Rows to Another Excel Worksheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
A source worksheet contains a Country column, and the user wants a separate worksheet to show all records for India.
Observed behavior
The destination worksheet should include existing matching rows and reflect new matching records as the source grows.
Before you start

Make sure the source data has a header named Country and that each record occupies one row. Convert the range to an Excel table so new rows can be included in the source.

Solution 1Recommended

Filter and load matching rows with Power Query

Use Power Query to load matching rows to a separate worksheet and update them by refreshing the query.

1
Create a source table

Select a cell in the source data, choose Insert > Table, and confirm that the table has headers.

2
Open Power Query

Select a cell in the table and choose Data > From Table/Range to open it in Power Query.

3
Filter the Country column

Open the filter menu on the Country column, select only India, and apply the filter.

4
Load to a worksheet

Choose Home > Close & Load To, select Table and New worksheet, and confirm the load. Menu wording may vary by Excel version.

5
Refresh after adding records

Add new records within the source table, then choose Data > Refresh All to update the filtered results.

Refresh and availability: Power Query results do not necessarily update immediately when source data changes. Power Query features and menu options vary by Excel version and platform.
Free Microsoft Office alternative

Work with spreadsheet data in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Excel files. It can help you migrate everyday spreadsheet work, though it does not fix Excel Power Query issues.

Filter spreadsheet data by column valuesOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interface for everyday tasksWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Will Power Query include new rows automatically?

New rows added to the source table are included when the query is refreshed. Choose Data > Refresh All after adding records.

Can the destination update without manually refreshing a query?

Yes. In Excel versions that support dynamic arrays, a FILTER formula referencing the source table updates when Excel recalculates.

Why does my FILTER formula show a spill error?

Check that the cells below and to the right of the formula are empty. Also place the formula outside an Excel table.

What if I cannot find From Table/Range?

Check the Data tab and your Excel version. Power Query availability and menu options vary by platform and version; if FILTER is supported, you can use the formula approach instead.