Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default Apply Names in Formula

Hello,

I'm working on a workbook that has many formulas spread over 5 or 6
worksheets. In an attempt to tidy things up, I've been trying to
convert a lot of the references to names, using insert | name | apply.
This only seems to works for me if the formula and the reference are on
the same sheet, else I get a message "Microsoft Excel cannot find any
references to replace'. According to what I've read, this should work
regardless if they're on the same sheet or not. Maybe someone can tell
me what I'm doing wrong (using Excel 97)

regards

Dave

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 434
Default Apply Names in Formula

hi, Dave !

I'm working on a workbook that has many formulas spread over 5 or 6 worksheets.
... to tidy things up, I've been trying toconvert a lot of the references to names, using insert | name | apply.
This only seems to works for me if the formula and the reference are onthe same sheet
else I get a message "Microsoft Excel cannot find anyreferences to replace'.
According to what I've read, this should work regardless if they're on the same sheet or not.
Maybe someone can tell me what I'm doing wrong (using Excel 97)


AFAIK, names has two 'levels' of application/availability/usage/... workbook-level & worksheet-level

when your workbook has two or more worksheets...
the 'first time' you define a name, it assumes the workbook-level, and...
- it can be 'called' from any worksheet in your workbook, but can NOT be re/used to refers to other worksheet's range
- if you 'need' to create another same-name to refers to ranges in another worksheet, then...
you will need to preceed the same-name with the -new- worksheet's name and the sign !<

when you *first* define names in one worksheet... and you *copy* the worksheet for the same workbook...
excel 'handles' future troubles by *creating* a NEW set of same-names, but referring to the -new- copied worksheet, and...
- when you *call* a name, excel first looks if it exists in the 'calling' worksheet, otherwise, 'calls' a workbook-level name

when you need to call a same-name but referring to 'other' worksheet range, you need to make a complete reference to 'the name'

I hope the above-mentioned doesn't sounds like a tongue twister :)
hth,
hector.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default Apply Names in Formula

Hi Héctor,

Thanks for your reply. As far as I can tell Excel 97 only contains
workbook level names, so your explanation doesn't appear to apply here.
I've asked other people about this, so far haven't had an explanation.
If you're building your own spreadsheet from scratch you might not use
this feature, but I'm working on a customer's spreadsheet that is
sprawling to the extent that it's almost unmanageable, and applying
names would be a big help in cleaning it up (if it worked like it
should). So far it's still a mystery.

regards

Dave

Héctor Miguel wrote:
hi, Dave !

I'm working on a workbook that has many formulas spread over 5 or 6 worksheets.
... to tidy things up, I've been trying toconvert a lot of the references to names, using insert | name | apply.
This only seems to works for me if the formula and the reference are onthe same sheet
else I get a message "Microsoft Excel cannot find anyreferences to replace'.
According to what I've read, this should work regardless if they're on the same sheet or not.
Maybe someone can tell me what I'm doing wrong (using Excel 97)


AFAIK, names has two 'levels' of application/availability/usage/... workbook-level & worksheet-level

when your workbook has two or more worksheets...
the 'first time' you define a name, it assumes the workbook-level, and...
- it can be 'called' from any worksheet in your workbook, but can NOT be re/used to refers to other worksheet's range
- if you 'need' to create another same-name to refers to ranges in another worksheet, then...
you will need to preceed the same-name with the -new- worksheet's name and the sign !<

when you *first* define names in one worksheet... and you *copy* the worksheet for the same workbook...
excel 'handles' future troubles by *creating* a NEW set of same-names, but referring to the -new- copied worksheet, and...
- when you *call* a name, excel first looks if it exists in the 'calling' worksheet, otherwise, 'calls' a workbook-level name

when you need to call a same-name but referring to 'other' worksheet range, you need to make a complete reference to 'the name'

I hope the above-mentioned doesn't sounds like a tongue twister :)
hth,
hector.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
apply all names [email protected] Excel Programming 1 December 5th 06 01:57 PM
I am not able to apply names in already created Vlookup formula. Mr. DP Excel Worksheet Functions 2 November 30th 06 06:32 AM
How do you apply Names in formulas? Mac Excel Discussion (Misc queries) 2 August 2nd 05 11:51 PM
Selecting ALL names when using Insert/Names/Apply Mike Excel Worksheet Functions 3 April 23rd 05 05:20 PM
One More Try: Names/Apply on other worksheet Mike Excel Worksheet Functions 3 April 17th 05 09:40 PM


All times are GMT +1. The time now is 06:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"