Siemens interview question

Excel