Formula To Calculate How Many Hours Minus 30 Mins For Lunch
If a person does a full day I want the formula to calculate how many hours minus 30 mins for lunch i.e. 7:30 - 4:00 = 8 hours. I have done this and it works fine, the problem comes when a person does a half day i.e. 7:30 - 11:30, this will read 4.5 hours. If this is the case I don't want the 30mins deducted so it should be 4.0 hours worked.
I have high lighted a column in the work sheet (yellow) whereby the user puts an 'x' in the appropriate cell if they are working a half day.
The probem is I cannot incorperate the two formulas in one cell (the Actual hours cell) I have the one formula in the actual hours cell and the other bolted on the end thus giving two different readings.
View Complete Thread with Replies
Related Forum Messages:
Formula To Give A Time Minus 15 Mins
i have =TIME(LEFT(F17,FIND("h",F17)-1),RIGHT(F17,2),0). which gives a time in the format 9:30PM, or 10:30AM etc. How would i change the formula to give me a time minus 15 mins. Eg, if the above formula gave me 8:45PM, i would want it to show 8:30PM
Calculate Hours Worked, Minus Weekends
to calculate how long a ticket is open in our system before being resolved. I don't want to count weekends, and if the ticket is 'suspended', I don't want to count that either. There is also the factor that the ticket 'un-suspend' date may be later than the ticket 'closed' date. Which is the bit that's throwing me.
So, I have the following fields
Ticket Open, Ticket Closed, Ticket Suspended Date, Ticket Unsuspended Date
A sample ticket might be (using above fields)
02/11/09 09/11/09 04/11/09 30/11/09
That 'should' equal two days (16 hours) as the Unsuspend date falls after the close date so it was suspended from the 4th until closure.
Now I want to know, in hours (8 hour day) how long that ticket took to resolve (i.e close), remembering you can't count the time it was suspended, or any time that fell over a weekend. Also not all tickets are suspended.
Difference Between Dates And Times In Days , Hours Mins ( Working Hours )
The below formulae allows me to see the difference between two dates and only returns the difference in working hours ie :
02/02/2010 08:00 & 03/02/2010 08:00 is 16 Hours 0 Minutes
The following displays it in the Hrs and Mins format
=TEXT(B15,"[h]")&" Hour"&IF(OR(TEXT(B15,"[h]")+0=0,TEXT(B15,"[h]")+0>1),"s "," ")&MINUTE(B15)&" Minute"&IF(MINUTE(B15)1,"s ",""))
Countif Of Hours And Mins Not Dates
I have a data feed that gives a column of cells formated mm/dd/yy hh:mm
These are call entries, what i want to do is count all the occurances each hour, so count all the entries say between 9am and 10am. However the column is very long and holds data for many weeks so i want to be able to ignore the date part of the cell.
So the entries between 9 and 10 are = 3
Ideally i do not want to do text to colums and split out the parts. i would like to leave the source data alone.
Convert Time Decimals To Hours Mins
I am creating a very quick holiday excel sheet where people can fill in the hours they want on which days.
I have a summery sheet too.
So if someone wants to take a full day which is 7.4 hours. How would this be represented as Hours and minutes?
Convert Decimal To Days/hours/mins/secs
I was messing around with a simple countdown timer and need a little help converting a decimal into a format of #days, #hours, #minutes and #seconds.
Cell A1 has target to countdown to 4/14/2010 12:00:00 AM
Cell A2 contains =NOW()
Cell A3 contains =A1-A2 with the result being 69.4021441 with the amount of decimal places varying depending on when it is refreshed.
I'd Like the result in A3 to read something like "There are 69 days, XX hours, XX minutes and XX seconds until event"
Diplay Minus Hours In Red
I am using time based on the 1904 calendar, this is so time can be shown as a minus figure when to cells are taken away and the result is say -17:25. What I want to do via conditional formatting is show any minus hours as red. Tried various options but I have had no luck so far. or can this be done via VBA?
Formula To Calculate Hours
im doing an excel spreadsheet. on 1st sheet i have a summary page for some clients, on sheet too i have worked out and done the formula so that it calculats values i put it. i want to take this total value i have worked out (which is a variable- will change from day to day) and move this value to sheet one. from here i want the number that i show in the summary page to deduct from a fixed total in the cell nxt to it. and ideas ive tried several options coming close but no ciga
Timesheet Lunch-No Lunch Options
I am working with the following time sheet/card (attached) and it works great when the person goes to lunch, but when they skip lunch I cant get it to compute correctly. I set the formula back to original state because it was just getting more and more confusing. Additionally I tried to adjust it for working overtime (more than 8 hours in a day) and double time (more than 12 hours in a day and kept getting errors or incorrect results).
Formula To Calculate Hours Worked
I have this spreadsheet and in it the time is changed from military time to regular and then I use a formula to calculate hours worked. On some of these the total is off by one minute. Does anyone know how to fix this?
I don't know how to paste the spreadsheet so you can see formulas,
Formula To Calculate Pay Based On Hours Worked
i am trying to make an excel spreadsheet so i can keep track of my hours and pay at work... i know how to do mult and add but i wanted to know how to do the 2 together.... for example
Hours ST OT Total Hrs Gross Pay
8 2 10 ?
i would like help figuring out the gross pay if say for example my st time rated is 21.21 an hr, and the ot rate is 31.82 how can i get the 8 times 21.21 = 169.68 and the OT 2hrs times 63.64 to show up in the gross pay as a total of 233.32 - what would the formula look like?
Minus Figure Wont Calculate
I have been creating a new spreadsheet in work to show materials variances
I am having a problem with a minus figure in a calculation as follows
expected opening stock = (172)
Actual opening stock = 1022
My return cell has the following formula (Actual Opening Stk - Expected opening stk)
I should get the answer of 850 - I am actually getting 1194
Nested IF Command: Calculate Today's Date Minus
The range B7:K7 contains columns of "dates" and "characters" like "A", "B" and "C" . Range D2 = Today's date. If Range C7 is blank then it should calculate Today's date minus Column B7 (i.e D2-B7) so on:
B7 = "01-Apr-2009", C7 = "02-Apr-2009", D=7 = Status as "(A)"
B7 = Submitted Date, C7 = Received Date, D7 = Status
Difference Between Today's Date and "B7" date is required if "C7" is Blank date. Otherwise it should search next group (E, F)
-- Excel File is attached.
I am designing a simple time card. Column D=time in, Column E=time out. My formula in column F to calculate total hours is =TEXT(E2-D2,"[h]hrs"). The result is not correct. Example: In at 9:30 out at 5:00 and the calculated total is -4 hours.
Calculate Hours For Various Equipment
I've got a spreadsheet that lists multiple pieces of equipment and when it was worked on or down. It has the following columns:
Total Repair Time
Other Downtime (which is most often blank, as below)
7/18/06.......35.....1:00 PM.....2:00 PM.......1:00
7/20/06.......33.....1:00 PM.....2:00 PM.......1:00
7/28/06.......35.....9:00 AM....11:00 AM......2:00
10/18/06.....50.....6:30 AM.....7:00 AM.......0:30
10/18/06.....33.....9:00 AM.....11:00 AM.....2:00
(I hope the ... is okay, couldn't figure out how to make the columns line up.)
I can use Sheet Two for the next part, but I don't know how to to get a total time per month for each seperate jeep. Most of the time, there will only be one record per month per jeep, like the second line above. But lines one and three are for the same jeep, and so I need the formula to add column E up only for those two lines.
Calculate Working Hours
i had a sheet with the employee name,Working Place, Designation,Starting Time & Ending Time of each employee working in a Department. I want to track the no of hours each employee worked in the Format 1 Hr: 45 Mins .
i tried to get the result by substracting the ending time from starting time and then formatted the cells using the TIME FORMAT from the FORMAT Menu>Format Cells > TIME. But i m not getting the required result. I want a vba code or formula for extracting the no of Hrs & Mins the employee worked using the above formula.
Calculate Overtime Hours
I am trying to get my time sheet to work out right but for some reason the formulas are a little more then what I can do. My time sheet is set up on a weekly bases. I have a regular time line, an overtime line and a total time line. an example I have is I work 12 hours a day I need an 8 to show up in the regular hours, 4 in the overtime and 12 in the total hours.
How To Calculate The Sale And Margin Between Certain Hours
I have a table with daily sale entries and margins. I want a formula to calculate my sale and margin between certain hours.
The original data table is below.
The results I need:
ABCD1DATESALE BETWEENSALEMARGIN201/07/200810:00 TO 11:0030,009,65301/07/200811:00 TO 12:00148,8970,04
Calculate Normal Working Hours
I am currently using Excel 2007 and I am trying to find a good working formula for Normal Hours worked:
I have the following code for Total Hours, Time and a Half and Double Time hours but I can't seem to get the right formula for working up to 8 hours.
Whereas C11 = Total hours added for the day.
=MOD(SUMPRODUCT(C8:C10-C7:C9),1) =Total Hours Worked
=Normal work hours between 0 to 8 hour work day.
=MIN("04:00",MAX(0,C11-"08:00")) =Time and a Half hours over 8 hours worked.
=MAX(0,C11-"12:00") =Double Time hours over 12 hours worked
Calculate The Hours Between The Two Dynamic Dates
How to calculate the hours between two dynamic dates.
Rules 1: It has to calculate only office hours (Let's say 9 AM to 5 PM)
Rules 2: The starting time may fall before 9 AM, then we have to do calculation from 9 AM on the same day. (Let's say start date with time 17/04/07 7:00:00 AM, then we have to consider the date with time from 17/04/07 9:00:00 AM for the calculation)
Rules 3:The starting time may fall After 5 PM, then we have to do calculation from 9 AM on the next day. (Let's say start date with time 17/04/07 8:00:00 PM, then we have to consider the date with time from 18/04/07 9:00:00 AM for the calculation)
Rules 4: It has to exclude the Saturday and Sunday
Calculate Times Greater Than 24 Hours
I have problem to calculate the time which is more than 23:00:00hrs in a file. I need to compare the benchmark time and the difference of time(start time and end time) and show pass/fail depending on benchmark set time. For few of the times which is more than 23:00:00 hrs the format is taking different(example: for 49:15:48, it is showing 02/01/1900 01:15:48 in formaula bar) for which i am not able to use formula and know pass/fail.
Macro To Calculate Hours Worked
I need to develop a work sheet for agency booked people to count the number of hours worked by them on daily basis. Agency can clock in at three different times and clock out at 6 different times. i tried but could not even develop logic to calculate the total earned hours. i attached the sheet for reference.
Calculate Date/time Format Over 24 Hours
I need to calculate the difference between two cells that are formated like this: 11/10/2006 13:00. Simple subtract only works when the date hasn't changed (the subtract formula seems to focus on the time and ignore the date).
I found a formula that will work, but the results are in regular numbers, I need the hh:mm format and if I change the format of the result column, the time displayed is wrong.
The formula is=((B2-A2)*1440)/60)
If my result is 122.6 in regular numbers, when I convert to hh:mm I get 14:00.
Is there a better way to do this? Also, is there a way to eliminate weekend & holiday hours from the calculation? This is not as important as getting the results to calculate correctly in the hh:mm format.
Calculate Hours Worked After Specific Time
i have a timesheet that we are trying to use. the problem is the column that says shift diff. if an employee works after 6:30pm for 1and 1/2hr, he is entitled to shift hours. shift hours is between 6m and 8am.
As long as he works after 6.30pm but works for at least one and a half hour, he will get the shift.
if work, 9am to 7:30pm, and have break between 2-3pm, should have 1.5hrs shift and 9.5hrs total
if work, 7:45pm-9:45pm, and have break between 8:30-9pm, total hrs work is 1.5 and shift hrs s/b 1.5hrs
if work 3pm to 12am and have break between 7-8pm, total hrs work is 8 and shift hrs s/b 5hrs
Format To Calculate Total Hours And Minutes
Having trouble adding a column of minutes and converting the total into hours and minutes. Say Cell A1 through Cell A18 each have 12 minutes in each cell. I want cell A19 to tell me how many hours and minutes of total time that have elapsed. I have tried hh:mm, [hh]:mm, but nothing works.
Calculate Hours Worked When Times Are Spread
I got a problem with a time calculation, if it's even possible.
I want to calculate the amount of hours that have been woork in a slot.
First slot is from 08:00am till 17:00pm, time cost 100%
Second slot is from 1700am till 24:00, time cost 110%
Third slot is from 24:00 till 08:00 am, time cost 120%
I'm working from 08:00am till next day 01:00am
So my hours are:
9 in slot 1,
7 in slot 2,
1 in slot 3.
Is this possible to calculate in Excel?
I got a file attached with a sort of layout.
Calculate Time Difference Greater That 24 Hours
I have an excel spreadsheet where you enter the start time and end time for job function. Since some of the times cross midnight, I use the formula J3=IF(I3>H3,I3-H3,1+I3-H3) where I is the end time and H is the start time (format hh:mm). This part works fine, however when I sum column J and change my format to Time 37:38:00 (since it is over 24 hrs), it returns a large number of 2234:48:39 which should be closer to 223:00:00.
Calculate Specific Hours Between 2 Dates & Times
I need to calculate the hrs between two date and time and deduct any time outwith the hrs of operation (09:00-19:00), if the date and time falls outwith these times.
I have used the formula 24*IF(A2>G2,G2+1-A2,G2-A2), where G2 IS 21/04/2008 11:45 and A2 is 20/04/2008 00:22, but can't get it right.
Calculate Billable Hours Between 2 Dates & Times
I need to calculate billable hours.I have a start date/time and end date/time.Then I need to subtract out all time between 05:00:00.000 and 20:00:00.000. These are not billable hours.But I can include all weekend time.And I can include all holiday time.I need to accomplish this with formulas, no macros.
Calculate Only Working Hours Between Two Dates Excluding Weekends
How should I calculate working hours between two dates? Say if start at 9/25/2009 7:26:13 PM and finish at 10/20/2009 9:46:13 AM, the function should return 245:20:00 because the working hours are from 8am to 11 PM (8 - 23), and there are weekends between the dates. Preferably the function should work like the NETWORKDAYS() function, but it should also include the time, not just the dates.
Calculate Number Of Hours Between Two Date/time Combinations
I am trying to find a way to calculate the number of hours between date/times found in separate rows. The attached data set will help to envision what I am talking about.
For each couple of rows, I need to find a way to calculate the number of hours elapsed from row 1 to row 2. In the first example, to calculate the number of hours between 12/2/2009 8:56:51 and 12/4/2009 6:35:27.
Time Calculation: Calculate How Many Hours Have Elapsed Between To Entries
I am trying to build a spreadsheet to calculate how many hours have elapsed between to entries; start time (H10) e.g. 9:15 AM and end time (I10) e.g. 12:15 PM. The formula that I am using in the calculation cell field (J10) is (I10-H10+(I10<H10))*24. This formula works great till I wish to include in an IF statement. What I would like is if the total hours calculated with the formula (I10-H10+(I10<H10))*24 is less than 4, return 4 (hours) otherwise the value. As well if there is no start time nor end time entered then return zero.
Calculate Working Hours Between 2 Dates Including Saturday
I need to calculate the total WORK-hours (09:00-17:30) between two
Including Saturdays but excluding Sundays & Holidays.
I can get this working excluding Saturdays (formula below) using NETWORKDAYS however
the call centre work six days a week Mon-Sat.
HolidayList= "Currently Blank"
Calculate Elapsed Time Based On Business Hours
I've being trying t calculate an excel formula to work out a order turnaround time based on opening hours.
Example: The store is open from 8 am to 6pm monday to friday, I need to get a formula to work out how long it took from the time the order was logged until it was completed, during the course of the working day - this works fine but if the order was received on 06/12/07 at 5:20 pm then was finally completed by 7/12/07 at 11:55 the next day I need to figure out how to take into consideration of non working hours during that time. (time from 6pm to 8 am next day
example 2 - if order was sent on the 06/12/07 at 01:30pm and completed at 06/12/07 4:30 then I know its taken 3 hours to complete
example 3 - if the order was sent on the 06/12/07 at 5pm and completed next day at 07/12/07 at 10am - then I know it took 3 hours to complete