Excel year function 2 digits. The SYD function performs the following calculations.