+ Reply to Thread
Results 1 to 8 of 8

porblem with time calculation over days

Hybrid View

  1. #1
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Question porblem with time calculation over days

    Hi there

    Looking for a bit of help in here as I'm stuck on my calculation with times
    I need to calculater the time from when someone goes "IN" till someone goes "OUT"
    This in itself isn't the problem
    The Problem arises when people "forget" to type in the "IN" or "OUT" times ... and the calculation either won't show anything or will show an error

    Now the calculation needs to be bale to calculate from day to day as some goes "IN" one day and "OUT" another day ...
    This also needs to calculate from sheet to sheet

    Now if someone forgets to type the "IN" time and the day before is "closed" (Has both "IN" and "OUT" ) then I would like a message in that cell

    Hope I described my problem well enough

    Time calc01.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: porblem with time calculation over days

    It might be better to combine all the data on one sheet with continuous dates, and then if you want to see the relevant data for one month you can have another sheet where you can select the year and month from drop-downs and the data will be displayed automatically.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: porblem with time calculation over days

    Using it as a workscheme for each month so can't use a dropdown but combining it all on one sheet and then spread it out over more isn't impossible ..
    Though biggest problem still persist when one day is finished already (having an IN and OUT time) and one of the days after doesn't have the IN time on ...
    Then I have two calculations for the same day where one stretches more days and thereby give the wrong calculation on the complete worktime for the month

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

    Re: porblem with time calculation over days

    Hi
    Using the suggestion of Pete_UK see the file Time calc01.xlsx

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

    Re: porblem with time calculation over days

    In addition to the previous post you can use the following formula in E4 to mark errors
    Formula: copy to clipboard
    =IF(COUNTA($B$4:$B4)+SUM($E$3:$E3)-COUNTA($C$4:$C4)>=0,"",1)

  6. #6
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: porblem with time calculation over days

    made some calculations witht his one but still gets wrong results ...

    Did you enter the times manually on "every" or ?? cause I don't see any calculations on how you got them there ???

    I made a big big IFERROR calc to grab the numbers from every month and put them into the table ... helped me get better calculations
    but a lot harder to make corrections to

    *marked the cells in "yellow" further down and then the time calculation to how long the work time is
    (file is in Danish but hope you can still look at it)
    "Wanna get the Iferror form down if possible, BUT qith same results"
    måneds regnskab.xlsm

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

    Re: porblem with time calculation over days

    Hi
    See the file Time calc01(2).xlsx and see sheet Every, columns D and E.
    Regards

  8. #8
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: porblem with time calculation over days

    ah yea okay I see thanks

+ 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. NETWORK DAYS and TIME calculation help
    By Dan_B in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2015, 05:02 AM
  2. Working days calculation with Time stamp
    By karthik premkumar in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-19-2015, 05:22 AM
  3. [SOLVED] Need help with time calculation that MAY span multiple days
    By greatscott in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2014, 04:25 PM
  4. [SOLVED] Calculation of days between days and time
    By theprincesunil in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-27-2014, 03:09 PM
  5. time difference calculation between days
    By astrosrini in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 06-25-2012, 06:47 AM
  6. Time formula,comma and formatting porblem
    By blindexcel in forum Excel General
    Replies: 2
    Last Post: 04-06-2011, 06:02 PM
  7. [SOLVED] Please Help With Days Elapsed And Days Remaining Calculation
    By Scoooter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-14-2006, 12:15 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