+ Reply to Thread
Results 1 to 13 of 13

Return to Combo Box with Ranges Lists

  1. #1
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Return to Combo Box with Ranges Lists

    I have 1 Combo Box drop down in which I want the selection in the Combo Box to then access the criteria to filter my worksheet. Below is a picture of small table that corresponds to the selection made in the Combo Box. This criteria is a range of values for each selection in the Combo Box to filter my rows in the worksheet.

    Combo Box Info.jpg

    Column A shows the items in the Combo Box.
    Columns B And C shows the filter criteria for each selection

    So as an example, if the end user chooses "Range from 1 to 500" from the drop down, the criteria would be the range: from Crit1 to Crit2: the criteria range for filtering the worksheet would be from 1 to 500.

    My problem is I don't know how to link the text items to its corresponding criteria to do the actual filtering of the worksheet.

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Return to Combo Box with Ranges Lists

    Apparently missed the big yellow banner. We can't do much with a picture.

  3. #3
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Return to Combo Box with Ranges Lists

    Attached is the worksheet.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Return to Combo Box with Ranges Lists

    Attached is the worksheet.
    Attached Files Attached Files
    File Type: xlsm Combo Box Sample.xlsm‎ (22.4 KB, 2 views) Download

    or see my earlier post with the worksheet attachment.

    Are there NO geniuses out there?!

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Return to Combo Box with Ranges Lists

    The reason you probably have had no answer is there appears no apparent connection between your initial request and the attached file
    A little more clarity might get a response.

  6. #6
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Return to Combo Box with Ranges Lists

    Let me completely restart my post.

    I am trying to create a Combo Box dropdown that will search and filter a range in my table.

    "Normally" the list DISPLAYED in the Combo Box dropdown has a dual function:
    1. It DISPLAYS all the possible choices that are allowed to be selected.
    2. Its 2nd function, the selection chosen also acts as the FILTER for your table.

    The Combo Box dropdown I am trying to create fulfills the DISPLAY function only. I need a way for the DISPLAY function chosen to then FILTER using a range that is ASSOSCIATED with the DISPLAY item I chose. I do not know how I can be any clearer.

    BTW: My Combo Box dropdown is an Active X control - but perhaps this is not necessary.

    Attached is a sample worksheet. NOTE: The sample worksheet is attached above. For some reason I cannot add the attachment in this post.

  7. #7
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Return to Combo Box with Ranges Lists

    Maybe something like this. I have made some adjustments, but you will see them automatically.
    Attached Files Attached Files

  8. #8
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Return to Combo Box with Ranges Lists

    @ Vraag. does your submission bear any semblance to the query in post #1

  9. #9
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Return to Combo Box with Ranges Lists

    @torachan,
    Seems to me. Filter for certain criteria that are in a combobox. The file differs from the initial question, but that is more common

  10. #10
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36
    Quote Originally Posted by Vraag en antwoord View Post
    @torachan,
    Seems to me. Filter for certain criteria that are in a combobox. The file differs from the initial question, but that is more common
    Please ignore post #1.

    My computer is out for repair with Dell at the moment, so I can open your file without the use of the Active X controls.

    However, from what I see you utilized the "Advanced Filter" approach. Yes, that works, but it is not the most "user friendly" approach. I do not want the end user to enter any data. As I said, I want the DISPLAY choice to be assosciated with the FILTER for that choice. There are no additional steps required of the end user (except to Apply Filter button). I hope I am clear.

  11. #11
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Return to Combo Box with Ranges Lists

    I have shown you the technique of splitting. What else you do with it is up to you

  12. #12
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36
    Quote Originally Posted by Vraag en antwoord View Post
    I have shown you the technique of splitting. What else you do with it is up to you
    Since I cannot see your file correctly because my computer with Excel 2010 is out for repair. Free versions of Excel (which I am compelled to use now) do NOT allow use of macros or Active X controls which are contained in both mine and your worksheets.

    I am not sure what you mean by the "technique of splitting." The bottom line is, does your technique accomplish the "user friendly" approach I described in my previous post. Is the answer YES or NO?

  13. #13
    Registered User
    Join Date
    04-28-2013
    Location
    Long Beach, NY
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Return to Combo Box with Ranges Lists

    I finally got my computer back from Dell repair. Attached is my unprotected file. The only combo box that does not work is the Total Number of Hospital Beds. This is the ONLY combo box that have choices which have ranges. This is where I need your help.
    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)

Similar Threads

  1. [SOLVED] Combo Box with Ranges Lists
    By nytwodees in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-04-2020, 03:44 PM
  2. [SOLVED] Use 2 Different Named Cell Ranges To Return Values From 1 Of the Ranges In Formula
    By DESSTRO in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-20-2017, 08:37 PM
  3. Replies: 3
    Last Post: 07-28-2014, 03:16 PM
  4. Dependent Drop Down Lists, or VBA Combo Box?
    By mjninc in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 03-12-2013, 03:29 PM
  5. Hide Combo Lists
    By mjg060468 in forum Excel General
    Replies: 2
    Last Post: 04-16-2012, 09:56 AM
  6. How to select one of three lists for a combo box?
    By Ingeniero1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-16-2006, 02:33 PM
  7. Dynamic combo Lists??
    By mickiedevries in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2005, 11:34 AM

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