Counter formula for work rota

Bazil2018

New Member
Joined
May 6, 2018
Messages
3
Im trying to set up a rota in excel but need some help. I need a formula that will check if a cell contains letter E or L (early shift or late). Then at the bottom of table will add them up and display so i know how many people on each shift. Table will be peoples names down column A, then going across will be monday to sunday. Also need to be able to change peoples shifts and see new totals. Sorry if sounds hazy, please message for more details if can help.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi Bazil,

Can you please post an abbreviated example of what your initial data looks like (with the E and L designations), as well as what you want the output table to look like?

For example, where do you get the people's names, to place in column A?

-Ilia
 
Upvote 0
If you can email me then i can reply with template of the design. The rota is for carehome. Staff names are listed on left so remain the same but rota changes weekly or if some one rings in sick then the shift patten may change. Have a template saved but unsure how to send here. People work a mixture of early shifts and late shifts.
 
Upvote 0
Maybe that won't be necessary. I would rather everything be posted here, so that others can benefit if they have a similar scenario.

Does your table look something like this?

Code:
Name     Mon    Tue    Wed    Thu    Fri    Sat    Sun
Joe L.    E      E      L      L             E
Jane P.   L      L      E      E      L             E
John R.          L      L      E      E      L      L
Mike D.   E                           L      L      E
 
Upvote 0
I understand. Yes looks just about same. Need two cells at bottom of each column, one to tell total for earlys and one for lates and if i change an E to an L i need it to alter the totals accordingly.
 
Upvote 0
So can you just do something like this - assuming the data is in A1 (i.e. "Name" column heading):

Code:
B7 =COUNTIFS(B$2:B$6, "E")
B8 =COUNTIFS(B$2:B$6, "L")
...and copy to the right for columns C:H? Adjust based on the size of your data accordingly.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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