logo
search
Others

How to Include a New Column in an Excel Sort Range

Rana GarciaRana Garcia Oct 7, 2026 868 views

Question details

The user needs to include a newly added column into an existing sort or filter range so that all data stays properly aligned when sorted.

How to Include a New Column in an Excel Sort Range
Product
Excel / Spreadsheet
Device & OS
not provided
Scenario
Sorting data after appending a new column to an existing dataset.
Observed behavior
The newly added column does not move with the rest of the data when a sort is applied because it is outside the active table or filter range.
Before you start

Before adjusting your sort range, ensure there are no completely blank columns or rows separating your newly added column from the rest of the dataset, as this can break the contiguous data range.

Solution 1Recommended

Refresh the Filter Range to Include the New Column

This is the quickest method. By toggling the filter off and back on, Excel will automatically detect the expanded contiguous data range and include your new column.

When you add a column next to an already filtered range, Excel does not automatically expand the boundaries of the active filter. You must refresh the filter to capture the new dimensions of your dataset.

1
Select the Header Row

Click and drag to highlight the entire header row of your dataset, making sure to include the header of the newly added column.

2
Toggle Filter Off

Navigate to the 'Data' tab on the ribbon and click the 'Filter' button to remove the existing filters from the original columns.

3
Toggle Filter On

Click the 'Filter' button a second time to reapply it. The dropdown arrows will now appear across all selected headers, meaning your new column is successfully included in the sort range.

Refresh the Filter Range to Include the New Column
Keyboard Shortcut: You can quickly toggle filters by pressing Ctrl + Shift + L twice after selecting your headers.
Manage Data Seamlessly

Sort and Filter Data Easily with WPS Spreadsheet

WPS Spreadsheet offers a highly intuitive interface for data management, allowing you to instantly expand sort ranges, apply auto-filters, and utilize smart tables to keep your data perfectly aligned.

  1. 1. Open Your Spreadsheet in WPS: Launch WPS Spreadsheet and open the document containing your dataset.
  2. 2. Select the Expanded Range: Highlight the entire header row or the full dataset, ensuring the newly added column is included.
  3. 3. Apply AutoFilter: Go to the 'Data' tab and click the 'AutoFilter' button to place dropdown arrows on all selected columns.
  4. 4. Sort Safely: Click the dropdown arrow on any column to sort ascending or descending. All columns, including the new one, will now shift together.
100% compatible with Microsoft Excel (.xlsx) file formats.Smart Table formatting for automatic expansion of sort and filter ranges.Advanced filtering options to handle complex datasets with ease.Free, lightweight, and lightning-fast spreadsheet processing.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my new column not sort with the rest of the data?

This happens because the new column was added outside the boundaries of the currently active filter or table range. Spreadsheet programs do not automatically expand a standard filter range when adjacent columns are added to prevent unintended data manipulation.

How do I visually check my current sort range?

You can identify the current sort and filter range by looking at the column headers. The headers that feature a small filter dropdown arrow are part of the active range. If your newly added column lacks this arrow, it is excluded from the sort.

Will formatting as a table alter the appearance of my data?

Yes, converting a data range to a Table typically applies a default color scheme, such as banded rows. However, you can easily remove or modify these colors from the 'Table Design' or 'Table Tools' tab while retaining the automatic sorting functionality.

What if my new column is separated by an empty column?

If there is an entirely blank column between your original dataset and the new column, the filter toggle might not automatically detect the new column. You must either delete the blank column or manually highlight the entire range across the gap before applying the filter.