How to Automatically Calculate the Last Three Scores in Excel
Question details
The user wants to use Excel formulas to calculate a rolling three-round handicap by automatically extracting and averaging the last three entered scores, avoiding the need to manually delete older entries.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Calculating a rolling three-round golf handicap using continuously updated scores in a single row.
- Observed behavior
- The formula needs to automatically update to include only the most recent three non-blank entries whenever a new score is added to the dataset.
Ensure your score data is entered in a continuous row without blank cells between the active scores, or consider converting your data range into a structured Excel table for more reliable dynamic referencing.
Use the TAKE Function (Microsoft 365)
The most efficient method for Microsoft 365 users to dynamically extract the last three columns of a dataset.
The TAKE function allows you to quickly return a specific number of contiguous rows or columns from the start or end of an array. By using a negative number as the column argument, you can automatically extract data from the end of your growing range.
Click the cell where you want the rolling average or the extracted scores to appear.
Type the formula =TAKE(F1:AG1,,-3) to retrieve the last three scores in the row range F1:AG1.
To directly calculate the rolling handicap average of these three scores, wrap the formula by entering =AVERAGE(TAKE(F1:AG1,,-3)) and press Enter.

Use OFFSET and COUNTA Functions
A reliable alternative for older versions of Excel that do not support dynamic array functions like TAKE.
Calculate Rolling Averages Easily with WPS Spreadsheet
WPS Spreadsheet supports standard Excel formulas like OFFSET and COUNTA, making it incredibly easy to track rolling averages for golf handicaps, financial data, or performance metrics without losing legacy data.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your golf scores.
- 2. Select the calculation cell: Click the target cell where you want your rolling handicap calculation to display.
- 3. Enter the dynamic formula: Type the standard formulas like =OFFSET() combined with =COUNTA() to track the latest entries dynamically.
- 4. Apply and update: Press Enter to apply the formula, which will automatically recalculate the average as you add new scores to the row.

Frequently Asked Questions
What if there are blank cells scattered between my scores?
If your data contains intermittent blank cells (e.g., missed weeks), the COUNTA function will not calculate the correct offset. In this case, you should use a filtered range with the FILTER function to remove blanks before extracting the last three values.
Can I use these formulas in columns instead of rows?
Yes. If your data is listed vertically, modify the TAKE formula by changing the column argument to the row argument, like =TAKE(A1:A50,-3). For OFFSET, adjust the row offset parameter instead of the column offset parameter.
Why is my OFFSET formula returning a #REF! error?
A #REF! error in an OFFSET formula usually occurs if the COUNTA calculation results in a negative offset that references a cell outside the spreadsheet boundaries (e.g., trying to reference a cell before column A). Ensure you have at least three data points entered, or wrap the formula in an IF statement to check the count first.




