Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default Define a generic name

I have created a template which will be used to create customer profiles

problem here is I want to use names (example Cells A1:A100 = date) without
associating it to the name of the worksheet.

So instead of Date = worksheet1!A1:A100 , I just want Date = A1:100



Can this be done ?

--
Nelson
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Define a generic name

Nelson wrote:
I have created a template which will be used to create customer profiles

problem here is I want to use names (example Cells A1:A100 = date) without
associating it to the name of the worksheet.

So instead of Date = worksheet1!A1:A100 , I just want Date = A1:100



Can this be done ?


Try this:

=INDIRECT("A1:A100")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Define a generic name

How do you intend to use the name Date?

You can do something like this:

InsertNameDefine
Name: Date
Refers to: =INDIRECT("A1:A100")

Then, Date will refer to A1:A100 of the sheet where you use the name. For
example, if you enter this formula in cell B1 of Sheet2:

=SUM(Date)

You'll get:

=SUM(Sheet2!A1:A100)

The big problem with this is that it will *always* refer to A1:A100. So if
you were to insert new rows/columns that would change the range, the
referenced range *won't* change.


--
Biff
Microsoft Excel MVP


"Nelson" wrote in message
...
I have created a template which will be used to create customer profiles

problem here is I want to use names (example Cells A1:A100 = date) without
associating it to the name of the worksheet.

So instead of Date = worksheet1!A1:A100 , I just want Date = A1:100



Can this be done ?

--
Nelson



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Define a generic name

Just a warning...

I wouldn't use Date as the range name. It looks way too close to the excel
function =date().



Nelson wrote:

I have created a template which will be used to create customer profiles

problem here is I want to use names (example Cells A1:A100 = date) without
associating it to the name of the worksheet.

So instead of Date = worksheet1!A1:A100 , I just want Date = A1:100

Can this be done ?

--
Nelson


--

Dave Peterson
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
If statement with generic value Blessedx3 Excel Worksheet Functions 5 December 19th 08 07:21 PM
Generic Worksheet Names Tendresse Excel Discussion (Misc queries) 2 July 9th 08 10:33 PM
Generic reference in a Macro Harry's GMail World Excel Discussion (Misc queries) 2 April 17th 07 11:07 PM
HOW TO RETRIVE LAST NAME USING EXCEL, IT SHOULD BE GENERIC zomex Excel Worksheet Functions 5 November 29th 05 03:36 PM
Creation of a Generic Macro Sondra Excel Worksheet Functions 1 September 13th 05 10:40 PM


All times are GMT +1. The time now is 10:55 PM.

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"