1. Use Find and Replace to Update Formulas:

Before deleting the original named range, you can replace it in all formulas that use the old name with the new one. This can be done efficiently using Excel’s Find and Replace feature:

  • Press Ctrl + H to open the “Find and Replace” dialog.
  • In the “Find what” box, type the old name of the range.
  • In the “Replace with” box, type the new name of the range.
  • Click “Replace All”.

This will update all formulas that reference the old named range to point to the new one.

2. Recreate Named Range Without Deleting the Old One (Temp Fix):

If you don’t want to break the formulas, you can recreate a new named range without immediately deleting the old one:

  • Create the newly named range with Workbook Scope.
  • Use Find and Replace to update all references to the new name.
  • Once all formulas reference the new name, you can safely delete the old named range.

3. Using VBA to Update Named Ranges Automatically:

If you have a large workbook with many references, you can automate the process using VBA to change the names in all formulas:

Sub UpdateNamedRangeInFormulas()
    Dim ws As Worksheet
    Dim oldName As String
    Dim newName As String
    
    oldName = "OldRangeName" ' Specify the old named range here
    newName = "NewRangeName" ' Specify the new named range here
    
    For Each ws In ThisWorkbook.Worksheets
        ws.Cells.Replace What:=oldName, Replacement:=newName, LookAt:=xlPart, MatchCase:=False
    Next ws
End Sub
  • Replace "OldRangeName" with the actual name you’re changing.
  • Replace "NewRangeName" with the name of the new range.
  • Run the macro, and it will update all instances across the workbook.

4. Check Formulas After Change:

Once you’ve replaced all the old names, you should double-check the workbook by:

  • Navigating to Formulas > Name Manager to ensure only the correct named range remains.
  • Testing the formulas in key cells to confirm they are referencing the newly named range correctly.