+ Reply to Thread
Results 1 to 4 of 4

Table with rows and content dependent on selection of drop-down menu?

  1. #1
    Registered User
    Join Date
    03-05-2020
    Location
    san diego, california
    MS-Off Ver
    Excel 2013
    Posts
    2

    Question Table with rows and content dependent on selection of drop-down menu?

    I am trying to make a calculator that determines total yearly emissions of a fleet of aircraft. Every aircraft has a specific set of operations it carries out each year, which all create a different amount of emissions. Each of these operations create different amounts of emissions.

    As my project is right now, there are two drop down menus. The first selects an aircraft, and the second selects an operation. "Select Operation" drop-down is dependent upon the selection in the "Aircraft" drop-down. You can enter the number of that type of aircraft into cell B3, and the # of that particular operation per year in D3, and the following cells read the emission data for that operation. The program then adds those numbers to array D4:K4, displaying the total calculated emissions
    Since adding the aircraft emissions together operation by operation is tedious, I want to make it so that rather than having a "Select Operation" drop-down, a table displaying each possible operation is displayed depending on the aircraft selection. The table should change size depending on selection as well, as some aircraft have different numbers of operations.

    Thanks in advance, this is my first major project in Excel. I'm new to this forum so message me if you need a link to the spreadsheet.
    Attached Images Attached Images

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

    Re: Table with rows and content dependent on selection of drop-down menu?

    Hello gbiz123 and Welcome to Excel Forum.
    My initial thought is that a pivot table would accomplish what you want.
    I feel that putting the aircraft and operations in Rows field, type of emissions in the Columns field and amount of emissions in the Values field would be the way to go.
    You could either filter the aircraft using the filter button on the column header (presumably "Aircraft") or make a slicer based on aircraft.
    If this doesn't work for you then I suggest utilizing the instructions in the banner at the top of the page to upload a sample workbook, perhaps data on 2 or 3 three aircraft.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    03-05-2020
    Location
    san diego, california
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Table with rows and content dependent on selection of drop-down menu?

    Thanks, the pivot table is a huge help. What feature would allow the user to enter data (# aircraft, operations per year) into a pivot table most efficiently?

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

    Re: Table with rows and content dependent on selection of drop-down menu?

    If there is a column for year in the source data then you could either:
    1. Add Year to the Rows field and filter that as well as aircraft
    2. Put Year in the Filters field
    3. Put Year in a slicer
    If there isn't a Year column, or if the above doesn't work, then I suggest uploading a sample so we may determine an efficient method of filtering.
    Let us know if you have any questions.

+ 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. Match table per drop down menu selection
    By chachacharlie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2019, 02:07 PM
  2. [SOLVED] Changing values in a table based on drop down menu selection
    By Dropsix in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-03-2018, 12:09 PM
  3. Replies: 4
    Last Post: 09-11-2014, 10:38 PM
  4. Create a sheet with content dependent on the selection of a drop-down list
    By bbaumgardner22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2013, 04:25 PM
  5. [SOLVED] Hide rows from selection in drop down menu
    By TonyLB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2012, 11:34 AM
  6. Hiding Rows based on Drop Down menu selection
    By smurph_27 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2008, 08:36 PM
  7. Replies: 2
    Last Post: 02-13-2006, 12:00 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