Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default question on the definition of refer to

Hi,
I want to define a name that will indlude all the data in a specific
column except the first cell.
How can I do it?

Currently in my definitioon is written : =Sheet1!$A:$A

I want it to be dynamically, meaning if the user will insert a new row
in this column it will be added to the definition, this is why I
defined the whole column.

Any ideas?

10x.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default question on the definition of refer to

Hello efi
Your name will refer to
=OFFSET(Sheet1!A1,,,COUNTA(Sheet1!A:A)-1)
HTH
Regards
Pascal

"efi" a écrit dans le message de
...
Hi,
I want to define a name that will indlude all the data in a specific
column except the first cell.
How can I do it?

Currently in my definitioon is written : =Sheet1!$A:$A

I want it to be dynamically, meaning if the user will insert a new row
in this column it will be added to the definition, this is why I
defined the whole column.

Any ideas?

10x.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default question on the definition of refer to

Hi,
Use the OFFSET function.
I'll assume your worksheet is called Data.
Go to Insert, Name, Define...in the menus. Give your range a name and
in the Refers to box put;
=OFFSET(Data!$A$2,0,0,COUNTA(Data!$A:$A)-1,1)

The range starts in the second cell of column A. The Counta function
assumes there is something in cell A1 to count. If there is nothing in
cell A1 use COUNTA(Data!$A:$A) instead.
Look up the OFFSET function for the meaning of the 0 and 1 parameter
values. Be careful you don't have any blank cells in the middle of
your column, or you will miss that many cells at the bottom of your
range. The Offset function is very flexible for defining ranges
involving multiple columns and ones offset away from A.
regards
Paul

efi wrote in message ...
Hi,
I want to define a name that will indlude all the data in a specific
column except the first cell.
How can I do it?

Currently in my definitioon is written : =Sheet1!$A:$A

I want it to be dynamically, meaning if the user will insert a new row
in this column it will be added to the definition, this is why I
defined the whole column.

Any ideas?

10x.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default question on the definition of refer to

1ox all!



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

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
sum a column within a name definition LaurenA Excel Discussion (Misc queries) 7 May 19th 08 03:30 AM
f statistic, p value definition Regression analysis terms Excel Worksheet Functions 1 June 8th 06 09:11 PM
$ definition nicolebelle Excel Worksheet Functions 1 November 18th 05 01:44 PM
End of data definition Surfstiling Excel Discussion (Misc queries) 1 March 25th 05 12:56 AM
The definition of.... Ursula Excel Worksheet Functions 2 February 16th 05 04:14 PM


All times are GMT +1. The time now is 05:29 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"