Rate Calculation By If formula