+ Reply to Thread
Results 1 to 5 of 5

Data Validation with Named Range Problem

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    34

    Data Validation with Named Range Problem

    Hi All,

    I'm experiencing a very frustrating error when creating a dynamic data validation list that is based off a named range.

    In the attached file, I have my two reference tables on the Control tab: "Themes" and "Tags", and named ranges based off them, named "Themes2" and "Tags2" respectively. I want to create drop-down lists on the Dashboard tab that reference the tables. Usually when I do this, I would just type =Themes2 into the data validation source, but I keep getting an error saying the formula is wrong.

    I am completely baffled - this should be so simple, but I cannot for the life of me figure out what is going wrong. Let me know if you can help!

    Best,

    Scott
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Data Validation with Named Range Problem

    You currently have the DV referencing the table name...not the range.
    I think Excel 2007 cannot reference tables.
    Try this:
    • Select the Themes list (excluding the heading)
    • In the name box (next to the formula bar)...
    ...Type: MyThemes
    (that assigns a range name to the field in the table)
    • Select the Themes DV cell
    ...Use the range name MyThemes as the source.

    • Repeat that process for the Tags

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    06-07-2013
    Location
    WV USA
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Data Validation with Named Range Problem

    Example (1).xlsx
    I'm not sure how you defined your names. I selected the list, selected the formula tab on the ribbon, and hit the create from selection button. this named the selection with the top cell in the selection ie tags and themes. Then the cells in the dashboard can be =tags and =themes.

  4. #4
    Registered User
    Join Date
    01-08-2014
    Location
    San Francisco
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Data Validation with Named Range Problem

    Hmm, I ended up getting it to work, but only by clicking on "Define Name" for each table.

    I would bet my life savings that when I had done this before, I used the method you reference above (I think), and named the range by entering it into the "Table Name" box in the Design tab. Now, in Name Manager, I have four lists: Themes2 and Tags2, defined using the "Table Name" box, and ThemesList and TagsList, defined by using "Define Name". The latter two work for data validation, and the former two do not.

    Was I just really dumb in believing that the former and latter lists are all equal?

  5. #5
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Data Validation with Named Range Problem

    In the name manager, look at the icons next to the Names.
    Some are table icons. Others are range name icons.
    You won't be able to redefine the table name reference from the Name Manager.

    Also, I think DV in Excel 2010 and later can reference table fields. You might have used them there.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-17-2014, 12:46 PM
  2. Named Range - Data Validation List
    By Tarball in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2010, 12:34 PM
  3. Using a named Range in Data Validation
    By Befuddled in forum Excel General
    Replies: 2
    Last Post: 02-11-2010, 11:07 PM
  4. Data Validation & Named Range
    By Dylan&Hayden in forum Excel General
    Replies: 5
    Last Post: 05-10-2008, 05:23 PM
  5. [SOLVED] Data validation named range update
    By Phil Deem in forum Excel General
    Replies: 3
    Last Post: 07-15-2005, 11:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1