+ Reply to Thread
Results 1 to 11 of 11

Data Validation List with only non-blank cells

Hybrid View

  1. #1
    Registered User
    Join Date
    11-04-2008
    Location
    FL
    Posts
    46

    Re: Data Validation List with only non-blank cells

    I just realized why it's not working. On the Salesman sheet, all down Column D are formulas of =A1&" "&B1 to combine the first and last name -- so it appears blank, but really isn't. Is it still possible to do what I'm looking for? Thanks

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Data Validation List with only non-blank cells

    Try this
    =OFFSET(Sheet1!$D$1,0,0,COUNTIF($D$1:$D$500,">"""),1)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    11-04-2008
    Location
    FL
    Posts
    46

    Re: Data Validation List with only non-blank cells

    Quote Originally Posted by ChemistB View Post
    Try this
    =OFFSET(Sheet1!$D$1,0,0,COUNTIF($D$1:$D$500,">"""),1)
    Does that work for you?
    Works perfect! Thanks!

  4. #4
    Registered User
    Join Date
    12-19-2009
    Location
    Tempe, Arizona
    MS-Off Ver
    Excel 2001
    Posts
    1

    Re: Data Validation List with only non-blank cells

    It looks like your issue was resolved, so I hope you don't mind if I hyjack your thread since my issue is similar to yours.

    I am using the equation mentioned, and I also have a long list of "blank" cells (they actually have equations in them that will fill in the cell when applicable). My new dropdown validation list recognizes the 2 cells that are not blank, however it shows 2 blank spots, instead of two actual items from my list. Did I make a mistake somewhere?
    Last edited by sabbott13; 12-20-2009 at 02:27 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