FormulaCraft

How to calculate employee attendance percentage in Excel and Google Sheets

Topic:Percentages
Excel & Google Sheets
=COUNTIF(B2:B5,"Present")/COUNTA(B2:B5)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Employee NameAttendance
AlicePresent
BobAbsent
CharliePresent
DavidPresent

=COUNTIF(B2:B5,"Present")/COUNTA(B2:B5)0.75

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your employee names in column A and their attendance status (e.g., Present, Absent) in column B.
  2. 2Select the cell where you want the attendance percentage to appear.
  3. 3Enter the formula provided for either Excel or Google Sheets.
  4. 4Press Enter to calculate the percentage.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What if my attendance data includes holidays or weekends?

Exclude those days from your COUNTA range or use a more complex formula to account for them.

Can I use this method for multiple employees?

Yes, by expanding the formula to include additional columns or rows as needed.

How do I format the result as a percentage?

Right-click the cell, select Format Cells, and choose Percentage in Excel or Format > Number > Percent in Google Sheets.

More on Percentages

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: