Using COUNTIF To Determine # Of Employees Working Each Hour

Oct 1, 2009

I'm using Excel to schedule employees shifts at my restaurant. Column A is their name, Column B is their start time, Column C is their end time. I'd like to be able to count the number of employees working during any given hour of the day to assure I've got enough staffing each hour. I'm thinking it will require a COUNTIF function but I can't figure out how to make it work. I've attached a sample sheet.

View 4 Replies


ADVERTISEMENT

Macro - Move Purchases Every Hour To Keep Track Of Employees

Jun 17, 2014

I have a spreadsheet that has two Columns.

Column (B) has names of flowers
Column (C) has price

I want to at the top of each hour have those two columns be moved to Col(D) and Col(E) . However if D and E are full I want them in F and G and so on. Essentially i want them to go to the closest empty column to the right.

How to do this automatically in a macro ?

This would allow me to keep track of my employees.

Also is there a way that I could automatically generate a graph of price vs. name for each hour when they are moved ?

View 10 Replies View Related

Formula To Convert 24 Hour Day To 8 Hour (working) Day?

Nov 12, 2013

Is it possible to take data in format dd:hh:mm and convert to working days - ie. 8 hour days?

For example:

02:12:15 (60 hours and 15 minutes .. or 3615 minutes)

to be converted to:

07:04:15 (7 working days: 4 hours: 15 minutes)

View 3 Replies View Related

Calculating Total Hours Worked By Group Of Employees For Certain Hour

Mar 23, 2013

I need creating a formula that will tell me the total number of employee hours worked during a certain hour (6:00 AM) for a particular department. Some employees clock in at 6:00 AM, some clock in at 6:30. Here is the current formula I'm using which only tells me the amount of employees in the department not how many hours worked . I have three employees that clock in at 6:00AM and one at 6:30AM, the total I'm looking for is 3.5 but my formula gives me the result of 4.

C5:C1446 is a list of departments
T1503 is the 6:00 AM
D5:D1446 are the Clock In times
K5:K1446 are the Clock Out Times

