+ Reply to Thread
Results 1 to 5 of 5

Dynamic Named Range on Visible cells

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Dynamic Named Range on Visible cells

    Column A is Dept ID. Column B is Program Name.

    On anohter sheet I have two cells with data validation from the DeptID and Program Named lists. Using the data validation forDept ID triggers an autofilter which then filters the DeptID by the choice. I have a second data validation cell which is populated by the list of Program Names. I would like ONLY the Program Names that appear in the visible cells to populate this box, so need a Dynamic Named range of only the visible cells. On the internet I keep seeing that this is impossible, but I know the amazing minds at Excel Forum do the impossible before breakfast, so I'm confident of a solution.

    Any help is greatly appreciated.

    Thanks,
    John
    Last edited by jomili; 09-07-2011 at 02:42 PM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Dynamic Named Range on Visible cells

    Presumably your autofilter is triggered by code, in which case you can copy the visible cells from col B to another location that you use as the DV source.
    Remember what the dormouse said
    Feed your head

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Dynamic Named Range on Visible cells

    Yes, I can do that. I was hoping instead for a more straightforward way.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Dynamic Named Range on Visible cells

    Nope. A DV list range has to be one contiguous row or column.

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Dynamic Named Range on Visible cells

    Well, that's not the best news, but at least I know for sure. Thanks for straightening me out.

+ 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