+ Reply to Thread
Results 1 to 9 of 9

Drop down list Sum Function

  1. #1
    Registered User
    Join Date
    06-02-2016
    Location
    TX USA
    MS-Off Ver
    2013
    Posts
    5

    Drop down list Sum Function

    Greetings all, im extremely new at this whole Excel thing that involves more then just reading and typing a list out. So here is what i am trying to accomplish. I am trying to make a spreadsheet that tracks fuel, mileage, and hours on a set of vehicles. Plan is this:

    __________________________________

    Column A Column B Column C Column D

    Vehicle Fuel Miles Hours
    E1 12 123 5
    c4 6 23 2
    D3 43 56 90
    E1 3 5 2
    __________________________________


    Totals:
    Total Fuel: (all of column D which i know how to do)

    E1: Fuel: (total fuel used for this vehicle)
    Miles: (Total miles used for this vehicle)
    Hours: (total hours used for this vehicle)
    C4: Same as above

    so on and so forth

    Basically, i will have a drop list within the cell with all the vehicles. I am wanting a total fuel usage (which i have figured out), but i want to make another "Totals" list based on the vehicle. This list will be listed in the order in which they call in over time. My question is, how do i format the sum cell to read the list in column a based on the vehicle if that makes sense

    Does that makes sense? If you have any questions please ask!

  2. #2
    Registered User
    Join Date
    04-04-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    89

    Re: Drop down list Sum Function

    upload sample excel file

  3. #3
    Registered User
    Join Date
    07-09-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Drop down list Sum Function

    make a pivot , i mean on all data first press ctrl+A and Alt+d+P then enter 4 times you will enter into pivot from the right hand side drag drop the items in Row lables and Values please find attached the sheet for your reff.fuel.xlsx

  4. #4
    Registered User
    Join Date
    06-02-2016
    Location
    TX USA
    MS-Off Ver
    2013
    Posts
    5

    Re: Drop down list Sum Function

    Attached is a small idea of what im looking for
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-02-2016
    Location
    TX USA
    MS-Off Ver
    2013
    Posts
    5

    Re: Drop down list Sum Function

    I guess what im looking for is, in the total hours(fuel or miles) for the respective vehicle, how can i select the vehicle put in the information, while it automatically updates the rest of the totals at the bottom

  6. #6
    Registered User
    Join Date
    06-02-2016
    Location
    TX USA
    MS-Off Ver
    2013
    Posts
    5

    Re: Drop down list Sum Function

    So i figured out the pivot table and the end result is exactly what i want. However this is an ongoing form that is used and updated often. However i would like to be able to have all the tables figured out and sorted and when new data is put into the base data table, it automatically recalculates everything in the final tables.

    It seems with using the pivot table, its only for data that's already available.

    Does that make much sense?

  7. #7
    Registered User
    Join Date
    07-09-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Drop down list Sum Function

    You can Change the Data Source so every time Data is added it will be picked by Pivot table , you have to right click on Pivot and Refresh pivot every time new data is added in Source pic attached for reference.

    pivot .jpg

  8. #8
    Registered User
    Join Date
    06-02-2016
    Location
    TX USA
    MS-Off Ver
    2013
    Posts
    5

    Re: Drop down list Sum Function

    Oops double post.

  9. #9
    Registered User
    Join Date
    04-04-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    89

    Re: Drop down list Sum Function

    Pivot format attached. Hope this is the one you are asking.
    Attached Files Attached Files

+ 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] IF function with drop-down list
    By hobo1999 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2015, 02:30 PM
  2. Drop Down List Function
    By salmanjan in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-23-2014, 08:05 PM
  3. Drop down list dependant on IF function
    By Julian Philips in forum Excel General
    Replies: 1
    Last Post: 03-18-2013, 09:11 AM
  4. [SOLVED] sumif function using a drop list
    By wayneg in forum Excel General
    Replies: 2
    Last Post: 11-28-2012, 12:28 PM
  5. Drop down list function range on another sheet
    By newbie4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2012, 02:48 PM
  6. [SOLVED] IF Function Return Drop-Down List
    By bRob in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-19-2012, 05:32 PM
  7. IF function and a drop down list validation.
    By Stevie-B in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2008, 02:17 PM

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