+ Reply to Thread
Results 1 to 2 of 2

Average Times

  1. #1
    Registered User
    Join Date
    03-07-2009
    Location
    Leicester, England
    MS-Off Ver
    Excel 2007
    Posts
    1

    Average Times

    I'm trying to work out average times over a month. The problem is each day starts at 22:00 and finishes about 17:00 the following day. Using =Average(A1:A31) will not produce the correct result as this will be for 00:00 to 23:59.

    How can I tell Excel that the day starts at 22:00 and finishes at 17:00 so the correct average times is given.

    NB: The times for each day are for when an event has finished.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Average Times

    Without using helpers you could possibly use:

    =AVERAGE(IF(A1:A31<>"",MOD(A1:A31-"22:00",1)))
    Entered as an array using CTRL + SHIFT + ENTER

    or Non CSE Array option
    =SUMPRODUCT(--(A1:A31<>""),MOD(A1:A31-"22:00",1))/COUNT(A1:A31)
    Last edited by DonkeyOte; 03-07-2009 at 04:48 AM. Reason: Incorrect Range

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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