Attendance Spreadsheet

HR_Jen

New Member
Joined
Sep 11, 2006
Messages
5
Hello everyone,

I have a spreadsheet to track reasons for absences, ie:

A Absent
B Bereavement
D Discipline
L Late
LE Left Early
LOA Leave of Absence
J Jury Duty
C Citizenship

The employees name is on the left hand side, then the dates of the month. I would enter one of the above codes that would corresponde with the date where the absence occurred. On the right hand side of the sheet, I have columns for the totals of the above reasons. I need a formula that would look at the previous cells and count all the As, then another column that would count the Bs, and so on.

I just need the first formula and then I can modify it from there.

Thank you in advance!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Not sure if this is what you want :

=COUNTIF(B6:B100,"A")

This counts All occurances of A in column B starting at B6

Michael
 
Upvote 0
I think COUNTIF will give you the number of occurences of an item, the SUMIF function will sum the items.
 
Upvote 0

Forum statistics

Threads
1,225,563
Messages
6,185,698
Members
453,315
Latest member
funktgf

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