+ Reply to Thread
Results 1 to 5 of 5

Ignoring Black Cells in Validation Drop-Down List

  1. #1
    Registered User
    Join Date
    10-14-2010
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel Mac: 2008
    Posts
    4

    Ignoring Black Cells in Validation Drop-Down List

    I'm wondering if anyone has a formula for ignoring blank cells in a data validation drop-down list that is referencing cells in columns.

    This forum topic shows how to do it from data in rows, but my data is all in a column (and I don't want to have to transpose it every time I add a new cell):

    http://www.excelforum.com/excel-gene...ml#post2400161

    Post #3 has a great example worksheet. I need an equivalent formula that uses column data instead of rows.

    As far as I'm aware, I can't use VBA code because I'm using Office 2008 for Mac.

    Thanks.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Ignoring Black Cells in Validation Drop-Down List

    Like so....:
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-14-2010
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel Mac: 2008
    Posts
    4

    Re: Ignoring Black Cells in Validation Drop-Down List

    Thanks for the help. That's exactly what I want. The only problem I'm having is when I copy the formula into my workbook to make changes, all the empty cells now read #NUM!. I'm currently checking out my workbook to locate the problem. I have a feeling it's something to do with one of my formulas.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Ignoring Black Cells in Validation Drop-Down List

    I'm going to guess you edited the formula from using a set range to trying to use an entire column. Don't do that. These are array formulas, they do 100s of calculations over and over, just set the range to what you need a *little* more.

  5. #5
    Registered User
    Join Date
    10-14-2010
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel Mac: 2008
    Posts
    4

    Re: Ignoring Black Cells in Validation Drop-Down List

    Quote Originally Posted by JBeaucaire View Post
    I'm going to guess you edited the formula from using a set range to trying to use an entire column. Don't do that. These are array formulas, they do 100s of calculations over and over, just set the range to what you need a *little* more.
    Thanks for the tip, though this isn't the problem.
    I've realized the problem is that my "blank" cells aren't technically blank which is why it's returning #NUM!. I have an IF formula in those cells which leaves them empty (ie. =IF(A1="","",A1), if the cell it's referencing is blank. But because it contains that formula, I guess it's not considered blank. At least I think this is the problem.
    Last edited by Moxcel; 10-15-2010 at 02:32 PM.

+ 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