Yes, but the formulas will recalc after the sort, and may simply
return to their original values. Convert all the formulas to either
absolute references by selecting them and running the macro below, or
by copy / pasting values prior to the sorting.
HTH,
Bernie
MS Excel MVP
Sub ConvertToAbsoluteReferences()
Dim myCell As Range
Dim storedCalc As Variant
With Application
storedCalc = .Calculation
.ScreenUpdating = False
.EnableEvents = False
.Calculation = xlCalculationManual
For Each myCell In Selection.SpecialCells(xlCellTypeFormulas)
myCell.Formula = Application.ConvertFormula( _
myCell.Formula, xlA1, xlA1, xlAbsolute)
Next myCell
.ScreenUpdating = True
.EnableEvents = True
.Calculation = storedCalc
End With
End Sub