+ Reply to Thread
Results 1 to 5 of 5

Data Validation using a dynamic range on a different sheet

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Data Validation using a dynamic range on a different sheet

    Hi Everyone,

    How can I use data validation from a list using a dynamic range on another sheet? I set my range as:

    =OFFSET(Sheet2!A1,0,0,COUNTA(Sheet2!A:A),1)

    When I try to use this list on another sheet by typing =DynamicRange into the data validation box, where DynamicRange is the name of the list, I get the error "The Source currently evaluates to an error. Do you want to continue?” If I click yes my list is blank. When I go back to look at the list using the Name Manager the range formula has changed and now depends on which cell is currently selected. It now looks something like

    =OFFSET(Sheet2!D11,0,0,COUNTA(Sheet2!D:D),1)

    Where D11 is the currently selected cell.

    Does anyone know what I am doing wrong here?

    Thanks in advance,

    Ger

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Data Validation using a dynamic range on a different sheet

    u just have to fix the cells:
    =OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$A:$A),1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    03-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Data Validation using a dynamic range on a different sheet

    Oh yeh! Thank you. On a similar note if my dynamic range has 2 columns, how can I select just one for my list?

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Data Validation using a dynamic range on a different sheet

    no problem~ =)
    what is the criteria for your user to choose the list? u may look at this link:
    http://chandoo.org/wp/2008/11/25/adv...-spreadcheats/

  5. #5
    Registered User
    Join Date
    03-20-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Data Validation using a dynamic range on a different sheet

    Brilliant. Thanks very much

    Geraint

+ 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