=SUMPRODUCT(--($C$5:$C$1446="Shipping"),($T$1503>=$D$5:$D$1446)*($T$1503

View 6 Replies View Related

Countif Formula: Count Of Employees Next To The Each Manager's Name Who Login Time Is Less Then 8 Hours

Oct 6, 2009

I have a sheet in which in Coloum A I have manager names, then in Colum B I have list of Employees reporting to that manager, then in Column C, I have total login time of each employee which should be => 8 hours. In a new sheet, I want to get the count of employees next to the each manager's name who login time is less then 8 hours.

View 3 Replies View Related

Macro To Update Sum Of Working Hours For List Of Employees From

Jan 30, 2013

Need VBA macro to read and sum data from multiple worksheets

The “summary” worksheet contains list of all employees. I need to update the total number of hours for each employee by scanning all worksheets in the workbook as follows:

Once I click on a "update" button, I need to scan all worksheets (I have one worksheet for each week) which contains the total number of hours for employees by week. I need to calculate and add the total number of working hours for each employee then move to the next worksheet and so on ..

Once all worksheets are all scanned, the final total of working hours get posted in front of the employee name in the assigned field.. I need to do this for all employees. I also need a macro to create a new worksheet.. I attached an example with little description inside .. Labor Detail Job to Date-2.xlsx

View 5 Replies View Related

Find Next Working Day For Part Time Employees - Exclude Holidays / Weekends

May 16, 2014

My aim is to find the end working date for each task, as well as the next working date for the next task. The working days for this employee are only Monday (6hours), Wednesday (6 hours) and Friday (8hours).
 
D
E
F
G
H
 
Start Date
Duration
Completed Days
Remaining Days
End Date

4
5/05/14
3

=IF(TODAY()>=H4, E4,IF(TODAY()

View 3 Replies View Related

COUNTIF Doesn't Like HOUR Function Inside Of It

Jun 24, 2014

The first three formulas give valid results but the fourth example throws in an error after hitting Enter. As you can see I put in the HOUR function. As far as my knowledge goes the HOUR function generates an integer.

So why does C4 not work? Formulas go in column C

A
B
C

1
22
20
1
=COUNTIF(A1,">"&B1)

[Code] ........

View 2 Replies View Related

Working With Time: Blocks Every Whole Hour

Aug 1, 2007

I have a spreadsheet that users input the temperature each hour, for a 24 hour period. The time used is 24hr clock, as example, cell A1 will be 03:00, and cell B1 would be the forecasted temperature.

On another sheet, the user inputs the temperature for the specific time a airplane is going to take off, i:e: 07:32. Is there a way I can have the second sheet look back to the first sheet and grab the temperature for the correct time (using the hour block it falls into). The first sheet time blocks are every whole hour, i.e 08:00, but on the second sheet, the time could be any hour/minute, 07:32.

View 9 Replies View Related

Counting The Number Of Extra People Working Each Hour?

Aug 19, 2014

I am trying to count the number of extra people scheduled for each hour of the day, from 2 dropdowns in A3:B7

The formula in (1) D11:D26 works, but when the shift passes over the midnight it will not count accurately.

The formula in (2) E11:E26 also works well, but only counts the number of times a particular hour is mentioned, but not the number of extras in C3:C7.

The results in (3) F11: F26 are what I need, which is based on looking at the times from the dropdowns and using the number of extras in C3:C7.

View 2 Replies View Related

Use CountIf To Use As Variable To Determine How Far To Paste Down In VBA

Jun 11, 2014

I would like to be able to count the number of rows with data and use it in a macro. For instance, Columns A:C and Rows 1:50 or more have data (the number of rows are variable). In Cell D1 I have a simple formula

Code:
=A1&","&B1&","&C1

I am using a formula in VBA like:

Code:
Range("D2").Select
Selection.Copy
Range("D3:D10000").Select
ActiveSheet.Paste

I don't want to have an arbitrary number like D10000 in the range because it will paste in cells even if there is nothing there resulting in a ,, in the cell. I know this is avoidable by wrapping in a

Code:
=IF(ISBLANK(A1)=TRUE,"",D1)

but the "" is not truly blank and jacks up the sorting.

If there is a better way by setting the row count to a variable like

Code:
countx=COUNTIF(A:A)

and then using it in the selection such as:

Code:
Range("D2").Select
Selection.Copy
Range("D3:countx").Select
ActiveSheet.Paste

Am I going out about this wrong, maybe missing something fundamental about this?

View 3 Replies View Related

COUNTIF Not Working

Aug 8, 2007

I am using the following formula to count the total number of contract types if 'ITD $K' equals '0' zero. But it returns 0 as output.

=SUMPRODUCT('PROCUREMENT CONTRACTS'!$E$5:$E$225="GROSS")*('PROCUREMENT CONTRACTS'!$J$5:$J$225=0)

View 9 Replies View Related

Working Out Multiple Countif's?

Sep 24, 2008

Following on from: http://www.excelforum.com/excel-misc...s-formula.html

I used the above formula to work out how many days a call went out of our SLA, that works great (puts the values into K)

View 4 Replies View Related

Countif And Formula Not Working

Mar 28, 2008

I am trying to use a countif and formula but can't get it to work. This part of the formula works fine =COUNTIF(J:J,"

View 9 Replies View Related

Countif Formula Not Working

Nov 19, 2009

I have a column of numbers ranging from 0000-9999. They are not in order and multiple numbers are used more than once. I would like to know how many times the numbers in the range of 4000-4999 appear. I am trying to use the formula =COUNTIF(F4:F500,"=4????") or =COUNTIF(F4:F500,"=4*") but neither are working. If I do a single number like this =COUNTIF(F4:F500,"=41420"), it will count them for me.

View 9 Replies View Related

Multiple Countif Statement Not Working?

Jan 22, 2013

creating a multiple if statement. I have 3 columns in Sheet 1 called "Raw Data". Column A is dates, Column B is Clients and Column C is Products. I want to count the number of products sold to a specific client on a specific date. In Column A, the are multiple dates repeated as there are different sales reps so i have the dates repeated several time.

the current formula i am using is:

=COUNTIFS('Raw Data'!$A:$A="2013/01/01",'Raw Data'!$B:$B,="MotorCity",'Raw Data'!$C:$C,="Cars")

the problem is that i keep getting 0 as a value. If i remove the Date as a variable, the formula works. I just cant seem to count multiple criterias if the date is one of them.

View 6 Replies View Related

Countif Not Working With Text Criteria

Jan 25, 2013

I have a drop down list called Status including Testable and Not Testable

A1 = Testable
A2 = Testable
A3 = Not Testable
A4 = =COUNTIF(A1:A3,"Testable")

Gives me 0... i don't get it. Should show 2 no?

View 9 Replies View Related

Changing Date/time To Run A 12 Hour Production Schedule, And Not 24 Hour

Sep 4, 2006

I have created a daily schedule which has a number of factory variables taken into consideration which determine the date and time a particular product should, barring any mechanical problems, come off the machine. (see attached spreadsheet).

The date at the top will be editable by me only so that when I update the production quantities, the date/time off column automatically re-adjusts to the remaining quantities.

The formulas are a little long winded, but I have left them that way whilst I try and develop it. I should be able to figure out how to condense them later.

My problem is that the date/time off on the right works excellent, but over a 24 hr period.

Ordinarily, we work a 12 hour day (6am to 6pm) with overlapping shifts to cover breaks, and 20 mins warm up at the start of the day for the machine, thus maximising a 12 hour day.

Of course if demand exceeds the allotted time we put on overtime.

Is it possible to specify that normal days are only 12 hours so that if a product exceeds 6pm, it flows into the next day with the balance starting at 6:20am?

And, if the production for the week exceeds the time could I stipulate particular days which we deem are suitable for overtime? Ie, we decide Wednesday is a 14 hour day and not 12.

I had toyed with the idea of creating a 365 day table/calendar, on another worksheet which would have its individual allocated hours in an adjacent column and somehow link them to the date/time off, perhaps by way of a VLOOKUP, but I have been chasing my tail trying to figure out how to implement it.

View 9 Replies View Related

Counting Instance In Column - COUNTIF Not Working

Feb 24, 2014

Ok so I am trying to streamline the Shirt ordering process at my work. I have made a table with Employee names as Column A, then Row 1 is shirt sizes from small to XXXL. The Cell values are going to be the colors people want. I want to total the number of each size/color combination. But someone may want more than one of the same color. For instance you would enter "BK, BK" if you wanted 2 black shirts of that size. This is where the issue with COUNTIF comes in. If a cell has the same value twice, it only counts it as one because counts the cells with an instance of a value, not the actual count of instances. Is there a way to make COUNTIF or a better function for this?

View 6 Replies View Related

Excel 2010 :: Countif Formula Not Working?

Jun 25, 2014

In excel 2010, I have 2 spreadsheets, the first "Active Total Master Turn" has the data, the second, "Pending" has a reporting chart. A cell on "Pending" contains the following formula:

=COUNTIFS('Active Total Master Turn'!F:F,"RK*",'Active Total Master Turn'!H:H,"Painting",'Active Total Master Turn'!C:C,"

View 7 Replies View Related

Excel 2010 :: Counting Users Per Hour For Each Hour

Oct 21, 2013

I work in a computer lab and we have to keep track of how many people sign in (using excel 2010), and how long they were here.

I'm looking for a way to count how many entries were made per hour for every hour someone was signed in.

For example someone signs in at 9:22 am and leaves at 3:34 pm.They were here from 9-10, 10-11, 11-12 etc.. and its getting very tiresome to go through and manually enter a "1" for each individual hour in each cell under the hour.

Is there a way I can feed the in and out times into a spreadsheet and have it automatically count how many people were in the lab each hour?

A
B
C
D
E

1
2
4
2

2
In
Out
8 am
9 am
10 am

[Code] ...........

View 3 Replies View Related

Nested Countif Not Working: Track Metrics For A QC Department

Nov 26, 2008

I am trying to track metrics for a QC dept. Right now my sheet has 35 lines of data and a header row, for 36 lines total. This is my funtion that isn't quite right:

View 2 Replies View Related

Distribute Hours To A New Table Hour By Hour?

Dec 2, 2013

I have a time table which some hours are 3 hours time period. I want to distribute to new table hour by hour this kind of hours, or hour to same hour period.

Attached file, defined example and detail.

View 1 Replies View Related

IF COUNTIF- To Determine That If A Range Of Cells Are Marked With An "X"

Feb 8, 2008

I am trying to determine that if a range of cells are marked with an "X", then cells containing "Pass" (A4), Pass with Opportunity for Improvement (A6)or "Fail" (A8) will be marked with an "X". I have 3 columns that are selectable for Pass, Fail, and Non-Applicable. There are a total of thirteen questions that this evaluation form asks, and the evaluator must check one box. In order to be considered a Pass, there must be more 12 or more "X"'s marked in the Pass column. A Pass with Opportunity for Improvement would be equal to 11 marked in the Pass column, and a Failure would be 10 or less showing up in the Fail column. If there is a check in the non-applicable section, this has to be figured into thye pass fail as well. A Pass would be 85% or higher, and failure anything less than this. I will attach the file for review. I would very much appreciate help on this problem first, and then there is one other element to the sheet that plays in at the end.

View 13 Replies View Related

Round To Nearest 15 Then Nearest Hour If Less Than 1 Hour

Apr 4, 2014

I have a form to round to nearest quarter but if it is less than 1 hour I need it to round to a total of 1. Can this be combined in one formula.

I also need my time to be configured so that if the start time is a PM number then end time AM it does not figure right. is there a way to remove the AM/PM from time. I have already tried all the formats from number,time, & custom.

Attached is my form : Timesheet Form 2014.xlsx

View 4 Replies View Related

Convert To 12-hour Time From 24-hour Time

Mar 7, 2008

I'd like to convert from 24 hour standard time to 12 hour time using VBA code. For example: instead of 13:00 I need 1:00.

View 9 Replies View Related

CONVERT 24-Hour Time To 12-Hour Time

May 8, 2008

I have a list of FLIGHT departure times that are listed in MIL TIME, however, there is no : in the format. Its just 4 or 3 digit numbers. I need to convert these to time in 12-hour clock. If I go to FORMAT/CELL/TIME and select 1:30pm it simply makes the time ZERO!

View 9 Replies View Related

How To Distribute 200 Items Into 14 Employees

May 19, 2014

I been working on excel sheet that will distribute 200 items between the employees that are available to work. I've attached a copy of the workbook. First I need to look at the quantity of employees I have working that day. Second Distribute the items to each one of the employees. Third give the first employee the first piece. Fourth give the next available piece to the last person with a zero piece in their list.

book8.zip‎

View 12 Replies View Related

Protect Workbook From Ex-employees

Sep 19, 2008

How can I protect by workbook from ex-employees and the competition from using (I am aware of the weak security measures Excel offers, but something is better than nothing)? Each worksheet is password protected to slow down novice Excel users. However, ex-employees know the password. I was thinking if there was a way to have a changing password (which only a couple people would know) or have the worksheet look for a hidden file on our network, that one of these methods (or another) might work.

View 6 Replies View Related

Employees Time Sheet

Apr 17, 2009

I am creating a employee time sheet.

I am doing calculation.

I used total hours formula is =(I5-B5+(I5<B5))*24
and also worked hours formula is =((I5-B5-(I5<B5))-(D5-C5+(D5<C5))-(F5-E5+(F5<E5))-(H5-G5+(H5<G5)))*24

Problem is don't show the correct time of total hrs & worked hrs

Here i am attaching my timesheet format.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved