+ Reply to Thread
Results 1 to 5 of 5

How to calculate total time-intervals that correspond to a specific criterion

  1. #1
    Registered User
    Join Date
    05-02-2018
    Location
    Newcastle, England
    MS-Off Ver
    MS Office 2016
    Posts
    2

    Exclamation How to calculate total time-intervals that correspond to a specific criterion

    greetings all


    my data
    --------------------------------------------------------------------
    I have a series of decimal values which represent hours, these values correlate to a given fuel flow rate at that time instant.

    I have grouped the fuel flow rates into 3 groups
    (=IF(F4 > =2800,3,IF(AND(F4 > =570,F4 < 2800),2,IF(AND(F4 > =0,F4 < 570),1)))

    this correlates the fuel flow rates with the number of engines used (1, 2 or 3 Engines) depending on the fuel flow rate value

    During a given time span the number of engines used in the ship fluctuates (post continued after pic)
    Capture.PNG
    ----------------------------------------------------------------


    problem
    ----------------------------------------------------------------
    how can I measure the total time interval of each group???
    (i.e the total timespan where No. of Eng=1 or No. of Eng.=2 or No. of Eng=3)

    what I attempted was =SUMIF(G7661:G22484,1,C7661:C22484), =SUMIF(G7661:G22484,2,C7661:C22484), =SUMIF(G7661:G22484,3,C7661:C22484)
    but realised that just adds the time values together

    I think I somehow need to subtract the last value when the group changes from 1 - > 2, 2 - >3, 3 - > 2, 2 - > 1 with the first.... but I really have no idea how to get around this
    -----------------------------------------------------------------


    please god someone help me lol
    Last edited by esketit; 05-03-2018 at 02:17 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: its complicated.... (pls help Dissertation due Tuesday)

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: its complicated.... (pls help Dissertation due Tuesday)

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)


    Nothing is more frustrating than to be working on homework and to get stuck. Without guidance, you might have no hope of finishing the assignment before the deadline. The Internet can be a big help in that respect, but without learning how to get the right answer, asking others to solve your homework questions for you simply becomes a downward spiral (and it's cheating).

    We do not want to contribute to you cheating yourself out of your education, but we also acknowledge that seeking assistance to learn a concept is a legitimate request.

    If you are genuinely interested in receiving help in the form of tutoring or coaching, then please rephrase the title of your original post to clearly indicate you are seeking coaching or tutoring help. Any forum members (who are willing to assist as a tutor) will modify their responses accordingly to facilitate your learning. Tutors don't tell you the answers, they help you figure it out for yourself; so don't expect answers, expect suggestions, or just plain hints. Also, be specific in describing the function/formula or technique you trying to learn, and tell us what you have attempted so far. Otherwise, expect your plea for homework answers to be ignored.

  4. #4
    Registered User
    Join Date
    05-02-2018
    Location
    Newcastle, England
    MS-Off Ver
    MS Office 2016
    Posts
    2

    Re: its complicated.... (pls help Dissertation due Tuesday)

    apologies mate first time posting, didn't really know how to phrase it in a concise manner...

    also this isn't some sort of homework, this is part of my dissertation research, I have conducted this from start to finish; I've just gotten stuck here and need some guidance as you said...
    Last edited by esketit; 05-03-2018 at 12:30 AM.

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: How to calculate total time-intervals that correspond to a specific criterion

    Unless I am missing something you just need to subtract the previous entry from a time

    in h4 =c5-c4

    then using similar formula sum this value

+ 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] How do you get a cell to be Tuesday-Thursday?
    By galvanator in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 07:03 PM
  2. Dissertation stuggle
    By Khadilynam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-27-2014, 10:59 AM
  3. formula tuesday deduct 2 day
    By choy96 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-27-2013, 01:02 PM
  4. VBA to get 2nd Tuesday of month
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2008, 11:17 PM
  5. Dissertation ideas
    By jsniderfamily in forum Excel General
    Replies: 1
    Last Post: 09-27-2007, 07:49 PM
  6. 12/31/2005 = TUESDAY?
    By CLR in forum Excel General
    Replies: 5
    Last Post: 01-03-2006, 03:10 PM
  7. Display the 1st Tuesday of every Month?
    By texcel in forum Excel General
    Replies: 0
    Last Post: 02-02-2005, 04:49 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