Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default calulating a certain weekday hours within a 24 hour roster

I am new to excel formulae bar the basis and have prepared a spread sheet for
input to calculate shift hours worked. I now wish to identify Sunday hours as
these are paid at a premium rate.

For example a shift 8pm to 8am on sat/sun gives 4 hours premium
a Sunday shift 8am to 8pm gives 12 hr premium
a Sunday/Monday shift 8pm to 8am gives a 8 hour premium
The input fields are only time in and time out. Rostered hours are
calculated as
Follows:
=((H8-G8)+(H8<G8))*24. where H8 is the time finished(Sun or
Mon) and G8 is the start time.(Sun)
Is there anyway I can identify Sunday hours worked.

Many Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default calulating a certain weekday hours within a 24 hour roster

Hi,

First there doesn't seem to be any way to identify the day of the week if
all you input are the start and end times. Second, I don't follow the logic

"a Sunday/Monday shift 8pm to 8am gives a 8 hour premium"

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"F. Learning" wrote:

I am new to excel formulae bar the basis and have prepared a spread sheet for
input to calculate shift hours worked. I now wish to identify Sunday hours as
these are paid at a premium rate.

For example a shift 8pm to 8am on sat/sun gives 4 hours premium
a Sunday shift 8am to 8pm gives 12 hr premium
a Sunday/Monday shift 8pm to 8am gives a 8 hour premium
The input fields are only time in and time out. Rostered hours are
calculated as
Follows:
=((H8-G8)+(H8<G8))*24. where H8 is the time finished(Sun or
Mon) and G8 is the start time.(Sun)
Is there anyway I can identify Sunday hours worked.

Many Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default calulating a certain weekday hours within a 24 hour roster


Many Thanks for your reply.

The Sunday/ Monday should have read 4 hrs premium.



"Shane Devenshire" wrote:

Hi,

First there doesn't seem to be any way to identify the day of the week if
all you input are the start and end times. Second, I don't follow the logic

"a Sunday/Monday shift 8pm to 8am gives a 8 hour premium"

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"F. Learning" wrote:

I am new to excel formulae bar the basis and have prepared a spread sheet for
input to calculate shift hours worked. I now wish to identify Sunday hours as
these are paid at a premium rate.

For example a shift 8pm to 8am on sat/sun gives 4 hours premium
a Sunday shift 8am to 8pm gives 12 hr premium
a Sunday/Monday shift 8pm to 8am gives a 8 hour premium
The input fields are only time in and time out. Rostered hours are
calculated as
Follows:
=((H8-G8)+(H8<G8))*24. where H8 is the time finished(Sun or
Mon) and G8 is the start time.(Sun)
Is there anyway I can identify Sunday hours worked.

Many Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change times to 24 hour and add 6 hours in strings rkd Excel Worksheet Functions 3 April 12th 08 01:29 PM
ROUND UP HOURS to the next quarter hour SueSea Excel Discussion (Misc queries) 2 February 27th 08 11:35 PM
How do I add hours and minutes without 24 hour limit Cycling Steven Excel Worksheet Functions 1 January 25th 08 02:18 PM
Calulating hours, minutes and seconds Linda Le Geyt Excel Worksheet Functions 5 November 9th 06 01:49 PM
How can I add hours and minutes then multiply by cost per hour? Tom DiBell Excel Worksheet Functions 1 May 8th 06 07:52 PM


All times are GMT +1. The time now is 07:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"