Year from a date

Write the year of each date in column A into column B, ready for grouping.

Changes data. A backup copy and an undo point are turned on.

What it does, step by step

  1. Write “Year” in B1
  2. Year formula in B2:B1000

Use it in MacroRoni: open the Starter gallery, search for "Year from a date", check the steps, and adjust the sheet and ranges to fit your workbook. Preview the result before you run it.

Get MacroRoni free

More dates & time macros