Formula Errors

How to Calculate a Pupil's School Year from Date of Birth in Excel

Algirdas JasaitisAlgirdas Jasaitis Oct 13, 2026 869 views

Question details

The user needs an Excel formula to determine a student's National Curriculum year based on their date of birth and a September 1st cutoff date.

How to Calculate a Pupil's School Year from Date of Birth in Excel
Product
Excel
Device & OS
not provided
Scenario
Determining the correct school year or grade for pupils in an educational setting using the 2023-2024 academic year cutoff.
Observed behavior
The user requires a specific, actionable formula to map a date of birth to a school year, as previous explanations lacked clear formula implementation.
Before you start

Ensure that the dates of birth in your spreadsheet are formatted as valid dates rather than text, so the date functions can calculate them correctly.

Solution 1Recommended

Calculate Age at the September 1st Cutoff Using DATEDIF

Use the DATEDIF function to find the exact age of the pupil as of the start of the academic year.

The DATEDIF function calculates the number of years between two dates. By setting the second date to September 1st of the current academic year, you can reliably find the student's age at the cutoff point.

1
Enter the Date of Birth

Select cell A2 and input the pupil's date of birth (e.g., 05/15/2014).

2
Apply the DATEDIF Formula

Click an empty cell where you want the age to be displayed, type the formula =DATEDIF(A2,DATE(2023,9,1),"Y") and press Enter.

3
Copy the Formula

Click the bottom-right corner of the cell containing the formula and drag it down to apply the calculation to the rest of the pupils in your list.

Calculate Age at the September 1st Cutoff Using DATEDIF
Updating the Academic Year: To calculate the age for a different academic year, simply change the year in the DATE function. For example, use DATE(2024,9,1) for the 2024-2025 school year.
Manage Student Data Effortlessly

Easily Calculate Student Ages and Year Groups with WPS Spreadsheet

WPS Spreadsheet offers comprehensive support for complex date functions like DATEDIF, DATE, and VLOOKUP, making it highly effective for educators managing student rosters.

  1. 1. Open your roster in WPS Spreadsheet: Launch WPS Office and open the workbook containing your student data.
  2. 2. Enter the date formula: Input =DATEDIF(A2,DATE(2023,9,1),"Y") to determine the pupil's age at the start of the school year.
  3. 3. Apply mapping: Use VLOOKUP or IF functions seamlessly within the intuitive WPS interface to assign students to their appropriate classes.
100% compatibility with Microsoft Excel formulas (.xlsx files).Free, lightweight, and user-friendly interface for school administrators.Advanced lookup and reference functions for easy age mapping.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my DATEDIF formula return a #NUM! error?

This happens if the date of birth (the first date in the formula) is later than the cutoff date (the second date). Check that the pupil's date of birth precedes September 1st of the specified year.

How can I avoid typing the cutoff date in every formula?

You can type the cutoff date, like 9/1/2023, into a single cell (e.g., F1) and reference it in your formula using absolute references: =DATEDIF(A2,$F$1,"Y"). This makes it easy to update the year globally by changing just one cell.

Can I calculate the National Curriculum year without a VLOOKUP table?

Yes, if the relationship between age and school year is consistent. In many systems, you can simply subtract a fixed number from the age as of September 1st. For instance, if Year 1 starts at age 5, the formula could be =DATEDIF(A2,DATE(2023,9,1),"Y")-4.