# Calculating Hours In Rota That Includes Text Fields?

Jan 12, 2012

I'm creating a restaurant rota spreadsheet and I need to calculate the hours for each waiter, which is easy enough. But I've got to include stand-by shifts and cover shifts into the rota for the staff and I'd like the formula to ignore the "standby" text, etc in its calculations. I know you can use the =IF(... function, but that only works with one value. As well, the standby shifts will change from shift to shift and week to week, so I need one formula that might encompass all these needs... if there is one!!

An example of my rota for you to see:

MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY

Total hours for week START FINISH START FINISH START FINISH START FINISH START FINISH START FINISH START FINISH
10:00 17:00
10:00 17:00 12:00 16:00
Lunch Hrs/Wk 18:00 #VALUE! 19:00 24:00
standby standby 19:00 24:00 standby standby o2 Cover o2 Cover
Dinner Hrs/Wk #VALUE!

## Work Rota/Roster Calculating Hours

Aug 11, 2004

I am currently trying to create a rota / rosta for work which will show people what hours they are required to work, in a format similar to below:

NAME | SAT | SUN | MON | TUE |etc >
Person A| 8:00 - 17:00 | 13:00 - 22:00 | OFF | 8:00 - 13:00|
Person B| OFF | 17:00 - 22:00 | 8:00 - 17:00| OFF |

This is simple enough to create but I also need Excel to calculate how many hours each person is working in a week and the total number of hours used per day and per week. I found out that I can do this using a formula to work out hours and minutes between two times. However what I would also like Excel to do is deduct the unpaid breaks which the person is entitled to, however this depends on the times that they work, i.e. in the example above Person A would be entitled to a 1 hour unpaid lunch on Saturday, a half hour unpaid tea on Sunday and no unpaid break on Tuesday. Therefore 1 hour would be deducted off the Saturday total hours, 30 minutes would be deducted from the Sunday total hours and nothing taken off the Tuesday.

## Rota - Calculate The Hours Every One Has Done Each Week

Nov 19, 2007

way to calculate the hours every one has done each week to make sure everyone has done the correct hours. I was about to start using a calculator and then realised it would take forever.

I've included a zip file of the excel file

## Rota - Add Up The Total Number Of Hours Per Week Per Employee

Oct 14, 2007

I am trying to create a rota in excel but I am struggling to get it to add up the total number of hours per week per employee.

It get a little complicated as they work split shift so they may do 4 hours in the afternoon and another shift in the evening going into the next day, example they may work 11.00 am - 3.00 pm and 8.00 pm untill 2 am.

## Rota Pattern - Create Table To Display Name Of Employees And Their Relevant Rota

Oct 9, 2013

I am trying to create a table to display name of employees and their relevant rota. Attached is a spreadsheet as an example of one rota I have.

The rota at the top gives the 3 week rotation, the table underneath is the names and which week they start on and what week.

Trying to create a table at the bottom that when I put someones name in and change the date it will populate his rota for that day/week.

I have loads of different rotation plans and need to have them all together when I enter a date.

## Calculating Actual Hours Worked Only In Core Hours?

Aug 11, 2010

I have been working on a timesheet but the problem I have come across is calculating actual hours worked only in the core hours and any work outside the core hours is calculated in the outside hours column. A standard work day is 7.6 hours working between 8.30am and 5.00pm. However if someone was to commence work either before 6am or after 8pm this is outside of core hours. I have attached an example of my timesheet for you to see what I am talking about.

## Calculating Hour Outside Core Hours When All Hours Fall Outside Core

Apr 22, 2014

I am trying to set up a time sheet for staff where it calculates hours worked in and outside of core hours. I can do a calculation to work out what they have worked in and out of core hours providing that part of their time starts of finishes in core times. The problem I am having is when some one works only outside core hours. Our core hours are 6am to 6pm. The problem is when they work from say 7pm to 1am. This is irregular work paid as overtime not shift work.

## What Is The Command For Includes A Certain String Of Text

Jun 12, 2009

What would the formula be if A1 includes a certain string of text, then B1 returns a given value? e.g., if A1 contains baby then B1=carly.jpg?

## Calculating Net Working Hours

Mar 13, 2008

I am working in call center, and I get tickets and i have to meet my Services Level Agreement (SLA) with in pre defined working hours.

My working hours are 8:00 AM to 17:00 PM, Monday to Friday. (this includes 1 hour of Lunch time which is not considered as business hour)

As per the SLA, i have to complete the ticket in 40 business hours, i.e 5 business days.

Suppose a ticket is created on 3/5/2008 10:00 AM. I want to know how much time is left for me to work on that particular ticket.

## Calculating Rostered Hours

Jan 12, 2010

I want to calculate employee rostered hours or days off from an exported crystal reports. The problem isn't how to calculate the hours but to calculate accurately when formatting changes occur in the exported report. This is an example for the exported sheet data.

http://farm3.static.flickr.com/2748/...50a38e59_o.jpg

So to calculate data intially using the formula

## Calculating Hours Left

Oct 3, 2008

I have a ROW of numbers (hours) and I need to figure the hours left. Here is an example of 6 colums, Zeros and blanks are valid entries.

