UBS interview question

Asked some complex Excel formula based questions