Date excel formula. We selected C5 and entered the following .