C1 C2 C3 C4 C5 C6 Hours Left
16 8 0 0 0 0
16 8 4 4
8 2 1 0 0
16 0 0 8 4 2 2
8 16 10 8 8

I'm trying to get a formula that will figure out hours left. I've tried a number of times.

## Calculating Hours Across Days

Dec 12, 2008

I have a spreadsheet where I record individual staff start time, end times and the length of their break. From this I caculate the hours they worked for the day.

E holds Start, F holds End and G holds Break length. Thus using the following forumula gives me the number of hours and minutes:

## Calculating Hours Worked

Jan 1, 1970

I can do the timesheet formula for adding the hours worked as follows:

Start Finish Total
08:45 17:15 8.5

However, it doesn't work when I fill in a whole week work of hours in this format:

Start Finish Total
08:45 17:15 08:30

It works on a daily basis, but when total hours exceeds 24, the formula get's all mixed up - how to I format the total column to account for every 5 minutes worked, which you can't do when converting to decimal??

Apr 23, 2008

I use this formula at work to calculate business hours from Mon-Fri:

=IF(OR(L10="",L11=""),"",(NETWORKDAYS(L10,L11,\$N\$2:\$N\$23)-1)*(\$Q\$3-\$Q\$2)+IF(OR(ISNUMBER(MATCH(INT(L11),\$N\$2:\$N\$23,0)),WEEKDAY(L11,2)>5),\$Q\$3,MEDIAN(MOD(L11,1),\$Q\$3,\$Q\$2))-IF(OR(ISNUMBER(MATCH(INT(L10),\$N\$2:\$N\$23,0)),WEEKDAY(L10,2)>5),\$Q\$2,MEDIAN(MOD(L10,1),\$Q\$3,\$Q\$2)))

where Q3= business start time 8.30am
where Q2= business end time 5.30pm

thus the difference between 18-Apr-08 16:30 and 21-Apr-08 13:30 is 6 hours.

I now need to adapt this formula for another Department that also works on Saturday from 8.30am to 5.30pm.

## Calculating Hours Since An Event

Jun 3, 2008

This may seem like an odd request... I recently received a protected worksheet that I entered my date of birth into, and it told me how long (if I pressed F9) I had been alive in y/m/w/d/m/s etc. I was wanting to do a similar spreadsheet to show how long I had stopped smoking for, and a running total of how much I was saving, but I couldn't look at the spreadsheet for help. The stop time was 01/06/08 - 05:00am GMT, up until present, and buying cigarettes I was spending £0.00004166666 per second. Is it possible to create such formulas?

## Custom Format That Includes Text And Numbers, Such As Medicare Number

Jan 19, 2006

how can you custom a cell format in which you may in type in information that is displayed as ###-##-####-@# I searched everywhere and cannot find this.

For example, a medicare number.

I would need to type in 581566223b6, and it should be displayed as 581-56-2236-B6.

## Excel 2010 :: Calculating Value And Posting Total To 1 Of 4 Fields Dependent On Content Of Another

Jan 9, 2014

Excel ( 2010 ). I am creating a Sales Leads spreadsheet. Within the spreadsheet I have a the following relevant fields.

proposed sales value field ( F2 ), Estimated Close - which will be Q1,Q2,Q3 or Q4 ( G2 ), % Probability ( H2 ) & Q1 ( I2 ), Q2 ( J2 ), Q3 ( K2 ) & Q4 ( L2 ).

F2 = 150
G2 = Q2
H2 = 10%

I want to calculate the actual value of sales based on %prob and put the total into the correct field ( I,J,K or L ) based on what field G2 says. So in this case 15 into field J2. I have attached an example.

## Sum Formula - Calculating Overtime Hours

Feb 20, 2014

Example: In cells A1:A10 random number between 0 & say 20, need to sum ABOVE 8 = (calculating overtime hours)

E.g.
A1 = 0
A2 = 8
A3 = 8
A4 = 10 (giving 2)
A5 = 12 (giving 4)
A6 = 5
A7 = 13.5 (giving 5.5)
A8 = 8
A9 = 0
A10 = 16 (giving 8)
A11 = (Total overtime above 8 hours) 2+4+5.5+8 = 19.5

Need to be able to increase rows and drag across.

## Calculating Working Hours Without Using Dates

Mar 18, 2014

I'm trying to calculate shift working hours without using dates.

The scenario is

Cell A1 = Start Time
Cell A2 = Start Time
Cell A3 = Break Time

Basically I want the output to calculate hours worked between:-

0000 and 0600 as a total in cell A4
0600 and 1800 as a total in cell A5
1800 and 0000 as a total in cell A6

Then if the value of A5 is greater than A3, subtract A3, but if the value of A5 is less than the value of A3, A5 should be zero and the remainder of the value of A3 subtracted from A4 (or A6) depending which has a value.

## Calculating Total Hours Between Dates

May 2, 2008

I need to calculate time taken to fix a piece of equipment.

A1 B1
BREAK TIME FIX TIME
4/22/08 23:00 4/23/08 04:00

