+ Reply to Thread
Results 1 to 4 of 4

Dependent Drop Down list based on Pivot

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Manchester
    MS-Off Ver
    Excel 365
    Posts
    10

    Dependent Drop Down list based on Pivot

    I've been trying to create a couple of drop down lists that are dependent on data in a pivot table. Basically,it related to a raw materials in a drop down list as parent and the child list is a list of all batch numbers relating to that raw material.

    I've used this contextures blog as a base and managed to get it work, if I edit the sample sheet and change the pivot data to my data source but if I do it an a new sheet of my own design, it doesn't work. It's something to do with the relative cell reference names. There's a note on the sheet that reads - "Note that the StateNo and StateCityNo range names only work in Sheet1. They use relative references to read the value of the state from the cell to the left of the active cell. If you want to use the data validation drop-downs in a different Sheet, you would need to create a new set of range names specific to that Sheet." I'm not sure what this means or what I need to change in my external sheet. The cell it references in the Name Manager seems to change when I change the drop down options.

    [blog.contextures.com/archives/2010/03/31/dependent-data-validation-from-pivot-tables]

    Apologies for the vagueness. I'll do my best to answer any questions and try upload my sheet later. I'm using Excel 2013 too.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Dependent Drop Down list based on Pivot

    1. Update your profile about Excel version
    2. Attach desensitized example excel workbook with BEFORE and AFTER



    To attach an Excel file to your post,
    • desensitize data
    • remeber that your example should reflect structure and type of data
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    Manchester
    MS-Off Ver
    Excel 365
    Posts
    10

    Re: Dependent Drop Down list based on Pivot

    DataValPivot - is the Contextures sample
    Drop Down Test - is my edit.

    It works for me in the test file I edited, however if I recreate it from scratch in a new sheet, it doesn't.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Dependent Drop Down list based on Pivot

    I don't understand what the issue is with the Malt Data Drop Down Test workbook. When I select a Malt Type in cell A4 on the DropDown sheet then only the Batch No.'s associated with that Malt type appear as options in the drop down in cell B4. What is it that you expect to happen that isn't happening now?
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Clear up to three dependent drop down lists based on selection in superior drop down list
    By theletterh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-04-2016, 09:31 PM
  2. [SOLVED] Dependent Drop down list with DEPENDENT DEFAULT VALUE
    By ginieman in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-28-2013, 03:56 AM
  3. [SOLVED] Suppress drop-down list dependent on value chosen in another drop-down list
    By ptmald in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2013, 07:17 PM
  4. [SOLVED] Change Pivot tables with Macro activated by flexible entry on a Dependent Drop Down List
    By Portuga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2013, 07:29 PM
  5. [SOLVED] Dependent drop down list based on matching data
    By CUNLA in forum Excel General
    Replies: 4
    Last Post: 10-09-2012, 03:24 PM
  6. [SOLVED] Dependent Drop down list with DEPENDENT DEFAULT VALUE (e.g. Blank)
    By Waqar Ali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-26-2012, 06:31 AM
  7. Dependent Drop Down List Based on User Input
    By x12179x in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2009, 04:16 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