Is it Possible ? Auto Updating Names of Named Ranges

RAF43

Board Regular
Joined
Sep 20, 2013
Messages
58
Hello Everyone,

Is it possible to have the "name" of a named range change automatically to match the text of a specific cell as it changes ?

For example: Assume there is a named range for cell A1 that is Team_A. That also happens to match the text of cell A1. If the text in cell A1 happens to change to Team B, is it possible to have the named range also change automatically to Team_B and all referenced formulas change accordingly ?

The reason: This is probably not a best practices approach but it works. I'm using the drop down named range selection box to quickly find and locate the cursor to a given cell by simply selecting a named range in a protected worksheet. If the Named range matches the name of a specific cell, then that cell text changes, I'd like the name range to update and reflect the new text.

You guys are the best - Many thanks !
Randy
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
What do you want to happen to the formulas that use that named range.

If you have "TeamA" in A1 and a named range TeamA that refers to A1 and a formula =OFFSET(TeamA, 1,0)

What do you want the formula to be after the user enters "TeamB" into A1?
Also, after the entry, do you want there to still be a named range called TeamA?

The VBA Rick suggested was exactly what I was looking for. Thank you Mike for raising that concern, but it is not an issue. You guys are the best ... truly.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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