+ Reply to Thread
Results 1 to 4 of 4

Use multiple levels of Dropdown to populate a worksheet

  1. #1
    Registered User
    Join Date
    06-01-2012
    Location
    Detroit, MI
    MS-Off Ver
    Office365
    Posts
    24

    Use multiple levels of Dropdown to populate a worksheet

    I have a table that is made up as follows:
    Column A has multiple vehicle manufacturers identified (example FCA, FORD and General Motors, and they will be repeated many times).
    Column B has a program (meaning a alphanumeric designation of a vehicle built by the manufacturer identified in Column A) (example DS or KL for FCA, P552 or U554 for Ford).
    Column C has the actual vehicle production nameplate (how the vehicle is sold to the public (example 1500 or Cherokee for FCA, F-150, F-150 Supercrew, and Navigator, Navigator L for Ford).
    Column D has the assembly plant where the vehicle is actually built (example Saltillo Truck, Warren Truck, Belvidere, Toledo North for FCA and Dearborn Truck, Kansas City #2, Kentucky Truck for Ford).

    Columns E and F have annual total of each identified vehicle will be built.
    Columns G through R have how many will be built each month in the current year.

    I need to do the do the following with the data from the above identified table in a new tab:

    1. Use Dropdown that references Column A.
    2. Use Dropdown in next cell that identifies the programs in Column B that are tied to the manufacturer in Column A.
    3. Use Dropdown in next cell that identifies the vehicles in Column C that are tied to the programs in column B.
    4. Use Dropdown in next cell that identifies the assembly plant in Column D that are tied to the vehicles in Column C.
    5. The sheet would then populate the builds for that specific vehicle based on columns E through R.

    Lastly, I want to be able to have a start and end date. Example, I have added the following data in the First 4 drop down lists:

    Dropdown 1: Ford
    Dropdown 2: P552
    Dropdown 3: F-150
    Dropdown 4: Dearborn Truck

    The sheet has now automatically populated the builds for this as follows:

    CY2016 92,925
    CY2017 72,286
    Jan 2017 4,961
    Feb 2017 5,607
    Mar 2017 5,967
    Apr 2017 4,864
    May 2017 6,901
    Jun 2017 5,867
    Jul 2017 4,472
    Aug 2017 8,281
    Sep 2017 7,987
    Oct 2017 6,645
    Nov 2017 5,623
    Dec 2017 5,111

    But, my specific customer does not start supplying until Aug 2017, so I want to add the start date of Aug 2017 and End Date of Dec 2017. The sheet will automatically zero out everything prior to Aug 2017. This would then automatically recalculate the CY 2017 number from 72,286 to 33,647. Also, because my customer does not start supplying until Aug 2017, it would also zero out the CY2016 number.

    I hope all this makes sense. I have attached the actual table that contains a small portion of the Vehicle Data I am looking to work with.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-28-2017
    Location
    uk
    MS-Off Ver
    2013
    Posts
    15

    Re: Use multiple levels of Dropdown to populate a worksheet

    to have dynamic drop down lists you need to have your lists created as Named Ranges. The Name of these Ranges need to be populated in the main drop down list entered for example in Column A.Then you do a Data Validation drop down link, say in column B and on the source line enter =indirect(A1) then, depending on the item chose in A1 depends on what items appear in the drop down in Col B. I hope that helps. Great fun when its up and running. we provide Excel training for businesses.
    Last edited by AliGW; 06-28-2017 at 04:35 PM. Reason: Promotional link removed - this has been noticed on at least one other forum.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Use multiple levels of Dropdown to populate a worksheet

    Take a look here ...


    http://www.contextures.com/xlDataVal02.html

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

    Re: Use multiple levels of Dropdown to populate a worksheet

    Quote Originally Posted by NC Training Services View Post
    ...please visit us at https:...
    Links directly to personal commercial services on your own blogs or code sites is prohibited.
    • Links in posts must be to relevant free solutions on your site.
    • Links in signatures must be to landing site of your blog that clearly promotes the free material above the commercial offerings.
    • Cross-promotion of, or links to, forums competitive to this forum in signatures or posts is prohibited.
    Last edited by AliGW; 06-28-2017 at 04:36 PM. Reason: Promotional link removed.

+ 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] Input cell value based on multiple dropdown list to populate
    By Anisusa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2017, 07:15 AM
  2. Replies: 1
    Last Post: 08-09-2013, 07:35 PM
  3. UserForm to populate multiple rows in a Worksheet
    By clapforthewolfman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2013, 01:11 PM
  4. How to populate a second worksheet based on multiple criteria from another worksheet
    By bruce.shoemake in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2012, 05:28 PM
  5. Replies: 1
    Last Post: 06-02-2010, 05:18 AM
  6. Automatically Populate dropdown for each new worksheet created
    By ahmed-k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2010, 02:16 PM
  7. [SOLVED] getting multiple data to populate another worksheet
    By nick parker in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-11-2005, 11:06 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