+ Reply to Thread
Results 1 to 8 of 8

Error in cascading (dependent) Excel drop down list

  1. #1
    Registered User
    Join Date
    03-06-2012
    Location
    west coast Norway
    MS-Off Ver
    Office 365
    Posts
    55

    Error in cascading (dependent) Excel drop down list

    Hey folks,
    We have a working excel workbook were we have cascading (dependent) Excel drop down list. We select a shaker, to which we again select a fitting screen (screen name are different depending on supplier).
    To this we have added new shaker/screens before with no issues. Now however, when we added an 8th item, it comes up in the main drop down list, but the second is dead. There is no reaction when selecting the cell, all other selections work as before.

    Under data validation/list we have the formula "=OFFSET(INDIRECT(SUBSTITUTE($C28;" ";""));0;0;COUNTA(INDIRECT(SUBSTITUTE($C28;" ";"")&"Col"));1)", when just opening it and closing a message appears stating "the Source currently evaluates to an error. Do you wan to continue". So obviously something is not right, just can't figure out what...

    The tab with issue is "Screen request", choosing "Derrick Dual Pool 600_Shaker" in cell C28 I can't get part number selections in cell D28. Choosing other shaker type works fine. Se tabs "Screen" and "ScreenPivot" for drop down selections. (this in an old file and has had multiple owners over the years...)

    Thanks in advance.
    Tigergutt
    Last edited by tigergutt; 02-24-2020 at 06:46 AM. Reason: new information
    kind regards
    tigergutt

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Error in cascading (dependent) Excel drop down list

    Please attached samples file. Check yellow banner at the top of page.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Registered User
    Join Date
    03-06-2012
    Location
    west coast Norway
    MS-Off Ver
    Office 365
    Posts
    55

    Re: Error in cascading (dependent) Excel drop down list

    Hey Kokosek,
    I know that is best and i normally do, but it's a company file so I was a little reluctant. I got the go-ahead so will attach and add some new comments to original post.

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Error in cascading (dependent) Excel drop down list

    You've replaced space with "" so range for Derrick Dual Pool 600_Shaker have to be named DerrickDualPool600_Shaker.

    Check attached file.

  5. #5
    Registered User
    Join Date
    03-06-2012
    Location
    west coast Norway
    MS-Off Ver
    Office 365
    Posts
    55

    Re: Error in cascading (dependent) Excel drop down list

    My goodness, so it was just the name in "name manager" that was wrong?

    Thank you so much for this, much appreciated and lesson learned!

  6. #6
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Error in cascading (dependent) Excel drop down list

    You welcome.
    I am not sure that creating ranges for all possible products is a good idea.
    Maybe you should consider something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    for data validation in range D28:D44?
    I've put 50 as example it can be also counted dynamically (as below)
    EDIT: (a bit monster but works):
    Please Login or Register  to view this content.
    Last edited by KOKOSEK; 02-24-2020 at 09:09 AM.

  7. #7
    Registered User
    Join Date
    03-06-2012
    Location
    west coast Norway
    MS-Off Ver
    Office 365
    Posts
    55

    Re: Error in cascading (dependent) Excel drop down list

    Thanks again.
    Yes I think this first formula makes more sense and should make it easier to add new shakers down the line. The last one looks a bit too complex for us I'm afraid

    (I tied to duplicate what you had done in original sheet, but I can't make it work so I didn't get it 100% sadly, but I thank you for uploading the file so we can continue using this going forward )

  8. #8
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Error in cascading (dependent) Excel drop down list

    You can apply first formula into your original sheet because headers for columns in Sheetpivot has been changed a bit. Take a look and find out difference with headers name between your original and attached file.
    First suggested formula indeed is easy but it create range with 50 rows even for list which contains much less rows. This 'monster' generates range with checking (COUNTA) how many rows in needed.

+ 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. Bottom up hierarchy in dependent cascading drop down list
    By sergeipol in forum Excel General
    Replies: 8
    Last Post: 11-06-2018, 02:19 AM
  2. Creating Dependent or Cascading Drop Downs
    By Draco119 in forum Excel General
    Replies: 3
    Last Post: 08-31-2018, 11:21 AM
  3. Replies: 1
    Last Post: 02-04-2017, 04:43 AM
  4. [SOLVED] Dynamic cascading dependent dropdown list
    By kevivu in forum Excel General
    Replies: 4
    Last Post: 03-26-2016, 12:24 PM
  5. Mutiple dependent drop down list with a fallback/default list on error.
    By static in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-12-2014, 06:48 PM
  6. Dynamic dependent drop-down list with cascading queries?
    By amieamieamie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2013, 09:44 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