+ Reply to Thread
Results 1 to 2 of 2

Calculate minutes per month from two different date & time values in different months

  1. #1
    Registered User
    Join Date
    01-02-2013
    Location
    brisbane
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Calculate minutes per month from two different date & time values in different months

    I want help with excel. I record start date/time and end date/time of an event. And I want to see, for how many minutes that event happens each month.

    The problem is, if the start date is at the end of the month and end date is at end of first week of next month, then how do I account for the hours in each month.

    Eg Start date & time = 30 july 2012 & 10pm
    End date & time = 6 Aug 2012 & 11am


    Start date & time = 28 Aug 2012 & 1 am
    End date & time = 1 Sep 2012 & 5am


    Start date & time = 29 Sep 2012 & 6pm
    End date & time = 5 Nov 2012 & 11am


    Start date & time = 10 Dec 2012 & 9pm
    End date & time = 2 Feb 2013 & 1 pm



    I want to work out a formula which looks at the dates and calculates ‘total minutes for the event’ for every month.

    The sheet can look like
    Jan = __ hours
    Feb = __ hours
    Mar = ____ hours


    thanks

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Calculate minutes per month from two different date & time values in different months

    The first month's minutes can be calculated with

    =(IF(MONTH(A3)>MONTH(A2),INT(A3-DAY(A3))+1,A3)-A2)*24*60

    and assuming that is in B2, the other month is

    =(A3-A2)*24*60-B2

    Adapt that for your spreasdheet.

+ 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. Replies: 7
    Last Post: 08-12-2013, 06:13 AM
  2. Replies: 2
    Last Post: 06-21-2012, 08:17 PM
  3. Replies: 1
    Last Post: 11-02-2011, 06:50 PM
  4. Replies: 1
    Last Post: 11-02-2011, 06:44 PM
  5. Replies: 6
    Last Post: 08-30-2011, 08:47 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