Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 101
Default INDIRECT and CONCATENATE in Defined Name

I'm trying to set up a defined name that will be a list whose number of items
will change over time. The list range is A1:A200, but only has items in
A1-A100 now - more will be added as the need arises.

I've tried defining the name where "Refers to" is
=INDIRECT(CONCATENATE("A1:A",COUNTA(A1:A200)),
or variations thereof, but all I get is an empty list.

I'm using this defined name for data validation, and when I select the
dropdown for the cell, since the cell is blank, the dropdown positions itself
at the first blank entry in the list, or A101, whereas I want it to position
itself at the first entry in the list. Perhaps there is a different way of
going about this.

--
Bill @ UAMS
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 101
Default INDIRECT and CONCATENATE in Defined Name

My mistake - it does work.

--
Bill @ UAMS


"BillCPA" wrote:

I'm trying to set up a defined name that will be a list whose number of items
will change over time. The list range is A1:A200, but only has items in
A1-A100 now - more will be added as the need arises.

I've tried defining the name where "Refers to" is
=INDIRECT(CONCATENATE("A1:A",COUNTA(A1:A200)),
or variations thereof, but all I get is an empty list.

I'm using this defined name for data validation, and when I select the
dropdown for the cell, since the cell is blank, the dropdown positions itself
at the first blank entry in the list, or A101, whereas I want it to position
itself at the first entry in the list. Perhaps there is a different way of
going about this.

--
Bill @ UAMS

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default INDIRECT and CONCATENATE in Defined Name

Try
=INDIRECT(CONCATENATE("A1:A",COUNTA(A1:A200)))

Your formula is missing the last )

See Debra's article at http://www.contextures.com/xlNames03.html for ideas...

=INDIRECT(CONCATENATE("A1:A",COUNTA(A1:A200))


"BillCPA" wrote:

I'm trying to set up a defined name that will be a list whose number of items
will change over time. The list range is A1:A200, but only has items in
A1-A100 now - more will be added as the need arises.

I've tried defining the name where "Refers to" is
=INDIRECT(CONCATENATE("A1:A",COUNTA(A1:A200)),
or variations thereof, but all I get is an empty list.

I'm using this defined name for data validation, and when I select the
dropdown for the cell, since the cell is blank, the dropdown positions itself
at the first blank entry in the list, or A101, whereas I want it to position
itself at the first entry in the list. Perhaps there is a different way of
going about this.

--
Bill @ UAMS

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
Run-time error '50290': Application-defined or object-defined erro Macro button Excel Discussion (Misc queries) 1 March 12th 09 10:59 AM
Use of Indirect in Defined Name Frank Excel Discussion (Misc queries) 5 January 8th 09 09:40 PM
INDIRECT and Defined Names Tevuna Excel Worksheet Functions 1 September 4th 07 08:10 AM
"User-defined type not defined" message in Excel RW1946 Excel Discussion (Misc queries) 0 August 31st 05 12:14 PM
Indirect, Concatenate, & ? JEFF Excel Worksheet Functions 7 June 21st 05 08:17 PM


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