Jane Street interview question

Excel task, simple functions are enough