Sometimes, the YEAR function returns the correct value, but Excel displays an unexpected year, such as 1900 or 1905. This occurs when the cell containing the YEAR formula is formatted as a Date ...
Build flexible Excel functions that automatically handle blanks, defaults, and overrides without messy nested IFs.