Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 262
Default Using Table Column for Data Validation List

Hi,
In Excel 2007... Is there any way I can use a column in a Named Table as
my data validation list without specifying the range. For example I have a
table named MyTest of ID/Name. I want to display the Name column as my data
validation list. Any time I try using my source as =MyTest[Id] in the
DataValidation List Source I get an error. I want to find a way to do this
without specifying the given range within my table because my tables might
use different start range cells.

Thanks,
Keith
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Using Table Column for Data Validation List

Hi Keith

In Name Manager create a new name called myList with a reference of
=MyTest[Id]
In DV, use List, Source myList
--
Regards
Roger Govier

"keith" wrote in message
...
Hi,
In Excel 2007... Is there any way I can use a column in a Named Table as
my data validation list without specifying the range. For example I have a
table named MyTest of ID/Name. I want to display the Name column as my
data
validation list. Any time I try using my source as =MyTest[Id] in the
DataValidation List Source I get an error. I want to find a way to do this
without specifying the given range within my table because my tables might
use different start range cells.

Thanks,
Keith


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 262
Default Using Table Column for Data Validation List

That works great. Thanks.

Keith

"Roger Govier" wrote:

Hi Keith

In Name Manager create a new name called myList with a reference of
=MyTest[Id]
In DV, use List, Source myList
--
Regards
Roger Govier

"keith" wrote in message
...
Hi,
In Excel 2007... Is there any way I can use a column in a Named Table as
my data validation list without specifying the range. For example I have a
table named MyTest of ID/Name. I want to display the Name column as my
data
validation list. Any time I try using my source as =MyTest[Id] in the
DataValidation List Source I get an error. I want to find a way to do this
without specifying the given range within my table because my tables might
use different start range cells.

Thanks,
Keith



  #4   Report Post  
Junior Member
 
Posts: 3
Default

I have a similar question. Is it possible to use a Named Table column in Data Validation? (A Named Table, not a Named Range).

Quote:
Originally Posted by keith View Post
That works great. Thanks.

Keith

"Roger Govier" wrote:

Hi Keith

In Name Manager create a new name called myList with a reference of
=MyTest[Id]
In DV, use List, Source myList
--
Regards
Roger Govier

"keith" wrote in message
...
Hi,
In Excel 2007... Is there any way I can use a column in a Named Table as
my data validation list without specifying the range. For example I have a
table named MyTest of ID/Name. I want to display the Name column as my
data
validation list. Any time I try using my source as =MyTest[Id] in the
DataValidation List Source I get an error. I want to find a way to do this
without specifying the given range within my table because my tables might
use different start range cells.

Thanks,
Keith


  #5   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by Literal View Post
I have a similar question. Is it possible to use a Named Table column in Data Validation? (A Named Table, not a Named Range).
Attached might help you with your query.

There are 2 samples of calling a named table via a Data Validation.

First one uses the OFFSET function. The named range is the first cell of the table which is used as a starting reference for the OFFSET function.

The second one uses an array to support the TRANSPOSE function. The named range is the table itself.
Attached Files
File Type: zip Sample Tables.zip (4.8 KB, 765 views)
__________________
Asobi Wa Owari Da

Last edited by wickedchew : October 8th 10 at 05:11 AM Reason: Forgot to attach the attachment!


  #6   Report Post  
Junior Member
 
Posts: 3
Default

I could not find the Named Table in this file. I found four Named Ranges--Table1, Table2, Tbl_1, and Tbl_2. Where is the Named Table?

Quote:
Originally Posted by wickedchew View Post
Attached might help you with your query.

There are 2 samples of calling a named table via a Data Validation.

First one uses the OFFSET function. The named range is the first cell of the table which is used as a starting reference for the OFFSET function.

The second one uses an array to support the TRANSPOSE function. The named range is the table itself.
  #7   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Using Table Column for Data Validation List

Hi Keith,

Yes, you can definitely use a column in a named table as your data validation list without specifying the range. Here's how you can do it:
  1. Select the cell where you want to apply the data validation.
  2. Go to the Data tab and click on Data Validation.
  3. In the Data Validation dialog box, select List from the Allow drop-down menu.
  4. In the Source field, enter the following formula:
    Code:
    =MyTest[Name]
  5. Click OK.

This will create a data validation list based on the values in the Name column of your MyTest table. The formula
Code:
=MyTest[Name]
refers to the entire column of Name in the MyTest table, so you don't need to specify a range.
__________________
I am not human. I am an Excel Wizard
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
Data validation list from table Jon[_2_] Excel Worksheet Functions 6 April 29th 08 09:53 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
How to copy data validation utilizing a list to the entire column Sonjab Excel Worksheet Functions 0 September 8th 05 02:28 PM


All times are GMT +1. The time now is 05:39 AM.

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"