Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default How to make a dynamic named range

Hi everybody,
Can I make a named dynamic range? I am using data validation and made some
lists to work with but the problem is I have to change the range by the name
define command as I use a new list item. I have used the offset function to

create the dynamic list but is there any way to use a named list in that way?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default How to make a dynamic named range

See Debra Dalgleish's instructions:
http://www.contextures.com/xlNames01.html#Dynamic

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Arup C" wrote in message
...
Hi everybody,
Can I make a named dynamic range? I am using data validation and made some
lists to work with but the problem is I have to change the range by the
name
define command as I use a new list item. I have used the offset function
to

create the dynamic list but is there any way to use a named list in that
way?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How to make a dynamic named range

You don't even need an OFFSET.

Say in G1 thru G5 we have:

dog
cat
bird
turtle
hamster

and assign the Name pets to this range. If we delete one of the cells, the
range will adjust. However if we add something below hamster, the range will
not adjust.

So in G1 thru G7 enter:

dog
cat
bird
turtle
hamster
spacer

and make the Named Range include G7. If we want to add pets, add them ABOVE
spacer. The range will then adjust.
--
Gary''s Student - gsnu200756


"Arup C" wrote:

Hi everybody,
Can I make a named dynamic range? I am using data validation and made some
lists to work with but the problem is I have to change the range by the name
define command as I use a new list item. I have used the offset function to

create the dynamic list but is there any way to use a named list in that way?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default How to make a dynamic named range

Here's an example I did for entering attendance data; perhaps you can
adopt this technique to your situation. There is a total of 8 hours
per day in our program; however, there are various excuses for taking
off hours. Sickness, doctor visits, etc.

I have a range starting in A6=0 through A14=8. I do not want to have
more than 8 hours total for any given day.

In column starting on I8, I have excused hours. I7 contains =8-
SUM(I8:I13) which is hours in program. Then I create the validation.
For cells I8:I13, the list source:

=IF(I12<1,OFFSET($A$6,0,0,9-(SUM(I$8:I$13)),1),OFFSET($A$6,0,0,MAX(9-
(SUM(I$8:I$13)),I12)))

This is the behavior. Each individual's template starts out with I8-
I13 blank (that's just one day, for simplicity here), and I7 shows 8.
I8:I13 have valid inputs of 0,1,2,3,4,5,6,7,8 (from A6:A14). If you
select 4 in I8, the options are reduced to I8:I13 become 0 to 4; if
you replace it with 2, the options are now 0 through 6; and so forth.
The validation can easily be copied/pasted to create additional days,
because of the way relative references are set up.

Try it out.


On Nov 15, 8:52 am, Arup C wrote:
Hi everybody,
Can I make a named dynamic range? I am using data validation and made some
lists to work with but the problem is I have to change the range by the name define command as I use a new list item. I have used the offset function to

create the dynamic list but is there any way to use a named list in that way?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default How to make a dynamic named range

How to create a name range in 2007.

"iliace" wrote:

Here's an example I did for entering attendance data; perhaps you can
adopt this technique to your situation. There is a total of 8 hours
per day in our program; however, there are various excuses for taking
off hours. Sickness, doctor visits, etc.

I have a range starting in A6=0 through A14=8. I do not want to have
more than 8 hours total for any given day.

In column starting on I8, I have excused hours. I7 contains =8-
SUM(I8:I13) which is hours in program. Then I create the validation.
For cells I8:I13, the list source:

=IF(I12<1,OFFSET($A$6,0,0,9-(SUM(I$8:I$13)),1),OFFSET($A$6,0,0,MAX(9-
(SUM(I$8:I$13)),I12)))

This is the behavior. Each individual's template starts out with I8-
I13 blank (that's just one day, for simplicity here), and I7 shows 8.
I8:I13 have valid inputs of 0,1,2,3,4,5,6,7,8 (from A6:A14). If you
select 4 in I8, the options are reduced to I8:I13 become 0 to 4; if
you replace it with 2, the options are now 0 through 6; and so forth.
The validation can easily be copied/pasted to create additional days,
because of the way relative references are set up.

Try it out.


On Nov 15, 8:52 am, Arup C wrote:
Hi everybody,
Can I make a named dynamic range? I am using data validation and made some
lists to work with but the problem is I have to change the range by the name define command as I use a new list item. I have used the offset function to

create the dynamic list but is there any way to use a named list in that way?



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
using a dynamic named range in a VLOOKUP Dave F Excel Discussion (Misc queries) 3 January 19th 07 08:38 PM
Problem with Dynamic Named Range Philip Excel Worksheet Functions 1 December 7th 06 04:09 PM
Can't chart dynamic named range?? [email protected] Charts and Charting in Excel 4 July 20th 06 08:30 PM
Dynamic named range & Offset fastballfreddy Excel Discussion (Misc queries) 1 May 4th 06 09:00 AM
Dynamic Named Range bountifulgrace Charts and Charting in Excel 1 April 6th 06 08:39 PM


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

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

About Us

"It's about Microsoft Excel"