
Use the COUNTIF function to calculate an
attendance list
For this task an attendance list has to be generated and the number
of those who are present each day determined. Generate the list
shown in Figure 6-7. Column A contains the dates and column B
uses the user-defined format DDD to determine the day of the
week. In columns C to G the letter “X” is entered for each person
in attendance.
4
To calculate the attendance for each day:
1. Select cells H2:H11 and type the formula
=COUNTIF(C2:G2,"X") to get the attendance for each
day.
2. Press <Ctrl+Enter>.
3. Select cells C13:G13 and type the formula
=COUNTIF(C2:C11,"X") to count the attendance of each
employee. ...