+ Reply to Thread
Results 1 to 3 of 3

Thread: Remove blank from drop down list

  1. #1
    Registered User
    Join Date
    11-11-2011
    Location
    Pune, India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Remove blank from drop down list

    Hi,

    Please see the attached file. In cell D15 I have a drop down for letters and based on the value in D15 I have to show the corresponding letters in drop down in E15.

    For example I select letter 'C' in D15 then in the drop down in E15, it should show the numbers 4 and 10 only and no blank spaces in between or after. Similarly if I select letter 'K' in D15 then in the drop down in E15, it should show the numbers 7 and 9 only. The data for these 2 drop down is from B3 to H10. I do not want to use any macro. I just want to use the excel functions. I am not getting any example like this. I hope I am clear enough in describing about what I am expecting. Can someone please help.

    Thanks in advance,
    skexcel
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: Remove blank from drop down list

    Here is one way.

    Check out this site
    http://www.contextures.com/xlDataVal02.html
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-11-2011
    Location
    Pune, India
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Re: Remove blank from drop down list

    Hello,

    Thanks for the example and link. But the problem is if there are spaces in the data. See the attached modified file. The numbers in red colour are not being displayed in the dependent drop down. I do not want to see the spaces in between the numbers 5, 9 and 1 as well as 4,10 & 3. How can we remove these spaces?

    Quote Originally Posted by davesexcel View Post
    Here is one way.

    Check out this site
    http://www.contextures.com/xlDataVal02.html
    Attached Files Attached Files
    Last edited by skexcel; 11-14-2011 at 01:54 AM.

+ 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.2.0