How to sort a column but keep intact rows in Excel?

Suppose you have multiple columns in a worksheet, now you want to sort a column and keep its intact rows order as below screenshot shown. Here I will tell you some ways to solve this problem in Excel.

doc sort column keep intact row 1

Sort a column but keep rows by Sort function

Sort a column but keep rows by Advanced Sort functiongood idea3


arrow blue right bubble Sort a column but keep rows by Sort function

In Excel, you can use the Sort function to sort a column and keep rows.

1. Select the column data you want to sort, and then click Data > Sort. See screenshot:

doc sort column keep intact row 2

2. In the Sort Warning dialog, keep Expand the selection option checked, and click Sort.

doc sort column keep row 1

3. In the Sort dialog, specify the criterion that you will sort on and the sorting order. See screenshot:

doc sort column keep intact row 4

4. Click OK. Now the selected column has been sorted and the intact rows are still kept.

doc sort column keep intact row 8

If you want to sort the column data based on the absolute values, the Sort function of Excel cannot directly help you sort them. Now I introduce the Advanced Sort of Kutools for Excel for you.


arrow blue right bubble Sort a column but keep rows by Advanced Sort function

With Kutools for Excel’s Advanced Sort function, you can sort data by absolute value, month, day, frequency, last name and so on.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select all the data range and then click Kutools Plust > Sort > Advanced Sort. See screenshot:

doc sort column keep intact row 5

2. In the Advanced Sort dialog, select the column you want to sort, and then select the criterion you want to sort on, then select the sorting order. See screenshot:

doc sort column keep row 2

3. Click Ok. Now the selected column data has been sorted with intact rows kept.

doc sort column keep intact row 7

If you are interested in Kutools for Excel’s Advanced Sort utility, you can click here to know more detail about this utility.


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    ed · 1 months ago
    "Intact rows" - what is that???
    I can't tell you how incredibly MORE helpful this would be if you had used text in... whatever remained unsorted. As it is I have NO idea what you are trying to illustrate- it's just a jumble of random numbers.
  • To post as a guest, your comment is unpublished.
    Bill · 4 months ago
    Only sorted column selected didn't bring along rows...useless

    • To post as a guest, your comment is unpublished.
      Sunny · 4 months ago
      check Expand the selecton option in the Sort Warning dialog, it can sort the relatied rows together.
  • To post as a guest, your comment is unpublished.
    EK · 2 years ago
    The screen capture for step 2. In the Sort Warning dialog, keep Expand the selection option checked, and click Sort. needs to show "Expand the selection"