+ Reply to Thread
Results 1 to 3 of 3

subtraction

  1. #1
    Registered User
    Join Date
    03-29-2010
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    57

    subtraction

    I am trying to figure out how many minutes an employee was late. however when i use a basic subtraction formula, and they are not scheduled to work, but work anyways the formula is adding those hours in a strange way and it shows they are late. when they work but are not scheduled those hours do not need to show as late hours.
    Attached Files Attached Files
    Last edited by Kmac; 04-06-2010 at 05:54 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: subtraction

    Hi,

    you should subtract the smaller value from the bigger value. If you're after how many minutes they were late, subtract the scheduled start time from the actual start time.

    If that gives you a negative, because they were early, use something like this

    =MAX(0,H3-C3)

  3. #3
    Registered User
    Join Date
    03-29-2010
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: subtraction

    when i use that if they are late it does not count it, and when they are early it counts them as late. however when i reverse it

    =MAX(0,C15-H15)

    it works great! thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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