create local defined name range

Gates Is Antichrist

Well-known Member
Joined
Aug 15, 2002
Messages
1,961
How can I add a duplicate named range, local to a worksheet? When I insert/name/define, the "master one" (vs. local) disappears from another sheet.

Sheet1 has range Database. I call it "master" - it's the one that F5 sends you to.
Sheet2 has a local range Database.
Sheet3 has a local range Database.
I want to put a local range Database on Sheet4. But insert/name there wipes out the defined name on Sheet1.

Somehow I managed the trick on sheet2 and 3, probably by importing. What's the more direct way to do it?

Hey, #500 as I write this.
 
now I found that in formula that use this kind of range name (!a$3:a$20), is reclculted only it entered. changing in worksheet, doed not change anything in the value of the formula unless I retype it
so, a problematic Idea
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Known problems with names with refersto starting with ! are:
- they give incorrect answers when calculation is called from VBA (always refer to the active sheet)
- they crash trace precedents in Excel 97 and give incorrect answers with other versions

IMHO a better solution is to use =INDIRECT(a1) rather than =!a1
 
Upvote 0
thanks,
I wanted to use it for in big table. i define COL as c$5:c$100
and now I can write in any column sum(col)
the problem is that I have to define it in every sheet,
so it was great idea to name it with !
but as I see, I can't do it
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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