+ Reply to Thread
Results 1 to 20 of 20

Time Calculation

  1. #1
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Time Calculation

    Hello,
    I have a problem, I do not know how to get column J.
    Help me, please.

  2. #2
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Time Calculation

    =$j.

    For more, attach sample sheet with desired result.
    To attach worksheet Go advanced -> Manage attachments -> Choose file -> Upload
    Don't forget to Mention your desired result in the sheet..
    There should be sample data only, a lot of data creates confusion.

    Thanks & Regards

    Shivya

    http://excelvbatipsforbeginners.blogspot.in/

  3. #3
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Sorry

    This is file
    Attached Files Attached Files

  4. #4
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Time Calculation

    Hello Pippo83,
    Please mention,
    How to calculate that value of column j?

  5. #5
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Yes,I can not calculate column j

  6. #6
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Time Calculation

    Quote Originally Posted by Pippo83 View Post
    Yes,I can not calculate column j

    Tell me, what is the procedure to get this result
    I will tell you the formula only.

  7. #7
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

  8. #8
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Tempo SLA =Tempo effettivo - transazioni escluse

    J=I-H

  9. #9
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Time Calculation

    =IFERROR(I2-H2,I2)

    where is the issue?
    Attached Files Attached Files
    Last edited by shivya; 11-07-2017 at 10:48 AM.

  10. #10
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Thanks.
    But K6,K7,K9,K10,K11 is different J6,J7,J9,J10

  11. #11
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,858

    Re: Time Calculation

    Here's what I see:

    1) column G is a simple difference between F and E.
    2) column H is the difference between E and C when those conditions are met. Otherwise it is empty string "".
    3) column I is a simple difference between C and B.
    4) Column J looks like it takes the value in column I and subtracts the value of column H, if there is a value in H for the associated text string in column A.

    Does that look correct? Which of those formulas would you need help with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  12. #12
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    4) In the row I6 I get 0:31:22, instead I should get it 0:21:42 as J6

  13. #13
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,858

    Re: Time Calculation

    What formula are you using in I6? The current formula is simply $C6-$B6 with no reference to column H. I would have expected something like =$C6-$B6-$H$8, or something (a lookup function or sumifs() or something similar, depending on exactly what is supposed to happen) that dynamically picks up the value in H8.

  14. #14
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Smile Re: Time Calculation

    Hello Pippo83,

    Yes, I know that you want J6 as your result but you are not getting the same but pippo, We can't help you in this, If you will tell me the way to calculate then we can help in formula.

  15. #15
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Thanks MrShorty, I do not know very well excell, so I asked for help to you. I do not know how to use the SUMIFS formula

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

    Re: Time Calculation

    I am making a guess that the logic here is that if any Tipo intervallo for a particular Numero TT has a Transazioni escluse value associated, that all of that particular Numero TT should subtract that Transazioni escluse value from the corresponding Tempo effettivo (F.I.).
    If that is the case then select cell J2,
    Paste the following array entered formula* into the formula bar:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Simultaneously press the Ctrl, Shift and Enter keys,
    With the cell still selected drag the fill handle down to cell J11.
    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.

  17. #17
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Thanks a lot JeteMC.
    I copied your formula, I got the column in yellow, but I should get the column in blue
    Attached Files Attached Files

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

    Re: Time Calculation

    The formula must be activated by pressing and holding the Ctrl and Shift keys while you press the Enter key before you copy it down to row 11.
    Let us know if you have any questions.

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

    Re: Time Calculation

    Wouldn't SUMIF give the same results without array entry?

    =I2-SUMIF(A$2:A$11,A2,H$2:H$11)
    Audere est facere

  20. #20
    Registered User
    Join Date
    11-07-2017
    Location
    potenza
    MS-Off Ver
    excel 2013
    Posts
    12

    Re: Time Calculation

    Great! It's fantastic !
    Thanks so much daddylonglegss. Your formula is correct :-)

+ 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. Start time and End time Calculation sheet and uneditable of Time
    By tgray007 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 03-17-2017, 10:02 AM
  2. Replies: 2
    Last Post: 02-03-2017, 07:39 AM
  3. Budgeting out percentages of time from a time card calculation sheet
    By mhadaway in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-24-2015, 05:05 PM
  4. [SOLVED] Excel calculation for adding time and calculating remaining time
    By mark888 in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 01-12-2015, 12:55 PM
  5. [SOLVED] Excel calculation for adding time and calculating remaining time
    By mark888 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2015, 06:38 AM
  6. [SOLVED] Time entry on UserForm displaying inccorectly and calculation not working on the time.
    By Colin Smit in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-12-2014, 01:21 PM
  7. Payroll time sheet calculation where time exceeds 24 hours
    By Rolo1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2014, 08:57 AM

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