How to sort linked data and keep formulas in Excel?

If a list of cells have some formulas or linked to other cells in the same sheet, the linked data will be changed while sorting the cells as below screenshot shown. In this article, I will talk about the methods on sorting the linked data and keep formulas in Excel.

doc sort linked data 1 doc arrow right doc sort linked data 2

Sort linked data and keep formulas with shortcuts

Sort linked data and keep formulas with Kutools for Excelgood idea3

Sort linked data and keep formulas with shortcuts

To sort linked data and keep formulas without changed, you can change the references in formulas to an absolute reference, then sorting the data. Therefore the data will keep the formulas even if their orders change.

Select the formula cell, select the formula in the formula bar, and press F4 key to change the reference to absolute reference.

Tip: If there are several references in one cell, you need to change the references one by one by selecting and press F4 key in the formula bar.
doc sort linked data 3

Then change the references in other formula cells to absolute one by one.

doc sort linked data 1 doc arrow right doc sort linked data 5


Now the formulas are kept while sorting.

Sort linked data and keep formulas with Kutools for Excel

To change the references one by one is time-consuming, but with the Convert Refers utility in Kutools for Excel, you can quickly change all references in a range of absolute references as you need.

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

1. Select the cells you want to change the reference, click Kutools > More (in the Formula group) > Convert Refers.
doc sort linked data 6

2. In the Convert Formula References dialog, check To absolute option. See screenshot:
doc sort linked data 7

3. Click Ok. Then all selection have been converted to absolute references.

4. Then you can sort the data.

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.

Be the first to comment.