sum text in vertical + horizontal columns

R

russt

I am producing a rota for my workplace.I can sum up the amount of shift
staff do horizontally( left to right) using the sum function.Howeve
what i want to do at the bottom of each column is add the number o
staff on duty.I can do this using the sum function but it adds up al
the letters i have in each column.EG H=Holiday so when a H is on th
rota i dont want it to add to my total at the bottom of the colum
D=Duty i have 4 staff on each night so in each column i could have
Duty 1 on H and 1 S off sick i now get a total of 6 when i really wan
it so show 4 automatically as i want the H & S not to be counted.Coul
someone please tell me a simple plain language way of doing tis if i
is possible
 
B

Bernie Deitrick

Russ,

Look in help for the COUNTIF function, used like this:

=COUNTIF(A:A,"Duty")

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SUM - IF - AND 7
Construct staff pay timesheet 1
Sum Lookup 6
Count A/IF ignoring certain values 3
Sum parts of a column 2
Excel 2 into 1 6
How to programme this in excel? 5
Setting up helpdesk rota for 25 staff in Outlook? 1

Top