Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Indirect Lists and Dynamic Ranges

I have a spreadsheet that utilizes the indirect function for data
validation. This works great except I have to manually change the
range size if I add more data to a specific range.

In comes =Offset() that will allow me to dynamically set the range
depending on the last cell. However, once I set this up (which works),
the indirect function does not work correctly.

Any ideas, here are the formulas that I'm working with:

For the Dynamic Ranges

=OFFSET('IACL Order Form'!$AO$2,0,0,COUNTA('IACL Order Form'!$AO:
$AO),1)

For the Indirect List

=INDIRECT(SUBSTITUTE($A18," ",""))

So A18 has the category which then shows the items for that category
in B18.

Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Indirect Lists and Dynamic Ranges

The way I do it is to name the first cell in the dynamic list, let's say
Names, and also name the column, say NamesCol, and in the DV use a formula
of

=OFFSET(INDIRECT($A18),0,0,COUNTA(INDIRECT(A18&"Co l")),1)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
...
I have a spreadsheet that utilizes the indirect function for data
validation. This works great except I have to manually change the
range size if I add more data to a specific range.

In comes =Offset() that will allow me to dynamically set the range
depending on the last cell. However, once I set this up (which works),
the indirect function does not work correctly.

Any ideas, here are the formulas that I'm working with:

For the Dynamic Ranges

=OFFSET('IACL Order Form'!$AO$2,0,0,COUNTA('IACL Order Form'!$AO:
$AO),1)

For the Indirect List

=INDIRECT(SUBSTITUTE($A18," ",""))

So A18 has the category which then shows the items for that category
in B18.

Any help would be appreciated.



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
Lists and dynamic ranges Robin Excel Discussion (Misc queries) 1 July 27th 09 09:10 PM
Cant use indirect() and dynamic ranges together? nashism Excel Worksheet Functions 11 July 18th 08 08:07 PM
Dynamic Ranges and Lists Mark_Robinson Excel Worksheet Functions 2 April 4th 06 08:40 AM
Dynamic Ranges using INDIRECT JAP Excel Worksheet Functions 0 November 22nd 05 12:54 PM
Indirect and dynamic ranges Sam Excel Worksheet Functions 3 January 24th 05 07:01 AM


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