Renaming a named cell

kkjensen

Active Member
Joined
Jun 22, 2004
Messages
352
I've got two spreadsheets that I have to merge (copying sheets from one into the other) but run into a problem with named cells in each spreadsheet having the same name.

Is there a "fast" way to rename a named cell in a spreadsheet so the cell will have a new name and all the cells that reference it will be updated? If I just create a new name for the cell I have to select all the cells in the spreadsheet and do a find/replace to get all the formulas working again.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

nbrcrunch

Well-known Member
Joined
Jan 1, 2003
Messages
2,062
in the interim, you can leave the same-named ranges and just reference them by fully qualifying which of the two you are referencing.

syntax
SheetName!NamedRange1

Example:
FirstQtr!Income
SecondQtr!Income
 

kkjensen

Active Member
Joined
Jun 22, 2004
Messages
352
Thanks for the tip. I ended up just renaming the cell and then doing a find/replace to swap in the new name to the formulas.

I got stuck since I was merging several sets of calculations but the name "ProjectName" got used a little too liberally.

Thanks for the tip though.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,998
Messages
5,834,802
Members
430,322
Latest member
excelnoobnoob

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
Top