Should be 5 hours, but i can't find the formula to make it work.

## Calculating Hours Worked For 3rd Shift

Nov 27, 2012

Weekly Timesheet.xlsx

This spreadsheet calculates hours worked great for first and second shift but when you enter times for third shift it goes all whacky with the outcome.

## Calculating Overtime Hours On Timesheet

Nov 30, 2012

I thought I had everything worked out with this timesheet but I've discovered one more problem.

Weekly Timesheet.xlsx

The total overtime hours needs to show that anything over 40 hours in the Total Regular Hours cell is overtime. And it also needs to show only up to 40 hours in the Total Regular Hours cell.

## Calculating Employees Hours In Macros?

May 31, 2014

Im doing a spreed sheet to calculate employees hours. I have the employees names in column R and their hours in column S. example R5 = Mike S5 = 8. I need to search column R for all the mike's and total his hours, then move to the next employee and so on... I have already sorted the employees names so that all the names and hours correspond and starting in column R5 and S5 until the proceeding row is blank and then paste the results in column B5 (employee name) and D5(total hours)

## Calculating Working Hours Between Days?

Aug 15, 2010

how can i calcaulate working hours between two days.

Working Hours 07:30 - 14:30

e.g. mm/dd/yyyy

start time 01/04/2010 17:34:58

stop time 01/05/2010 08:23:35

## Formula For Calculating When Data Is Out Of Hours

Mar 29, 2012

I am trying to calculate when data is out of hours based on it being before 08:00 and after 16:30, plus also weekends.

I have used the following formula to calculate the day of the week.

=TEXT(WEEKDAY(AE2), "dddd")

I have this in a separate column.

This is how my sheet looks.

Actual Start TimeOut of HoursActual Start DateDay of Week
14:1525/12/2010Saturday11:0028/12/2010Tuesday22:3028/12/2010Tuesday
13:3029/12/2010Wednesday09:4030/12/2010Thursday13:0002/01/2011Sunday
09:3806/01/2011Thursday08:0507/01/2011Friday12:0009/01/2011Sunday
11:1010/01/2011Monday08:1512/01/2011Wednesday10:1113/01/2011Thursday
11:1514/01/2011Friday15:2815/01/2011Saturday10:4016/01/2011Sunday
16:3028/12/2010Tuesday13:0220/01/2011Thursday13:0624/01/2011Monday
15:0827/01/2011Thursday17:4029/01/2011Saturday

The out of hours column is where I figure I need an IF statement but not sure which way to approach it best.

## Calculating Hours In Certain Month From List?

Aug 1, 2014

I am looking for a formula that counts from each particular month

The main List has the following

Column C has all dates
Column D has hours worked
Column E has engineers name

The Second List is broke down into months and hours

Column I Has month ie I4=Jan 14, I5 = Feb 14 etc
Column J I need to have a total taken from column D from the month in column I

## Calculating Working Hours Between Two Dates

Jul 25, 2002

How should I calculate working hours between two dates? Say if start at 26 july at 15:00 and finish at 29 july at 10:00, the function should return 4 hours because the working hours are from 8am to 5pm (8 - 17), and there is a weekend between the dates. Preferably the function should work like the NETWORKDAYS() function, but it should also include the time, not just the dates. And also, if have to add say 8 hours to a date, how should I calculate the result? Also this function should aware of the working hours and holidays, so it should ignore those times.

## Calculating Night Shift Hours

Jan 15, 2009

I'm trying to calculate the hours worked for both my day shift and my night shift.
Day shift (thanks to search ) I have managed to figure out and worked quite well.
=ROUND((E7-D7)*96,0)/4
It totals adds up the time and converts it into a decimal of hours worked.

For example Joes starts at 1100 and finishes at 1330 it returns a total of 2.5 hours worked.

However I strike a problem with nightshift.
They start in the late afternnon and work thoguh into the am.
I have used the same formula but it doesn't seem to work:
=ROUND((K7-L7)*96,0)/4

I assume because once the clock strikes 12 it's a new day and it can't work out the maths.

Lets use the example form about but make it pm.
Joe starts at 2300 and finishes at 0130 it should give me a total of 2.5 hours instead it gives me 21.5 hours

## Calculating Times: Minutes And Hours

Sep 25, 2006

i need to get a formula that will calucate hours and min. its for how many hours the employee has not worked. some of them would be strait hours some would be just min there is no way to tell.

example
lates 2 hours
anp(absent no pay) 12 hours
sicks 55.5 hours
no calls
early outs 21 min
(this is just an example if it were real this person would be fired)

i know this adds up to 69.85 hours but i can't fuiger out a way to get it to calucate in excel. i know i could have it all changed to min and then devied by 60 to get the hours but how do i get it to read what is mins and whats hours?

## Calculating Time To Track Work Hours

Jul 24, 2009

I can't figure out how to do a proper formula for calculating time. For instance I have one column that says "Time In", the next is "Time Out" and the other is "Lunch Time". My calculation needs to be this:

Find the total hours between the Time In and Time Out and then Minus the lunch time to get total hours worked for the day. The only way I can get this to work is using 24 Hour time format. Is there another way?