+ Reply to Thread
Results 1 to 6 of 6

Excel Combo Boxes and Filtering a Data Set

Hybrid View

  1. #1
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Excel Combo Boxes and Filtering a Data Set

    hi dec789, you can find some good reads here:
    http://chandoo.org/wp/2008/11/25/adv...-spreadcheats/

    the steps to do the ActiveX or Form Control are similar. it's just that because both of them are not cell-based (floating in the spreadsheet), they have an external cell link you have to based your formula on.

    do up a list of your values you wish to see if you need our help

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  2. #2
    Registered User
    Join Date
    08-25-2012
    Location
    La Habra Heights, CA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel Combo Boxes and Filtering a Data Set

    benishiryo,

    Thank you for your response. I looked at the link you attached - it seems like (and I could be wrong here) all the examples of "linking" combo boxes in Excel are based on having multiple lists of values that the combo boxes are directed to point at. If that is the only way to do this then I can live with that. I will need to create lists of data of all the possible filtering combinations my data set might have.

    In my original post I attached an Excel workbook that has two worksheets. The first worksheet "Menu" has the 4 combo boxes one for each column of data in my data set. The second worksheet "DATA" is my data set from which I would like the combo boxes populated.

    The 4 combo boxes "SECTOR", "UNIT", "DEPARTMENT", "CONTROL CENTER" are currently linked to each of the 4 columns in the data set. What I would like to happen is if the user selects a SECTOR from the first combo box then the only values presented to him in the second combo box, UNIT, would be the UNITS that belong to the SECTOR chosen in the first combo box. In an Excel spread sheet this would be exactly like filtering on a value in the column "SECTOR". Ultimately this filtering would continue so that when the user got to the third combo box, DEPARTMENT, the only values presented to him would be DEPARTMENTS that belong to the UNITS showing in the second combo box and the SECTOR in the first combo box.

    Again - not sure if this is possible this "filtering" in combo boxes. If it is not then I can develop code that will create multiple lists of pre-filtered data.

    Thank you again.

  3. #3
    Registered User
    Join Date
    08-25-2012
    Location
    La Habra Heights, CA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel Combo Boxes and Filtering a Data Set

    Sorry posted Wrong Excel Workbook. Here is the correct one.
    Attached Files Attached Files

+ 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