Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default payroll formula when shift is 3pm to 1 am

I am fine tuning our payroll spreadsheet, and we have several employees who
work from 4pm to 1 or 2 am. The current formula's treat each day as 24 hours,
ending at 12pm. Is there a formula that I can use to show the hours worked
when the ending time is after12 pm?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default payroll formula when shift is 3pm to 1 am

in custom format type
[h]:mm


"payroll spreadsheet help" skrev:

I am fine tuning our payroll spreadsheet, and we have several employees who
work from 4pm to 1 or 2 am. The current formula's treat each day as 24 hours,
ending at 12pm. Is there a formula that I can use to show the hours worked
when the ending time is after12 pm?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default payroll formula when shift is 3pm to 1 am

Try this:

A1 = 4:00 PM
B1 = 2:00 AM

=B1-A1+(B1<A1)

Formatted as [h]:mm retruns 10:00

If you want the result as a decimal value:

=(B1-A1+(B1<A1))*24

Formatted as GENERAL returns 10

Biff

"payroll spreadsheet help" <payroll spreadsheet
wrote in message
...
I am fine tuning our payroll spreadsheet, and we have several employees who
work from 4pm to 1 or 2 am. The current formula's treat each day as 24
hours,
ending at 12pm. Is there a formula that I can use to show the hours worked
when the ending time is after12 pm?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default payroll formula when shift is 3pm to 1 am

A1 = 4:00 PM
B1 = 2:00 AM

C1 =B1-A1+1


"payroll spreadsheet help" wrote:

I am fine tuning our payroll spreadsheet, and we have several employees who
work from 4pm to 1 or 2 am. The current formula's treat each day as 24 hours,
ending at 12pm. Is there a formula that I can use to show the hours worked
when the ending time is after12 pm?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default payroll formula when shift is 3pm to 1 am

That could cause all kinds of problems!

Biff

"Teethless mama" wrote in message
...
A1 = 4:00 PM
B1 = 2:00 AM

C1 =B1-A1+1


"payroll spreadsheet help" wrote:

I am fine tuning our payroll spreadsheet, and we have several employees
who
work from 4pm to 1 or 2 am. The current formula's treat each day as 24
hours,
ending at 12pm. Is there a formula that I can use to show the hours
worked
when the ending time is after12 pm?



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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
IS THERE A FORMULA TO MAKE E=6:00PM ETC SHIFT TIMES AND HOURS Angel Devoid Excel Worksheet Functions 2 December 28th 05 06:25 PM
How do I write a formula in excel that calculates payroll? Excel overtime formula Excel Worksheet Functions 3 October 29th 05 10:52 PM
Formula to determine shift Liz Excel Worksheet Functions 4 August 15th 05 06:52 AM
How do I setup a formula for payroll deductions in excel Skeeter Excel Worksheet Functions 1 February 6th 05 09:51 PM


All times are GMT +1. The time now is 07:40 AM.

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

About Us

"It's about Microsoft Excel"