+ Reply to Thread
Results 1 to 7 of 7

Wage spreadsheet for hours

Hybrid View

  1. #1
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Wage spreadsheet for hours

    Hello and welcome to the forum.

    E4:
    Formula: copy to clipboard
    =IF(WEEKDAY(B4,2)<6,IF(AND(D4<C4,C4<0.75),0.75-C4,MAX(0,MIN(D4,0.75)-MAX(C4,0.25))),0)


    F4:
    Formula: copy to clipboard
    =IF(WEEKDAY(B4,2)<6,D4-C4-E4+IF(D4<C4,1,0),0)


    G4:
    Formula: copy to clipboard
    =IF(WEEKDAY(B4,2)=6,D4-C4+IF(D4<C4,1,0),0)


    H4:
    Formula: copy to clipboard
    =IF(WEEKDAY(B4,2)=7,D4-C4+IF(D4<C4,1,0),0)



    Then copy down.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  2. #2
    Registered User
    Join Date
    07-04-2019
    Location
    australia
    MS-Off Ver
    10
    Posts
    5

    Re: Wage spreadsheet for hours

    it works well thank you, except when there are no hours, then it comes up with 12 in F column and ######## in the G column
    any ideas ?

  3. #3
    Registered User
    Join Date
    07-04-2019
    Location
    australia
    MS-Off Ver
    10
    Posts
    5

    Re: Wage spreadsheet for hours

    sorry to be a pain, there is one more little problem,
    if a shift starts at 23:00 and goes through to 08:00 in the morning, the 2 hours past 06:00 should show as 2 hrs of day shift- in the formula you gave it shows all as night hours.

    there must be a simpler way of working this out , even if there are extra columns to help

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Ok. I’m away for the weekend but will take a look on Sunday night.

  5. #5
    Registered User
    Join Date
    07-04-2019
    Location
    australia
    MS-Off Ver
    10
    Posts
    5

    Re: Wage spreadsheet for hours

    Hi Richard, can you have a look at the problem when you can please

+ 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. Wage Spreadsheet formula problem
    By Peter Jenkins in forum Excel General
    Replies: 1
    Last Post: 11-09-2015, 05:03 PM
  2. Replies: 5
    Last Post: 05-22-2015, 07:27 AM
  3. Drivers hours spreadsheet
    By fess in forum Excel General
    Replies: 5
    Last Post: 08-14-2008, 08:57 AM
  4. [SOLVED] wage mulitplied by hours and minutes
    By tom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2006, 04:50 PM
  5. [SOLVED] hours and minutes multiplied by wage
    By Tom in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2006, 03:40 PM
  6. hours, minutes multiplied by wage
    By Tom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2006, 03:40 PM
  7. Update Spreadsheet off hours
    By pepe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2005, 01:05 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