+ Reply to Thread
Results 1 to 12 of 12

Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

  1. #1
    Registered User
    Join Date
    06-07-2017
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    6

    Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    I am trying to create a spreadsheet that takes data from another spreadsheet and produces drop-down menus for each field (removing duplicates), while narrowing down our next selections based on using indirect(). What I originally did was follow tutorials like this. It works, but only for the first column, I am not able to use indirect based on the first columns selection.

    Here is a screenshot example of the data I am working with. I want to be able to choose from column 1 in a drop-down (while removing duplicates) , then choose from column 2 based on my selection from column 1 (while removing duplicates), and so on with the rest of the columns.

    Let me know if you need more clarification.

    Thank you

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    A. A picture of a sheet is useless. No-one is going to re-type your stuff and we can't see what you did.

    B. Are you trying to use INDIRECT between workbooks? If so, it ONLY works if both are open.

    C. Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)?

    1. Make sure that your sample data are truly 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 information is removed first!!

    4. Try to avoid using merged cells. 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.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    06-07-2017
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    6

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Attached is an example of what I'm working with. There's 2 worksheets in the workbook. The first one is where I want to select from a drop-down from each column category.

    The second worksheet is the data I'm working with. As you can see the data has duplicates in it so I need to remove them with data validation.

    Also, I need to way to be able to update the worksheet without the workbook from breaking... I've tried pivot tables, but it doesn't work with indirect().

    Hopefully you understand what I'm getting at
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Depending on your answer to the next question... you may be able to do this using formulae. However, looking at your data, i suspect that you'll need VBA (or a miracle... or both).

    the question.

    How many rows (MAXIMUM) in Main do you want to use dropdown boxes in?

  5. #5
    Registered User
    Join Date
    06-07-2017
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    6

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Would only need around 10 rows

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Given the number of choices in your first four columns ALONE would require you to set up more than 9000 tables, using "conventional" aproaches. A TOTAL non-starter.

    However, if you need only 10 rows (can you refine that downwards at all??, as each one has to be done individually), this might be a runner.

    Take a look at this. It follows the same sort of structure that you have.

    1. Does this model (not tailored for you - just one i prepared earlier) fit your need?

    2. Do you have enough Excel to adapt it to your scenario?

    3. if so, good luck & shout if/when you hit a wall...

    4. if not, well... ask me nicely...

    You'll see that it's macro-enabled. I have a bit of VBA there to clear "upstream" boxes, should you change a "downstream" choice.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 06-07-2017 at 04:31 PM.

  7. #7
    Registered User
    Join Date
    06-07-2017
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    6

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Glenn,

    I appreciate the help. This solution seems to be exactly what I am looking for.

    I am running into one problem though. In some instances 4th dropdown column is producing the wrong dropdown data than what it should.

    I attached the file I am testing with.

    Edit: I think I spotted what's causing the problem. Are you just matching the adjacent columns with each other, like column 1 with column 2 and column 2 with column 3,...etc. Wouldn't they all need to match with each other for it to work?
    Attached Files Attached Files
    Last edited by pascarella; 06-12-2017 at 10:46 AM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Ooops. Your reply got lost. Only spotted this now. Try this...
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-07-2017
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    6

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Thank you for fixing it. It seems to be working perfectly.

    How hard would it be to add more drop-down rows? Also, I could possibly get rid of 2 columns.

    Thanks again

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    My www access is awful at the moment. I'm off the beaten rtrack in western France... I'm now a bit confused. My original understanding was that you wanted 5 columns and maximum 10 rows. Now you are talikng about 3 columns?? or what??

    can yu be abolutely explicit about what you need?

  11. #11
    Registered User
    Join Date
    06-07-2017
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    6

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Well, specifications for what I'm working on were changed... I may not need 5 columns, now. But what I'm trying to do is have more rows... Is this feasible?

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Fix issue with removing duplicates in Data Validation and using Dependent Data Lists

    Getting a specification here is like trying to get blood from a stone.... WHICH TWO COLUMNS DO YOU WANT TO USE? Depending on the number of combinations, it might be easier to use an alternative approach.

+ 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. Dependent Data Validation Lists
    By phil29 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-21-2013, 10:18 AM
  2. Data Validation dependent lists
    By ceruppel in forum Excel General
    Replies: 4
    Last Post: 01-03-2013, 09:55 PM
  3. Dependent Data Validation Lists
    By PHUAG in forum Excel General
    Replies: 7
    Last Post: 01-31-2010, 04:10 PM
  4. Data Validation - Dependent Lists
    By vladalexandresc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-28-2007, 06:42 AM
  5. Data Validation - dependent lists
    By freemind in forum Excel General
    Replies: 2
    Last Post: 03-16-2007, 04:43 AM
  6. Data map (three dependent validation lists)
    By cpurvis in forum Excel General
    Replies: 3
    Last Post: 12-11-2006, 03:16 AM
  7. Data Validation - Create dependent lists
    By Little pete in forum Excel General
    Replies: 1
    Last Post: 05-23-2005, 07:06 AM

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