跳到主要內容

如何在Excel中對列進行排序但保持完整的行?

假設工作表中有多個列,現在您想對一列進行排序並保持其完整的行順序,如下圖所示。 在這裡,我將告訴您一些解決Excel中此問題的方法。

doc排序列保持完整的第1行

對列排序,但通過排序功能保留行

對列排序,但通過高級排序功能保留行好主意3


箭頭藍色右氣泡 對列排序,但通過排序功能保留行

在Excel中,可以使用“排序”功能對列進行排序並保留行。

1.選擇要排序的列數據,然後單擊 數據 > 分類。 看截圖:

doc排序列保持完整的第2行

2。 在裡面 排序警告 對話,保持 擴大選擇 選項選中,然後單擊 分類.

doc排序欄保留第1行

3。 在裡面 分類 對話框中,指定要進行排序的條件和排序順序。 看截圖:

doc排序列保持完整的第4行

4。 點擊 OK。 現在,選定的列已排序,並且完整的行仍然保留。

doc排序列保持完整的第8行

如果要基於絕對值對列數據進行排序,Excel的“排序”功能將無法直接幫助您對它們進行排序。 現在我介紹 高級排序 Kutools for Excel為您服務。


箭頭藍色右氣泡 對列排序,但通過高級排序功能保留行

這款獨特的敏感免洗唇膜採用 Moisture WrapTM 技術和 Berry Mix ComplexTM 成分, Excel的Kutools高級排序 功能,您可以按絕對值,月份,日期,頻率,姓氏等對數據進行排序。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

安裝後 Kutools for Excel,請執行以下操作:(立即免費下載Kutools for Excel!)

1.選擇所有數據范圍,然後單擊 Kutools 加斯特 > 分類 > 高級排序。 看截圖:

doc排序列保持完整的第5行

2。 在裡面 高級排序 對話框中,選擇要排序的列,然後選擇要在其上進行排序的條件,然後選擇排序順序。 看截圖:

doc排序欄保留第2行

3。 點擊 Ok。 現在,已選擇的列數據已排序,保留了完整的行。

doc排序列保持完整的第7行

如果您對Kutools for Excel的Advanced Sort實用程序感興趣,則可以 單擊此處以了解有關該實用程序的更多詳細信息。

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I found a solution. I'm on a mac and copy and pasted my excel data to the free Mac "Numbers" spreadsheet. I sorted the data there by the column and it kept all of the rows linked to the sort. Then I pasted it back into excel. Excel is broken and no matter what I try, it will not keep text columns rows correlated to a sort on other columns containing numbers. I don't trust it. But, after all, why should I have expected to: it's a MS app.
This comment was minimized by the moderator on the site
"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.
This comment was minimized by the moderator on the site
If you can't tell the difference with the numbers, I don't know that you'd know the difference with text either. If you look at the surrounding columns, it's clear that when the numbers from a specific column were sorted, the numbers from the rest of the columns stayed in the same row relative to the numbers they were trying to sort. So instead of one column's information being sorted, each entire row was sorted based of information in one column.
This comment was minimized by the moderator on the site
Only sorted column selected didn't bring along rows...useless
This comment was minimized by the moderator on the site
check Expand the selecton option in the Sort Warning dialog, it can sort the relatied rows together.
This comment was minimized by the moderator on the site
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"
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations