FormulaCraft

How to calculate attendance percentage in Excel and Google Sheets

Topic:Percentages
Excel & Google Sheets
=B2/C2

Verified example

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

NameDays PresentTotal DaysAttendance %
Alice1820
Bob1520
Carol2020
Dave1220

=B2/C20.9

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. 1Set up columns: Name, Days Present, Total Days.
  2. 2In column D (Attendance %), enter =B2/C2.
  3. 3Format the column as Percentage (Home > Number > Percentage or Format > Number > Percent in Sheets).
  4. 4Copy the formula down for all students or employees.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I count attendance from raw present/absent data?

Use COUNTIF to count 'P' entries: =COUNTIF(C2:N2,"P")/COUNTA(C2:N2).

How do I calculate attendance for the whole class?

Use =AVERAGE(D2:D6) on the attendance percentage column to get the class average attendance rate.

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: