+ Reply to Thread
Results 1 to 7 of 7

Combo box and 1700 blank entries

  1. #1
    Registered User
    Join Date
    05-03-2010
    Location
    Melbourne Aus
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question Combo box and 1700 blank entries

    Hi all, I have done my best to search this and other forums to find a solution to my problem as I thought it would be common however I am yet to find an applicable answer. I have 17500 rows each with a country and a city, I have two combo boxes the first selects the country from a condensed list of 95 countries. I then have an IF function in the column next to the city stating if the country in that row = country selected in 'combo box 1' display city, if FALSE display "".

    Then I have a second combo box that has the entire IF city column range selected, of course it displays all 1750 values whether they are a city or just blank (""). It is a pain to have to search through the combo box to find the non blank values.

    Sorry for the long winded explanation but essentially what I am trying to do is either:
    1. Get combo box to ignore ""
    OR
    2. populate a new range with only the country selected's cities without all the blanks

    Hope this makes sense my programming is very limited but excel skills are quite good,
    thanks for any suggestions
    -phil

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Combo box and 1700 blank entries

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    05-03-2010
    Location
    Melbourne Aus
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Combo box and 1700 blank entries

    Hi, thanks for the suggestion, I don't really know how to put a dummy worksheet up so here is the link to the real one, there is no sensitive information. It should be fairly clear,
    https://docs.google.com/leaf?id=0BwL...mZTU4&hl=en_GB
    There is no need to enable macros to observe the problem
    Thanks
    -phil

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Combo box and 1700 blank entries

    Nobody really wants to download a 1.7mb workbook.
    Resave your workbook as a different name.
    If you have 1700 lines of data, make it just 100 lines of data.
    If you have sheets that have nothing to do with your question, then delete them

    Click the "New Post" Button, then click the Paper Clip Icon and upload your small example.

  5. #5
    Registered User
    Join Date
    05-03-2010
    Location
    Melbourne Aus
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Combo box and 1700 blank entries

    Attached, thanks
    Attached Files Attached Files

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Combo box and 1700 blank entries


  7. #7
    Registered User
    Join Date
    05-03-2010
    Location
    Melbourne Aus
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Combo box and 1700 blank entries

    Hi, looks perfect, thanks!

+ 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