How to calculate grade using IF function in Ms Excel