跳到主要內容

如何對鏈接的數據進行排序並在Excel中保留公式?

如果單元格列表具有某些公式或鏈接到同一工作表中的其他單元格,則在對單元格進行排序時,鏈接的數據將發生更改,如下圖所示。 在本文中,我將討論對鏈接的數據進行排序並將公式保留在Excel中的方法。

doc排序連結資料1 doc箭頭向右 doc排序連結資料2

對鏈接的數據進行排序並使用快捷方式保留公式

使用Kutools for Excel對鏈接的數據進行排序並保留公式好主意3


對鏈接的數據進行排序並使用快捷方式保留公式

要對鏈接的數據進行排序並保持公式不變,可以將公式中的引用更改為絕對引用,然後對數據進行排序。 因此,即使順序改變,數據也會保留公式。

選擇公式單元格,在公式欄中選擇公式,然後按 F4 將參考更改為絕對參考的鍵。

尖端:如果一個單元格中有多個參考,則需要通過選擇並按來逐一更改參考 F4 在編輯欄中鍵入。
doc排序連結資料3

然後,將其他公式單元格中的引用一一更改為絕對。

doc排序連結資料1 doc箭頭向右 doc排序連結資料5

 

現在,排序時將保留公式。


使用Kutools for Excel對鏈接的數據進行排序並保留公式

逐一更改引用很費時,但是 轉換參照 實用程序在 Excel的Kutools,您可以根據需要快速更改一系列絕對引用中的所有引用。

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

1.選擇要更改引用的單元格,單擊 庫工具 > 更多(在“公式”組中) > 轉換參照.
doc排序連結資料6

2。 在裡面 轉換公式參考 對話框,檢查 絕對 選項。 看截圖:
doc排序連結資料7

3。 點擊 Ok。 然後,所有選擇都已轉換為絕對引用。

4.然後,您可以對數據進行排序。

最佳辦公生產力工具

🤖 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 (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hello,
I have linked data in two sheets of the same workbook and when I sort the data from the first sheet, the values of the second sheet (where I linked those of the first), change even though I have made the absolute reference. This doesn't happen if I insert entire rows, the link stays. Is there a possibility of linking values from another sheet of the same booklet if the values change when ordering them?
Thank you
This comment was minimized by the moderator on the site
Hi, Gonzalo, could you upload your data to describe the problem? Since I have tested the abosulute reference in two sheets, it was work. Please see below screenshot:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-link-reference.png
I
This comment was minimized by the moderator on the site
Hola,
tengo datos vinculados en dos hojas del mismo libro y cuando ordeno los datos de la la primera hoja, los valores de la segunda hoja (en donde vinculé los de la primera), cambian aunque haya hecho la referencia absoluta. Esto no ocurre si inserto filas enteras, el vínculo permanece. Hay posibilidad de vincular valores de otra hoja del mismo libreo si que cambien los valores al ordenarlos?
Gracias
This comment was minimized by the moderator on the site
" to relative " doesn't work
This comment was minimized by the moderator on the site
Hi, lily, sorry for the late reply. What Excel version you use?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations