Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have created a spreadsheet used to track gas mileage. Each row
contains the date of fill-up, amount to fill up, pricer per gallon, miles and then calculates mileage. There is a separate section that calculates the average mileage per month along with the total miles per month. Up until now I have always selected a range of cells and used average and sum for each, but I thought there should be a more automated way. More automated meaning that each cell in the average mileage and total miles section will determine what the month was entered in each row and put the calculated mileage into the average and add the total miles to the sum. The way I came up with was set up an two additional tables: one for mileage and one for miles. Each table has a column for each month. The first cell in the first column of the first table checks the first entries date, if it matches it references the mileage for that entry. The second cell of the first column checks second entry and so on. Each cell in both tables does this check. The bottom of each column calculates average and sum which is referenced by the monthly section. Initially I was hoping a single formula could be used in each cell of the monthly section to accomplish the same task. Is there a more compact way to get the same results? Thanks for any help, GeoK |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
easier way to do this? | Excel Discussion (Misc queries) | |||
got to be an easier way? | Excel Discussion (Misc queries) | |||
There's Got to be an Easier Way | Excel Discussion (Misc queries) | |||
Is there an easier way? | Excel Discussion (Misc queries) | |||
Easier Way? | Excel Worksheet Functions |