+ Reply to Thread
Results 1 to 17 of 17

How to calculate time spend on a task

  1. #1
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Talking How to calculate time spend on a task

    Hello, this is my fist time on the forum, How can I calculate the time spend with a date, start time and End time by Merch type and banner for each wave (Each wave has a 2 tasks, a Replenishment task and a pick task)

    Wave 1 - Footwear - Banner 1
    Wave 2 - Footwear - Banner 2
    Wave 3 - Accessories - Banner 1
    Wave 4 - Accessories - Banner 2
    Wave 5 - Handbags - Banner 1
    Wave 6 - Handbags - Banner 2



    Thank you in advance for your help!!

    Fred

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: How to calculate time spend on a task

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    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,948

    Re: How to calculate time spend on a task

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    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.

  4. #4
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Re: How to calculate time spend on a task

    Hello,
    I am trying to find a formula that will give me the Minimum Start date/Start time and the Maximum Confirmed date/Confirmed time of each wave.

    See attached file.

    Thanking you in advance for your help!
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-05-2022
    Location
    Indonesia
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    51

    Re: How to calculate time spend on a task

    I am confused by the title and the request,

    the title says : calculate time spend on each wave (confirmed date/time - start date/time)
    the request says : give me the Minimum Start date/Start time and the Maximum Confirmed date/Confirmed time, (I think it's automatically created or manually created when the wave begins(?) )

    maybe you can give more explanation about the calculation? e.g raw data (edited/non sensitive) and how it looks if it's done (manually)
    I'm not an expert, but I'll try

  6. #6
    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,948

    Re: How to calculate time spend on a task

    MIN Date/Time in N2:

    =MIN(IF($C$2:$C$103=C2,$J$2:$J$10))+MIN(IF($C$2:$C$103=C2,$K$2:$K$10))

    MAX Date/Time O2:

    =MAX(IF($C$2:$C$103=C2,$J$2:$J$10))+MAX(IF($C$2:$C$103=C2,$K$2:$K$10))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

    Calculation in P2:

    =O2-N2

    Formatting for columns N and O:

    dd/mm/yyyy hh:mm:ss

    Formatting for column P:

    [hh]:mm:ss
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: How to calculate time spend on a task

    Simpler non-array (just use Enter) alternative:

    =AGGREGATE(15,6,($J$2:$J$10+$K$2:$K$10)/($C$2:$C$10=C2),1)

    and

    =AGGREGATE(14,6,($J$2:$J$10+$K$2:$K$10)/($C$2:$C$10=C2),1)
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Re: How to calculate time spend on a task

    Hello AliGW,

    How can I link the MIN and MAX time with the appropriate wave number?


    Thank you in advance,

    Frederic

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: How to calculate time spend on a task

    Not sure what you mean... already the Min/max are specific for each wave number in the solutions offered both by Ali & myself...

  10. #10
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Re: How to calculate time spend on a task

    Hello Glenn,
    the thing is that I need the MIN and MAX on a unique row with the wave number. Presently for example, wave 4000018357 is on 8 rows.

    Thank you
    Frederic

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: How to calculate time spend on a task

    Is this what you mean? If not, then please do what you should have done at the start.... show us your expected results, calculated manually, on your sample sheet.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Smile Re: How to calculate time spend on a task

    Hello Glenn,
    it works, thanks!

    In a formula, see below copy from the last attached file you sent. If I calculate the time spent to do wave 4000018362, it give me 26:56 minutes, but this time is wrong as we only have a shift of 8 hours a day (7:00 am to3:00 PM)
    So how can I calculate the real time spent to do the wave?

    See attached file
    Attached Files Attached Files

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: How to calculate time spend on a task

    Try the following in cells P2 and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  14. #14
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Re: How to calculate time spend on a task

    Hello JeteMc,
    Thank you for your help!


    Now, what is the best way to do the following;
    • To remove the employee break from the wave time.
    • To show that time on a Key Performance Indicator/Graph?


    Thank you,
    Frederic
    Attached Files Attached Files

  15. #15
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: How to calculate time spend on a task

    Best is a subjective term.
    However, we may be able to propose a method of removing breaks from wave time.
    I feel that we will need to know what the break times are and preferably see a sample of manually calculated results.
    As to the graph, the most self-explanatory may be a clustered column chart produced from a pivot table that only utilizes Wave in the Rows area and Sum of Wave Time in the Values area.
    Let us know if you have any questions.
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    02-23-2022
    Location
    Montreal
    MS-Off Ver
    2016
    Posts
    7

    Re: How to calculate time spend on a task

    Hello JeteMc,

    I have attached the file that includes the Work day shift and the breaks.

    thanking you in advance for your help!

    Frederic
    Attached Files Attached Files

  17. #17
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: How to calculate time spend on a task

    This one will require some testing and modification, however it seems to work for the sample:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that a column (A) for team has been added to the
    Let us know if you have any questions.
    Attached Files Attached Files

+ 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. Calculate expected time to finish task
    By oranb in forum Excel General
    Replies: 12
    Last Post: 09-11-2021, 12:03 PM
  2. [SOLVED] Pivot Chart: Task spend over time, +comparison w/ Task Budget
    By mike_302 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 12-28-2018, 04:21 PM
  3. [SOLVED] Calculate time to do a repetitive task
    By Hood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2018, 06:56 PM
  4. need function to calculate time spent on the given task
    By Giri.hb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2015, 04:44 AM
  5. Calculate time spend at work
    By Ofentse in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-26-2014, 10:17 PM
  6. Replies: 0
    Last Post: 11-17-2013, 10:21 AM
  7. Replies: 8
    Last Post: 08-10-2009, 04:21 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