+ Reply to Thread
Results 1 to 3 of 3

Data Validation: Cell reference to Named Range

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Data Validation: Cell reference to Named Range

    If I have two cells and a named range mexico

    A1, A2.

    A1 contains the string: "mexico"
    A2 is the cells that has required data validation (drop down list).

    I want A2's validation reference to be dynamic, in the sense that I can it reference it to A1; converting the string "mexico" to a named range mexico

    I tried inputing = INDIRECT(A1) into A2

    But I lack clarity in my understanding of referencing.

    What is the correct procedure here?

    Thanks.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Data Validation: Cell reference to Named Range

    For Data Validation, you wouldn't put that formula into cell A2. You'd set the cell up to use Data| Data Validation and in the Allowed box put =INDIRECT(A1).

    I suggest that you post a sample workbook to test the theory.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Data Validation: Cell reference to Named Range

    Quote Originally Posted by TMShucks View Post
    For Data Validation, you wouldn't put that formula into cell A2. You'd set the cell up to use Data| Data Validation and in the Allowed box put =INDIRECT(A1).

    I suggest that you post a sample workbook to test the theory.

    Regards, TMS
    Sorry, I meant that I entered =INDIRECT(A1) into the data validation box for A1. Still not working.

    Named Range: mexico

    find similar test file below.

    https://dl.dropbox.com/u/69651453/test22.xlsx
    Last edited by niceguy21; 11-07-2012 at 11:01 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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