Function Problems

How to Calculate Points with Course Thresholds Using Excel Formulas

Elise WilliamsElise Williams Nov 10, 2026 868 views

Question details

The user needs a formula to dynamically assign 1 point for the first three attended courses and 2 points for every course attended after the third.

How to Calculate Points with Course Thresholds Using Excel Formulas
Product
Excel
Device & OS
not provided
Scenario
Tracking student or employee course attendance and calculating progressive participation points based on a changing threshold.
Observed behavior
Requires a dynamic logical formula that evaluates previous attendance history to apply a variable threshold multiplier.
Before you start

Ensure your attendance data is organized chronologically in a single column (e.g., entering '1' for attendance) before applying running count formulas.

Solution 1Recommended

Use IF and COUNTIF for a Running Attendance Count

This approach uses an expanding range in the COUNTIF function to dynamically track how many courses a person has attended up to the current row, adjusting the points automatically.

By combining the IF and COUNTIF functions, you can create a running total. The COUNTIF function counts occurrences up to the current row, and the IF statement decides whether to award 1 or 2 points based on whether that count has exceeded your threshold of 3.

1
Select the target cell

Click on the cell where you want the points calculated for the first course record (for example, cell C2).

2
Enter the nested formula

Assuming column B records attendance as the number 1, type the following formula: =IF(B2=1,IF(COUNTIF($B$2:B2,1)<=3,1,2),0)

3
Apply to the first row

Press Enter to calculate the point value for the first entry. If B2 is 1, it should display 1.

4
Fill the formula down

Click the small square at the bottom-right corner of cell C2 and drag it down the column to apply this formula to all subsequent course records.

Use IF and COUNTIF for a Running Attendance Count
Expanding Range Logic: By locking the first cell reference ($B$2) and leaving the second (B2) relative, the COUNTIF range expands automatically as you drag the formula down, creating an accurate running count.
Efficient Data Calculation with WPS

Calculate Attendance Points Easily in WPS Spreadsheet

WPS Spreadsheet provides robust formula support, allowing you to manage complex point thresholds and nested logical functions with ease.

  1. 1. Open your dataset in WPS Spreadsheet: Launch WPS Office and open your attendance tracking workbook.
  2. 2. Enter the formula: Click on the target cell and type =IF(B2=1,IF(COUNTIF($B$2:B2,1)<=3,1,2),0).
  3. 3. Use smart fill: Double-click the bottom right corner of the cell to automatically apply the formula downwards to the end of your data.
  4. 4. Save your work: Save your workbook in .xlsx format to ensure seamless sharing and formatting consistency.
Fully compatible with Microsoft Excel formulas, including IF, COUNTIF, and expanding ranges.Lightweight and runs smoothly even when calculating large attendance datasets.Built-in function wizard helps you build and audit complex nested formulas effortlessly.Free to use across multiple platforms including Windows, Mac, and mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use this formula if attendance is marked with 'Yes' instead of '1'?

Yes, you just need to adjust the formula to check for text. Replace the 1s with 'Yes' in the formula: =IF(B2="Yes",IF(COUNTIF($B$2:B2,"Yes")<=3,1,2),0).

How do I change the threshold from 3 to 5 courses?

Simply change the <=3 part of the formula to <=5. The formula will then award 1 point for the first five courses and 2 points for any course thereafter.

What if the points need to be 5 for the first three courses and 10 after?

Adjust the return values in the nested IF statement. Change the '1,2' part of the formula to '5,10' like this: =IF(B2=1,IF(COUNTIF($B$2:B2,1)<=3,5,10),0).