GLG interview question

Excel type problems