473,664 Members | 2,728 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Time Sheet excel formula for ND and OT

1 New Member
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((D 4<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 3114

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

Similar topics

1
2333
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 for employees however, they are from two different dates so by comparing both sheets I should to be able to check which records DO NOT match. From the records that DO NOT match I need to locate the information that has changed. But I only want...
2
2154
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 will replace our 'excel' version of time reporting. we use ms-access 2000. i have a huge book (mastering access 2000) though the cd is missing. i looked at using the wizard for time reporting, but is was designed for external clients, and the...
8
6547
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 macro. (I'll get to using VB later on). What I would like to do is import a single workbook w/three seperate worksheets into three seperate access tables AND truncate the time stamp that is used in the excell sheet via a macro.
3
15986
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 links or pointers? i've already tried google - but all i get is ActiveX methods which work in a very few cases.
1
2196
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 simplest questions anyone has ever asked but I am a complete novice! I am writing the times in as 12 hour clock - so start time is entered as 8:35 AM and End Time is entered as 5:45 PM. PLEASE can you help?
1
1250
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 07/01/07 11:55 07/01/07 15:00 07/01/07 17:32
18
13026
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 1901. For Example: the number 3566839 is 27.11.07 7:00. To calculate this in Excel I use this: ="01.01.1901"+(A1/24-(REST(A1;24)/24))+ZEIT(REST(A1;24);0;0) (put 3566839 in field A1 and switch the format of the result-field to the corresponding...
0
1265
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 name="E9" formula="=sum(G9,I9,K9)" type="text" /> <cell name="E11" formula="=sum(G11,I11,K11)" type="Number" comment="Sample Help" /> <cell name="E13" formula="=sum(G13,I13,K13)" type="General" /> <cell name="G9" value="0" type="text" />
0
943
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 use the Trace Formula Tool, and it shows the tool wont work if the work sheet has been protected. Is it a way to have my file protect, and the users can trace the formulas.. Thanks.
0
8437
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8861
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8778
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7375
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4185
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2764
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1759
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.