WNS interview question

Advanced excel