Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Chart Axes in Excel
  • How to Create Column Chart in Excel
  • How to add Trendline to a chart in Excel
  • How To Insert and Customize Sparklines in Excel
  • How To Create Pareto Chart in Excel

References

  • How to retrieve first match between two ranges in Excel
  • How to get relative row numbers in a range in Excel
  • How to use Excel VLOOKUP Function
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • Count unique text values with criteria

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation exists in list
  • Excel Data validation date in specific year
  • Excel Data validation allow uppercase only
  • Excel Data validation only dates between

One way to track attendance using Excel formula

by

This tutorial shows b.asic attendance tracking formula in Excel

One way to track attendance is with simple formulas based on the COUNTIF function.

Formula

=COUNTIF(range,"x")

One way to track attendance using Excel formula

Explanation

In the example shown, the formula in M5 is:

=COUNTIF(C5:L5,"x")

How this formula works

This formula simply uses COUNTIF with a criteria of “x” (not quotation marks) to count x’s in each row, where “x” represents “present” and an empty cell represents “absent”:

=COUNTIF(C5:L5,"x") // count present

The count absent days, the worksheet uses COUNTIF again, configured to count empty cells:

=COUNTIF(C5:L5,"") // count absent

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • SWITCH function example in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate workdays per month in Excel
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • DAY function: Description, Usage, Syntax, Examples and Explanation
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation
  • Display the current date and time in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel
  • Map text to numbers in Excel
  • How to randomly assign data to groups in Excel

General

  • How to set or clear a print area in Excel Worksheet
  • How to choose page/paper size in Excel before Printing
  • How to fill cell ranges with random text values in Excel
  • How to calculate percentage discount in Excel
  • How to calculate percent of students absent in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning