Calculation Issues

How to Automatically Calculate the Last Three Scores in Excel

John WilsonJohn Wilson Nov 10, 2026 869 views

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.

How to Automatically Calculate the Last Three Scores in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the output cell

Click the cell where you want the rolling average or the extracted scores to appear.

2
Enter the TAKE formula

Type the formula =TAKE(F1:AG1,,-3) to retrieve the last three scores in the row range F1:AG1.

3
Calculate the average

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 the TAKE Function (Microsoft 365)
TRIMRANGE Shortcut: If you have empty cells at the end of your range, you can use the TRIMRANGE shortcut by adding a period before the cell reference, like =TAKE(F1:.AG1,,-3), to ignore trailing blanks dynamically.
Advanced Spreadsheet Software

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. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your golf scores.
  2. 2. Select the calculation cell: Click the target cell where you want your rolling handicap calculation to display.
  3. 3. Enter the dynamic formula: Type the standard formulas like =OFFSET() combined with =COUNTA() to track the latest entries dynamically.
  4. 4. Apply and update: Press Enter to apply the formula, which will automatically recalculate the average as you add new scores to the row.
Fully compatible with Microsoft Excel formulas and file formats (.xlsx)Supports complex nested functions for dynamic data extractionLightweight, fast, and completely free to useBuilt-in templates for sports tracking and data analysis
microsoft office alternative - wps office

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.