+ Reply to Thread
Results 1 to 2 of 2

Offset / Data Validation Question

Hybrid View

Jgodean2 Offset / Data Validation... 01-03-2011, 04:30 PM
NBVC Re: Offset / Data Validation... 01-03-2011, 04:33 PM
  1. #1
    Registered User
    Join Date
    01-03-2011
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    1

    Offset / Data Validation Question

    So I'm using Offset to dynamically generate a Named Range. The statement in names manager looks like this:

    =OFFSET(Variable_Lists!$B$5,0,0,COUNTA(Variable_Lists!$B$5:$B1048572),1)

    and it describes the named Range "CaseStatus"

    Then on another sheet, I use Validation to force the user to pick from the named range CaseStatus, by using Validation, List, =CaseStatus

    This works perfectly in Cell P3, and my pulldown list gives me, e.g.

    Apples
    Oranges
    Peaches
    Pears

    But in Cell P7, my pulldown list only gives me

    Apples
    Oranges

    In cell P9 it is

    Oranges

    But in cell P12 it is

    Apples
    Oranges
    Peaches

    This is just baffling. To my understanding once a Named Range was set, it is consistent everywhere, so even if the range were wrong, it ought to be wrong in every instance. Can anybody shine any light on this?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Offset / Data Validation Question

    There is something wrong with the named range formula:


    =OFFSET(Variable_Lists!$B$5,0,0,COUNTA(Variable_Lists!$B$5:$B1048572),1)

    the $B1048572 (perhaps needs to be smaller), but it definitely needs a $ between the B and the 1048572...

    =OFFSET(Variable_Lists!$B$5,0,0,COUNTA(Variable_Lists!$B$5:$B$1048572),1)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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