+ Reply to Thread
Results 1 to 6 of 6

Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

  1. #1
    Registered User
    Join Date
    07-03-2015
    Location
    Thailand
    MS-Off Ver
    2010
    Posts
    9

    Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

    Hi There,

    I have a products database which has 3 categories and then the product name on a sheet called PRODUCTS
    Column A, Column B, Column C, Column D
    Catergory 1, Category 2, Catergory 3, Goods Description

    Construction, Walls, Interior, - Gypsum Interior Wall
    Construction, Walls, Interior, - Ply Interior Wall
    Furniture,Bathroom,Cabinet - Mirror
    Furniture,Kitchen,Cabinet, Case Unit
    Appliances,Kitchen,Ovens - 4 Burner Hob

    There are 1000's of products and only the FIRST Column is sorted alphabetically. Other columns (sub categegories) can container the same value or different

    I have a Form for staff to complete which has 4 drop down boxes so they can first choose the Main Category, then the 2nd then 3rd and be left with the products which fit those 3. They then do this multiple times on the main sheet to make a Bill Of Quantities.

    I have tried making the first 3 list boxes with Dynamic Ranges and putting the Categories on a separate sheet called formulas. I put The Category 1 in 1 column, then category 2 in another column with all the different variables available, and then a 3rd column with all the different Category 2 and Category 3 combinations. My thinking was to refernce these and then use them as a search value to return all cells from the product sheet which matched. The first 3 list boxes work but i cannot generate a 4th listbox with all the matching products.

    Formulas Sheet
    Column H Column J & K Column M&N
    Catergory1 Catergory2 Type category3 type
    ACCESSORIES ACCESSORIES AWNING ACC SPLIT
    APPLIANCES ACCESSORIES CUSTOM ACC OTHER
    CONSTRUCTION ACCESSORIES DECKING AWNING STEEL
    DOORS ACCESSORIES POOL AWNING CLOTH
    ELECTRICAL ACCESSORIES RAILINGS AWNING OTHER
    EXTERIOR ACCESSORIES RECYCLING BATHROOM EXTRACTOR
    FURNITURE ACCESSORIES ROOF TERRACE BATHROOM HEATER
    PLUMBING ACCESSORIES SAFETY BATHROOM CABINET
    WINDOWS ACCESSORIES SHUTTERS BATHROOM OTHER
    ACCESSORIES OTHER BEDROOM CABINET
    APPLIANCES ACC BEDROOM CUSTOM
    APPLIANCES KITCHEN BEDROOM OTHER
    APPLIANCES OTHER CONTAINER PREPARATION
    CONSTRUCTION CONTAINER CONTAINER CONTAINER
    CONSTRUCTION FASCIA CONTAINER OTHER
    CONSTRUCTION FLOORING CUSTOM STEEL

    I done the above using OFFSET as follows

    =OFFSET(Formulas!$M$1,MATCH(C17,Formulas!$M:$M,0)-1,1,COUNTIF(Formulas!$M:$M,C17),1)


    Can anyone help me? I have been trying for ages using INDEX, MATCH, and searched everywhere but cant seem to find the right answers. All other columns are not sorted alphabetically.

    Any help would be extremely grateful. Will try to upload screen shots or file also

    Thanks
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,982

    Re: Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-03-2015
    Location
    Thailand
    MS-Off Ver
    2010
    Posts
    9

    Re: Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

    Sorry the sample data is attached here.

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

    If I understand correctly try changing the data validation formula in E8 to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The OFFSET from D2 in the column needs to start at 0. Since the MATCH formula starts in row 1 you need to subtract 2 from the MATCH. Also the COUNTIF needs to be COUNTIFS to limit the selection to combinations of the three categories in B8:D8 (some individual categories are repeating in the 'Products' sheet).

    Edit I failed to mention: You need to stay away from doing whole column references that include math. They slow the workbook down. Those are multiplying over one 3 million rows unnecessarily. Since there is a table in 'Products' sheet you can reference the fields instead. Tables naturally "future proof" your formula range references.
    Last edited by FlameRetired; 10-09-2017 at 03:12 AM.
    Dave

  5. #5
    Registered User
    Join Date
    07-03-2015
    Location
    Thailand
    MS-Off Ver
    2010
    Posts
    9

    Re: Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

    @FlameRetired

    THANK YOU! You are a star.... It works perfectly so far. Will go over the sheet and let you know if I have any problems. I spent 2 days on it trying to figure it out. Makes sense now you have explained things.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Help Needed - Cascading Lists With Data Validation - Unsorted List Multiple Criteria

    You are welcome. Glad to help and thank you for the feedback.

+ 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] Cascading Data Validation Help Needed
    By snapfade in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-12-2017, 07:27 PM
  2. [SOLVED] How to use Data validation List for multiple Lists
    By bdouglas1011 in forum Excel General
    Replies: 6
    Last Post: 09-11-2014, 06:52 PM
  3. Replies: 3
    Last Post: 07-28-2014, 03:16 PM
  4. [SOLVED] Cascading Validation Lists
    By lyla22 in forum Excel General
    Replies: 10
    Last Post: 07-21-2014, 02:30 PM
  5. Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List
    By justforthis1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-26-2013, 12:24 PM
  6. Dependent Data Validation Using Unsorted List
    By artronnie in forum Excel General
    Replies: 8
    Last Post: 01-13-2013, 09:34 AM
  7. Replies: 1
    Last Post: 03-07-2012, 01:55 PM

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