Results 1 to 5 of 5

Ignoring blanks in a dynamic named range

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-30-2008
    Location
    Eau Claire, WI
    Posts
    184

    Ignoring blanks in a dynamic named range

    I used each of the following codes for dynamic name ranges.

    =OFFSET(INPUT!$L$4,0,0,SUMPRODUCT(--(Detailed!$L$4:$L$27<>"")),1)
    =OFFSET(INPUT!$L$4,0,0,COUNTA(INPUT!$L:$L)-1,1)
    And each one ignores blanks at the END of the list. I have a list that users can change the names in and delete names. I have a dropdown list that is validated based on this list, and it needs to ignore blanks IN THE MIDDLE of the list as well. So no matter what cells they clear or rearrange, the dropdown list will only contain any cells with a value in it and ignore all blanks. The list is in L4:L27 on the INPUT worksheet.

    This is Excel 2007 and the worksheet and cell references at the top are accurate for my worksheet. Thanks!
    Last edited by jman0707; 10-14-2008 at 10:54 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using Named Range in VBA
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2008, 06:51 PM
  2. Dynamic Named Range not re-evaluated
    By neilg_cebu in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 06-23-2008, 06:52 AM
  3. Pivot tables & dynamic named ranges
    By WillysK5 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2008, 04:32 PM
  4. Find out what named range a cell is part of
    By pizzett in forum Excel General
    Replies: 1
    Last Post: 07-25-2007, 10:44 AM
  5. Replies: 0
    Last Post: 09-11-2006, 10:40 PM

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