+ Reply to Thread
Results 1 to 8 of 8

Reference sheet in workbook to use dependent drop down lists

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    17

    Exclamation Reference sheet in workbook to use dependent drop down lists

    Hello all,

    I have created a sheet that uses 2 dependent drop down lists (pipe size then pipe description). According to the options chosen from each drop down list (size then description), the price is displayed accordingly.
    I am now trying to move these drop down lists to a different sheet within the same workbook. I only want to have the sheet where the drop down lists are currently located used as a reference sheet (where the raw data for the drop down lists is). If I simply copy and paste, the drop down lists become faulty and show different options/data.
    I want to be able to at least copy one row of drop down lists from the "Piping and Fitting" sheet onto the "Summary". Once copied/referenced onto the summary sheet, I want to be able to drag the drop down the lists for the amount of rows I want to use.
    I know this has to do with correctly referencing from the Name Manager.

    On the attached file, the Piping and Fitting sheet works perfectly. On the other hand, the drop down lists from the Summary sheet are faulty.

    Does anyone know how to correctly reference these?
    Also, is this possible to do using a different workbook rather than a different sheet?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Reference sheet in workbook to use dependent drop down lists

    First, in Column E, I changed the array formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then for Dropdownsize defined name, I used this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    That seemed to sort everything out. Yes?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    10-10-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Reference sheet in workbook to use dependent drop down lists

    Hi ChemistB,

    Thanks for the reply!

    It did fix the issue I had with the drop down lists. However, I still see a problem with it.
    As I change the pipe size from let's say 10'' to 10'' x, the description list doesn't change accordingly.
    If I select 10" x, the 2nd drop down list should only have all the reducers as a selection, that's not the case here. It only shows all the pipe, tubing, elbows, tee options...the reducers do not even show up.
    However, you'll see that the drop down lists from the Piping and Fitting sheet doesn't have this problem.

    Also, even if I select the ones I want from the Summary sheet, the price does not update unlike the Piping and Fitting sheet

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Reference sheet in workbook to use dependent drop down lists

    Your Description Defined Name references Pipes & Fittings!G3. You'll need a separate defined name (I used Description1) which references Summary!A25.
    See attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-10-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    17

    Exclamation Re: Reference sheet in workbook to use dependent drop down lists

    Thanks ChemistB!

    That is great, seems to have fixed the problem!
    I still can't get the price to update as a change the drop down lists on the Summary sheet...

    Any ideas?


    Thanks again!

    Arsene

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Reference sheet in workbook to use dependent drop down lists

    You weren't referencing the piping and fitting sheet in multiple places. It should be this array formula in Summary!C25
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Does that work for you?

  7. #7
    Registered User
    Join Date
    10-10-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    17

    Question Re: Reference sheet in workbook to use dependent drop down lists

    Thank you ChemistB, that works perfectly!

    And I promise this will be my last post on this thread.
    I am now trying to display the unit for the description I choose from the drop down list.
    For example, if I choose Pipe or Tubing from the 2nd drop down, I want the unit to show "ft".
    On the other hand, if I choose anything else other than Pipe or Tubing, like reducer, tee let's say, then I want the unit to show "ea".

    I am able to return the correct unit when I choose Pipe, but if I choose Tubing, the wrong unit is displayed, I can't figure out why.
    This is the formula I am using in cell D25:
    =IF(ISERROR(SEARCH({"Pipe","Tubing"},B25,1)),"ea","ft")

    I don't want this to be case sensitive.

    Thanks again!
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-10-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Reference sheet in workbook to use dependent drop down lists

    Finally found the correct formula that worked for me.
    here it is (in cell D25)
    =IF(ISNUMBER(SEARCH("Pipe",B25)),"ft",IF(ISNUMBER(SEARCH("Tubing",B25)),"ft","ea"))

    If Pipe of Tubing is selected, then "ft" is displayed as a unit.
    If anything else is selected (reducer, tee, elbow), then "ea" is displayed as a unit.

    Thanks ChemistB for the help in the previous threads!

+ 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 drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  2. [SOLVED] Column B drop down list with 2 options, columns C & E with dependent drop down lists
    By betic in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-26-2012, 03:47 PM
  3. [SOLVED] Dependent drop down lists
    By electrohead in forum Excel General
    Replies: 2
    Last Post: 07-17-2012, 02:45 AM
  4. Replies: 7
    Last Post: 05-19-2011, 01:13 PM
  5. Dependent Drop Down lists (multiple drop down)
    By jijy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2007, 09:56 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