TD interview question

Excel functions