Find Defined Name(s) in Formula

rjbinney

Active Member
Joined
Dec 20, 2010
Messages
294
Office Version
  1. 365
Platform
  1. Windows
I have a worksheet whose format and structure I like, but need to replace the underlying data.

I have defined name ranges.

When I looked in "Name Manager", I had some phantom ranges from when I replaced the data a few years ago. (e.g., I had "Sales", "Sales2021"). The "phantom" range (in this example, "Sales") points to a different workbook, and I can't imagine that I need it for this one. So I deleted it.

Now I want to re-name the active range in the current workbook. So I tried renaming "Sales2021" with just "Sales". I get a dialog: "Both the existing name, and name you are attempting to use are currently referenced in cell formulas."

Two questions:
  1. I presumed that if I changed the Name, every formula that references that Name would update. Is that not true?
  2. How do I find the cells that reference "Sales"? I tried a "Find" and it told me nothing did...
Thanks

(And a comment - the comma in the dialog box is unnecessary).
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
To start, I would make a backup copy of your workbook.

Then, when you do a replace, you can specify that you want to look in formulas. For example:

1680202203869.png
 
Upvote 0
Thanks. I was looking in formulas but omitted the exclamation point.

And boy howdy I only work in backups!

Thanks,
 
Upvote 0

Forum statistics

Threads
1,224,591
Messages
6,179,769
Members
452,941
Latest member
Greayliams

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top