YEAR practice

YEAR gives reports a numeric grouping key even when dates have different display formats.

Lesson 75 of 81 · 3 exercises

Practise YEAR

What you will practise

YEAR reads the numeric date value and returns the Gregorian calendar year. It does not slice the displayed date label. Date cells use the 1900 system and localized text-date parsing is outside this workspace.

YEAR(date_serial)

The syntax above is a guide. Read the data and each task to choose the right arguments for your formula.

3 exercises in this lesson

  1. Exercise 1 · answer in E10

    Extract the reporting year from the start date in E2.

  2. Exercise 2 · answer in E10

    Extract the year from the finish date in F3.

  3. Exercise 3 · answer in E10

    Return "Same year" when E4 and F4 have the same calendar year, otherwise "New year".

Before you check your answer

  • Keep the source data intact. Write your answer in the highlighted result cell. Changing a source value changes the question instead of solving it.
  • Use the requested cells. Check the first and last row of a range and read its column heading. A plausible total can still come from the wrong data.
  • Reference values that can change. A fixed number may match today's sheet. A cell reference keeps the formula connected when the source values change.

How the answer is checked

The workbook evaluates your formula against the requested result. It also checks the skill being practised and tests the formula with changed source data, so a fixed answer that happens to match is not enough.

Use progressive hints when you need help, then try the task again with fresh data. Correctly solving a step opens the next exercise.