Query - Counting frequency of a specific time in column

graemekoz

Board Regular
Joined
Jul 7, 2004
Messages
57
Office Version
  1. 365
I am using Excel to create staffing rosters and I'm trying to see if there is a function in Excel which will allow me to calculate how many staff are starting at specific times. The Rosters are going to change each time so is there a way of doing this without having to manually request the information?

For example, each start time of the staff is calculated by formula at the top of the spreadsheet. Some staff start later than others. I want to be able to get a list which states how many times a specific start time appears in the list.

I hope that makes sense and any assistance would be greatly appreciated!

Graeme
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
you could probably use countif()

do you have a cell that has what the start time should be
=COUNTIF(Range of cells with the starttime, cell with the actual expected starttime )

So if cell C1 has the calculation for what the starttime should be
then B2:B1000 has all the actual starttimes

=COUNTIF(B2:B1000,$C$1)

will count how many times in the column B have the exact same time as in cell C1
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top