+ Reply to Thread
Results 1 to 3 of 3

Excel Time Function Issue

  1. #1
    Registered User
    Join Date
    06-24-2017
    Location
    Banja Luka
    MS-Off Ver
    MS 2010
    Posts
    10

    Excel Time Function Issue

    Hi Excel Masters, I have an issue with Excel`s formula that I am trying to solve quite long.

    However, I have created working hours template which calculates time spent on work (start time - end time) multiplied by regular hourly rate.

    Here is the trick - if any employee worked after 8 PM on any day, the hourly rate is changed. In that case, I am supposed to calculate how many hours employee worked after 8 PM and multiply it by corresponding rate.

    I would highly appreciate your help.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Excel Time Function Issue

    Try adding something like

    +IF(end time > TIME(20,,),(end time - TIME(20,,))* difference)

    Where start time refers to the cell with the start time and difference refers to the difference between the regular rate and the after 8 PM rate (not the actual after 8 PM rate).

  3. #3
    Registered User
    Join Date
    06-24-2017
    Location
    Banja Luka
    MS-Off Ver
    MS 2010
    Posts
    10

    Re: Excel Time Function Issue

    It seems that your way is working! I nested your formula into IF and MOD function, and it`s showing the proper result! Thank you, you saved me lot of time.

+ 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. Issue in Excel with time difference
    By chrisellis250 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2016, 09:28 AM
  2. [SOLVED] New to excel .. time difference issue can anyone help
    By Russski in forum Excel General
    Replies: 4
    Last Post: 04-14-2016, 01:53 PM
  3. [SOLVED] New to Excel .. Formula for a time related issue
    By Russski in forum Excel General
    Replies: 7
    Last Post: 04-14-2016, 09:07 AM
  4. [SOLVED] New to excel .. time difference issue can anyone help
    By Russski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2016, 08:47 AM
  5. [SOLVED] SUM function for time issue
    By flyby99 in forum Excel General
    Replies: 6
    Last Post: 12-03-2015, 06:46 AM
  6. Run time error 51 VBA excel 2003 vs. excel 2010 issue
    By nooreen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2015, 12:05 AM
  7. [SOLVED] Excel Time issue
    By John in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2005, 08:05 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