Function Problems

How to Track Training Status Using IF and COUNTIF in Excel

Huda QurayshiHuda Qurayshi Nov 10, 2026 870 views

Question details

The user needs to create an Excel training matrix that accurately categorizes different training statuses (not required, required but incomplete, in progress, and complete).

Track Employee Training Status Using IF and COUNTIF Functions
Product
Excel
Device & OS
not provided
Scenario
Building a dynamic training matrix to track multiple completion states across different requirements.
Observed behavior
The goal is to use distinct fields to identify requirements rather than mixing dates and text (like 'NR' for Not Required), enabling accurate percentage calculations and distinct conditional formatting.
Before you start

Ensure your training spreadsheet separates the 'Requirement Status' (e.g., Required vs. Not Required) from the 'Completion Status' (e.g., Dates completed or checkboxes checked) into different columns.

Solution 1Recommended

Use IF and COUNTA to Calculate Completion Percentages

This solution prevents the matrix from calculating a completion percentage when training is marked as 'Not Required', ensuring accurate status tracking.

By nesting a COUNTA function inside an IF statement, you can instruct Excel to check if a specific course is required first. If it isn't required, it returns a blank cell; if it is required, it counts the completed documents and divides them by the total number of required documents.

1
Set up the requirement indicator

In your spreadsheet, designate a specific cell (for example, B3) to indicate whether the training is required. Type 'Required' or 'Not Required' in this cell.

2
Enter the IF formula

Select the cell where you want the completion percentage to appear. Enter the formula: =IF(B3<>"Required","",COUNTA(C3:C5)/3). Adjust 'C3:C5' to the range containing the completed training dates and '3' to the total number of required documents.

3
Apply percentage formatting

Select the cell with the formula, go to the Home tab, and click the '%' icon in the Number group to display the decimal result as a percentage.

Use IF and COUNTA to Calculate Completion Percentages
Pro Tip: Keeping the requirement status separate from the completion dates ensures your formulas do not break when trying to perform math on text strings like 'NR'.
Easily Track Training Progress

Build Dynamic Training Matrices Seamlessly with WPS Office

WPS Spreadsheet fully supports advanced logical formulas like IF, COUNTIF, and robust Conditional Formatting features. You can easily build, manage, and color-code comprehensive employee training matrices completely for free.

  1. 1. Open your matrix in WPS Spreadsheet: Launch WPS Office, select Spreadsheet, and either open your existing training tracker or create a new blank workbook.
  2. 2. Input the logical tracking formulas: Use exactly the same =IF() and =COUNTA() functions as you would in Excel to calculate completion percentages.
  3. 3. Add Conditional Formatting: Go to the Home tab, select Conditional Formatting, and define your color rules to easily identify who is 'In Progress' or 'Complete'.
100% compatibility with Microsoft Excel formulas, formatting, and file typesAdvanced Conditional Formatting rules to easily color-code training statusesCompletely free and lightweight alternative for powerful spreadsheet managementRich library of built-in templates to jumpstart your project or training tracking
microsoft office alternative - wps office

Frequently Asked Questions

How can I calculate completion if I use checkboxes instead of dates?

If you link Form Control checkboxes to specific cells, they return TRUE or FALSE. You can use the COUNTIF function, like =COUNTIF(C3:C5, TRUE), to count how many checkboxes are ticked, and divide by the total number of required courses.

Why does my IF formula return a #DIV/0! error?

This error occurs if the denominator in your division (the total number of required documents) is zero or references an empty cell. You can prevent this error from displaying by wrapping your formula in an IFERROR function, such as =IFERROR(your_formula, "").

Can I use COUNTIFS to check both the requirement status and completion dates simultaneously?

Yes. COUNTIFS allows you to check multiple criteria across multiple ranges. For example, =COUNTIFS(StatusRange, "Required", DateRange, "<>"&"") will only count entries where the course is marked as 'Required' and the completion date cell is not empty.