If the Excel YEAR function is not working on your Windows 11/10 PC, change the cell format, convert text dates to real dates, ...