+ Reply to Thread
Results 1 to 3 of 3

Formulae to calculate only Business hours

  1. #1
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Formulae to calculate only Business hours

    Hi

    I am looking for formulae that needs to calculate only Business hours. I have the time in the below format


    B7= 9/22/14 4:00 PM
    C7= 9/24/14 8:00 PM

    I want to calculate total time taken in hours

    Our work starts at 2 PM every day… can someone help!!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formulae to calculate only Business hours

    Quote Originally Posted by Kiran Kurapati View Post
    Our work starts at 2 PM every day… can someone help!!
    And ends when? Assuming 22:00 (10 PM) try this formula

    =(NETWORKDAYS(B7,C7)-1)*("22:00"-"14:00")+MOD(C7,1)-MOD(B7,1)

    format result cell as custom [h]:mm and that will give you total business hours - note you need square brackets to show time above 23:59

    That works as long as B7 and C7 are within work hours, I'm assuming that Saturday and Sunday are not working days.

    Change "22:00" to required work end time
    Audere est facere

  3. #3
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Formulae to calculate only Business hours

    Prefect!! this is fantastic... Thanks a ton

+ 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] Calculate Networkdays for business hours only
    By jdgreen in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-19-2016, 03:23 PM
  2. Replies: 1
    Last Post: 03-03-2014, 02:43 AM
  3. Calculate business hours between dates including Satuday
    By amz786 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-29-2013, 08:51 AM
  4. How to Calculate Time Passed During Business Hours
    By claimsguy in forum Excel General
    Replies: 2
    Last Post: 04-19-2012, 01:11 PM
  5. Calculate based on Business Hours
    By humacdeep in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-04-2011, 05:44 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