How to Calculate Points with Course Thresholds Using Excel Formulas
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.

- 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.
Ensure your attendance data is organized chronologically in a single column (e.g., entering '1' for attendance) before applying running count formulas.
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.
Click on the cell where you want the points calculated for the first course record (for example, cell C2).
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)
Press Enter to calculate the point value for the first entry. If B2 is 1, it should display 1.
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.

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. Open your dataset in WPS Spreadsheet: Launch WPS Office and open your attendance tracking workbook.
- 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. 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. Save your work: Save your workbook in .xlsx format to ensure seamless sharing and formatting consistency.

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).




