Forum Discussion

BARFRODEO's avatar
BARFRODEO
Copper Contributor
Aug 23, 2024

locking and sorting rows

Is there a way to lock the data of two rows to be able to sort the rows locked together?  I am needing to be able to sort by the totals showing at the end of the 1st of the two rows.

example below:

20.5212020.5082.00890.00169.99
2020.51719.1776.673.3279.99 
21.2521.7521.521.5086.002.5688.56178.56
20.5202120.5082.00890.00 
17.25121715.4261.67869.67162.33
21.2521.252121.1784.67892.67 
21.521.7521.521.5886.337.4493.77185.773
20.521.52121.0084.00892.00 
  • BARFRODEO 

    You'd have to copy the totals to the empty cell below.

    For example:

    • Select the totals column.
    • Press F5 to activate the Go To dialog.
    • Click Special...
    • Select Blanks, then click OK.
    • Note the address of the active cell - it is displayed on the left hand side of the formula bar.
    • Let's say it is H3.
    • Enter the formula =H2, referring to the cell above the active cell.
    • Confirm by pressing Ctrl+Enter to populate all the empty cells.

    You can now sort safely,

Resources