Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 345
Default Data Validation mystery

Using Excel2003 with Windows xp
One Workbook - Two worksheets

Two columns in worksheet1 - Data Validation in cells of both columns
Selecting a word from the drop down list in column 1 allows selection of a
word from a drop down list in column 2 (changing the word in column 1 offers
a different drop down list of words in column 2).

Worksheet2 has 4 columns of words, each column with a Heading
Column 1 has its own Heading and contains the Heading of columns 2, 3 & 4
Columns 2, 3 & 4 each contain a different list of words
Named ranges: Each column Heading is 'Named' using the column Heading.
The words in each column, below each Heading, are range 'Named' with the
column Heading with 'list' tagged on the end,
e.g. Column 1 Heading is 'Designation' and "Named" 'Designation'. The list
of words below the Heading in Column 1 are range "Named" 'Designationlist'.
Columns 2, 3 & 4 Headings and list of words are similarly "Named".

Worksheet1 - Column 1, cells contain Data Validation - List, Source:
=Designation (ie "name of Heading of Column 1 Worksheet2")
Worksheet1 - Column 2, cells contain Data Validation - List, Source:
=OFFSET(INDIRECT(SUBSTITUTE($A2," ","")),0,0,COUNTA(INDIRECT(SUBSTITUTE($A2,"
","")&"list")),1)

This works fine, selection of word in Column 1 causes a list of words to be
selected in Column 2. However, the list of words in Column 2 (Worksheet 1)
will only ever display words from Columns 2, 3 & 4 (Worksheet2) down to Row
27!

Anybody any idea why the drop down list aborts a Row 27 ?

Any help / suggestions would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,420
Default Data Validation mystery

As far as I can see it always drops the last and includes the heading. Try

=OFFSET(INDIRECT(SUBSTITUTE($A2,"
","")),1,0,COUNTA(INDIRECT(SUBSTITUTE($A2," ","")&"list")),1)

--
__________________________________
HTH

Bob

"Ron@Buy" wrote in message
...
Using Excel2003 with Windows xp
One Workbook - Two worksheets

Two columns in worksheet1 - Data Validation in cells of both columns
Selecting a word from the drop down list in column 1 allows selection of a
word from a drop down list in column 2 (changing the word in column 1
offers
a different drop down list of words in column 2).

Worksheet2 has 4 columns of words, each column with a Heading
Column 1 has its own Heading and contains the Heading of columns 2, 3 & 4
Columns 2, 3 & 4 each contain a different list of words
Named ranges: Each column Heading is 'Named' using the column Heading.
The words in each column, below each Heading, are range 'Named' with the
column Heading with 'list' tagged on the end,
e.g. Column 1 Heading is 'Designation' and "Named" 'Designation'. The list
of words below the Heading in Column 1 are range "Named"
'Designationlist'.
Columns 2, 3 & 4 Headings and list of words are similarly "Named".

Worksheet1 - Column 1, cells contain Data Validation - List, Source:
=Designation (ie "name of Heading of Column 1 Worksheet2")
Worksheet1 - Column 2, cells contain Data Validation - List, Source:
=OFFSET(INDIRECT(SUBSTITUTE($A2,"
","")),0,0,COUNTA(INDIRECT(SUBSTITUTE($A2,"
","")&"list")),1)

This works fine, selection of word in Column 1 causes a list of words to
be
selected in Column 2. However, the list of words in Column 2 (Worksheet 1)
will only ever display words from Columns 2, 3 & 4 (Worksheet2) down to
Row
27!

Anybody any idea why the drop down list aborts a Row 27 ?

Any help / suggestions would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 345
Default Data Validation mystery

Bob
Clearly a case of 'can't see the woods for the trees!'
Many thanks - perfect solution

"Bob Phillips" wrote:

As far as I can see it always drops the last and includes the heading. Try

=OFFSET(INDIRECT(SUBSTITUTE($A2,"
","")),1,0,COUNTA(INDIRECT(SUBSTITUTE($A2," ","")&"list")),1)

--
__________________________________
HTH

Bob

"Ron@Buy" wrote in message
...
Using Excel2003 with Windows xp
One Workbook - Two worksheets

Two columns in worksheet1 - Data Validation in cells of both columns
Selecting a word from the drop down list in column 1 allows selection of a
word from a drop down list in column 2 (changing the word in column 1
offers
a different drop down list of words in column 2).

Worksheet2 has 4 columns of words, each column with a Heading
Column 1 has its own Heading and contains the Heading of columns 2, 3 & 4
Columns 2, 3 & 4 each contain a different list of words
Named ranges: Each column Heading is 'Named' using the column Heading.
The words in each column, below each Heading, are range 'Named' with the
column Heading with 'list' tagged on the end,
e.g. Column 1 Heading is 'Designation' and "Named" 'Designation'. The list
of words below the Heading in Column 1 are range "Named"
'Designationlist'.
Columns 2, 3 & 4 Headings and list of words are similarly "Named".

Worksheet1 - Column 1, cells contain Data Validation - List, Source:
=Designation (ie "name of Heading of Column 1 Worksheet2")
Worksheet1 - Column 2, cells contain Data Validation - List, Source:
=OFFSET(INDIRECT(SUBSTITUTE($A2,"
","")),0,0,COUNTA(INDIRECT(SUBSTITUTE($A2,"
","")&"list")),1)

This works fine, selection of word in Column 1 causes a list of words to
be
selected in Column 2. However, the list of words in Column 2 (Worksheet 1)
will only ever display words from Columns 2, 3 & 4 (Worksheet2) down to
Row
27!

Anybody any idea why the drop down list aborts a Row 27 ?

Any help / suggestions 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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
The dissapearing Data (on refresh) mystery Kevin Gate Charts and Charting in Excel 0 December 5th 06 09:33 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


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