+ Reply to Thread
Results 1 to 8 of 8

Needs to distribute spent hours to pick, normal and low hours.

  1. #1
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Needs to distribute spent hours to pick, normal and low hours.

    Hello friends,
    My friend asked me to produce a spent hour consumption distribution for Pump-engine.
    Total spent hours are defined from date (A7) start time (cell B7) to end time (cell C7).If end time was less than start time, is known as end time of next day
    Also, depending on weekdays, I have a time range for pick hour, normal and low hour.
    Now, I need to distribute the # spent hours into each pick, normal and low hour.
    Because the hourly power rate tariff is different between pick, normal and low hour, the hour distribution will helps to calculate how much we have to pay to the power supplier.
    At the moment, I am stuck and could not get around it.
    Thanks in advance for your assistance.
    Attached Files Attached Files
    Quang PT

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Can we count on all Start / End times to be rounded to nearest half hour as in the upload?
    Dave

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Yes, it is set of half hour.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Low hours is weekdays only ... no Sunday hours, yet the expected returns show 7:00 during Low hours for 9/6/2015 which is a Sunday.

    And do you only include M-F for weekdays in Low hours?

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Hi
    See the file with the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Quote Originally Posted by FlameRetired View Post
    Low hours is weekdays only ... no Sunday hours, yet the expected returns show 7:00 during Low hours for 9/6/2015 which is a Sunday.
    And do you only include M-F for weekdays in Low hours?
    Thank FR,
    Low and normal hours is from monday to sunday.
    Pick hour is from monday to saturday.
    No pick hour on sunday.

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Quote Originally Posted by José Augusto View Post
    Hi
    See the file with the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks a lot, Jose Agusto
    I will pass it to my friend to check with atual data, then come back soon.

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Needs to distribute spent hours to pick, normal and low hours.

    Good one, José. Really liked your lookup table as well as formula.
    Last edited by FlameRetired; 10-28-2015 at 10:39 PM.

+ 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. Find out how many man hours is spent in each project
    By skhari in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2015, 11:31 AM
  2. [SOLVED] Formula to Calculate Normal Hours, Time & 1/2 & Double Time from Daily Hours per week
    By KazzICC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2014, 01:51 AM
  3. If time period falls outside of normal working hours how many hours does it add.
    By chrisdromey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2013, 11:56 PM
  4. calculate the hours spent for each status
    By Rose Mendoza in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2012, 09:35 PM
  5. formula to work out number of hours spent
    By cu525 in forum Excel General
    Replies: 5
    Last Post: 02-11-2012, 06:49 AM
  6. Tracking time spent in hours and minutes
    By scbeachy in forum Excel General
    Replies: 1
    Last Post: 01-31-2012, 02:37 PM
  7. Replies: 3
    Last Post: 11-21-2009, 01: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