+ Reply to Thread
Results 1 to 4 of 4

Formulas to calculate average trips per month

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    SOUTH AFRICA
    MS-Off Ver
    MS EXCEL 2016
    Posts
    109

    Formulas to calculate average trips per month

    Good day

    I'm a bit stuck here on how to analyze the attached spreadsheet.

    Please assist I need to able to show opening & closing Odometer (start & End) respectively per month
    and calculating Per month: the average trips per day, average distance per day

    And also top 30 Longest trips from (Feb21 to Oct21)

    Please your assistance will be highly appreciated
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,495

    Re: Formulas to calculate average trips per month

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Formulas to calculate average trips per month

    Could you exemplify what you want in your workbook?

  4. #4
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Formulas to calculate average trips per month

    I created a Summary worksheet to hold the requested data.

    log_book_gw.png

    In C1 is 1-Jan-2021, D1 contains 1-Feb-2021, E1 contains 1-Mar-2021 etc. etc.

    In C2 copied across to O2 for the opening odometer:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This formula makes sure to get the very first odometer log entry for the particular month.

    In C3 copied across to O3 for the closing odometer the formula is almost identical (differences are highlighted)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Average trips per day in C4 copied across to O4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Average distance per day in C5 copied across to O5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    For the 30 longest trips, the start date is entered by the user in B7 and the end date is entered in B8. The results are listed in order of largest first, so in B10 copied down to B39:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Finally C10 to C39 is the Date/Time corresponding to each of the longest distances.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The attached workbook implements the above formulas.

    Hopefully this is close to what you are looking for. Let us know.
    Attached Files Attached Files
    Last edited by GeoffW283; 11-06-2021 at 12:41 AM.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

+ 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] How to Calculate Average for 12-Month Trendline
    By AverageJoe2015 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-06-2019, 08:17 PM
  2. calculate average Quality score based on month
    By Sanjibghosh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2017, 06:48 AM
  3. [SOLVED] Calculate Monthly Average when Month is not yet complete
    By narrowgate88 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-20-2016, 11:57 AM
  4. How to calculate the average tenure in Year and Month
    By Nisha Dhawan in forum Excel General
    Replies: 5
    Last Post: 06-11-2015, 03:23 AM
  5. [SOLVED] How to calculate average by month and year
    By 1losthuman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-03-2015, 11:20 AM
  6. [SOLVED] How to calculate an average for all days within a certain month
    By consulttk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-03-2012, 11:37 AM
  7. Calculate highest average balance during month
    By jonrayworth in forum Excel General
    Replies: 3
    Last Post: 07-11-2007, 04:51 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