473,327 Members | 2,094 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Time Sheet excel formula for ND and OT

I need assistance in creating a formula for "ND" (Night Differential) and "OT" (Overtime). ND is between 5:15 a.m. & 6:00 a.m. and 18:00 & 21:00. OT is any anything after 8 hours.

DAY DATE TIME IN TIME OUT REG HOURS ND OT
THUR 6/7/2007 5:15 2:15 8.00

The formula that I am using for "Reg Hours" is "=IF((OR(C4="",D4="")),0,IF((D4<C4),((D4-C4)*24)+24,(D4-C4)*24))-1" which by the way I found on the internet but I can't remember who wrote it so I can give them credit. Sorry! This formula will add the total hours and will subtract the 1 hour for lunch.

Any assistance is greatly appreciated.

Kwisatz
Jun 14 '07 #1
0 3104

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rachel Curran | last post by:
Please can anybody help me with the following: I have two separate excel spreadsheets that I have imported into access, each sheet holds the same fields. Both spreadsheets hold all information...
2
by: Steve Miller | last post by:
hello... i am a 'user' of access, meaning, i import excel files, join, and merge....that's about the extent of my expertise with ms-access. my boss wants me to create an access application that...
8
by: Nick M | last post by:
Hello All, Excellent info here Thanks! I am very new to using access in general and I am on a learning curve. I'm trying to import an excel workbook (with worksheets) into an access db via a...
3
by: toffee | last post by:
Hi all, I got a pre-formatted spreadsheet. would it be possible using js to copy the data from a table on the current webpage, open the spreadsheet and paste the content ? if so, anyone got any...
1
by: jennyp29 | last post by:
I am trying to design a Time Sheet in Excel. With a Start Time, an End Time, and a time standown (Lunch Break) But cannot seem to get the formula correct. I realise this is probably one of the...
1
by: =?Utf-8?B?U2FwcGh5cmU=?= | last post by:
I am trying to create a formula that will break down column A on sheet 1 into 3 seperate columns (A,B,C) in sheet 2. The data is setup as follows: Sheet 1: A 07/01/07 03:00 07/01/07 06:36...
18
by: Dirk Hagemann | last post by:
Hello, From a zone-file of a Microsoft Active Directory integrated DNS server I get the date/time of the dynamic update entries in a format, which is as far as I know the hours since january 1st...
0
by: Padma Athimoolam | last post by:
Hi, I am new to VB and XML.I want to populate XML Values in Excel Sheet.My Sample XML is <?xml version="1.0" encoding="UTF-8" ?> - <workbook> - <worksheet name="Scorecard_KTC_MW"> <cell...
0
by: tonyhyde | last post by:
Hi Guys I really need help for this. I have Create an Excel file, in order to not let users to change anything, i have it protect by useing the VB. However, some of the users want to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.