## What is Excel Formula for Grade?

The Grade system formula is actually the nested IF in excel that checks certain conditions and returns the particular Grade if the condition is met. The formula that we will be used for calculating the Grade is to be developed in such a way that all the conditions that we have for checking the Grade slab are checked, and at last, that Grade is returned that belongs to the condition.

- The excel formula for Grade calculation is a great way by which we can actually classify the data as per the nature of the characteristics of that data. Suppose if we have the data of marks obtained by the students of a class and we want to know which student is better and who has achieved more marks than other students, we can calculate the Grades for the marks.
- There is no inbuilt formula that can calculate the Grade in excel, so we will be using the “IF” formula in excel. Since we will have multiple Grades, we will need to use the Nested IF formula excel for calculating Grades in the below cases.

### How to use Excel Formula for Grade Calculation?

Below are the examples of Excel Formula for Grade Calculation

#### Example #1 – Calculating the Grade of students using Excel Formula

In this example of Excel Formula for Grade, we have the data of the marks that are obtained by the students in their final exams, and we want to calculate the Grades for the obtained marks. In this case, we have defined the criteria for Grades and calculated the Grades. The highest marks have “A,” and the lowest mark has “D” Grade.

- First, we have to define the criteria that will be used to return a Grade for the marks scored by the student.

- After the criteria are defined, then we need to calculate the Total marks of students and the Percentage achieved by the student.

- Now we have to use the nested IF formula that is

**=IF(H2>80%,”A”,IF(H2>70%,”B”,IF(H2>60%,”C”,”D”)))**

The logic that is defined in the formula is

If the percentage is more than 80, than the student falls in Grade A

**=IF(H2>80%,”A” ,IF(H2>70%,”B”,IF(H2>60%,”C”,”D”)))**

If the percentage is more than 70, than the student falls in Grade B.

**=IF(H2>80%,”A”, IF(H2>70%,”B”,IF(H2>60%,”C”,”D”)))**

If the percentage is more than 60, than the student falls in Grade C.

**=IF(H2>80%,”A”,IF(H2>70%,”B”, IF(H2>60%,”C”,”D”)))**

At last, if the percentage is less than 60, than the student falls in Grade D.

**=IF(H2>80%,”A”,IF(H2>70%,”B”, IF(H2>60%,”C”,”D”)))**

- Now we need to drag the formula down to the other cells also to calculate the Grade for other students.

#### Example #2 – Calculating the Product Quality Grade using Excel Formula for Grade.

In this example of Excel Grade Formula, we have calculated the grade of quality for Fruits based on the quality score the particular veggies have obtained. The highest quality score has a good Grade of A, and the lowest quality score has the Grade of D.

- The first step will be to set the criteria for calculating the Grades.

- Now we have to use the nested IF formulas as we have used in the above example to calculate the Grade for the product quality.

The formula that we have used in this case is

=IF(B2>80%,”A”,IF(B2>70%,”B”,IF(B2>60%,”C”,”D”)))

The logic that we have defined in this case is as below.

If the percentage is more than 80, than the Grade is A

**=IF(B2>80%,”A” ,IF(B2>70%,”B”,IF(B2>60%,”C”,”D”)))**

If the percentage is more than 70, than the Grade is

**=IF(B2>80%,”A”,IF(B2>70%,”B” ,IF(B2>60%,”C”,”D”)))**

If the percentage is more than 60, than the Grade is C.

**=IF(B2>80%,”A”,IF(B2>70%,”B”,IF(B2>60%,”C”,”D”)))**

At last, if the percentage is less than 60, than the Grade is D.

**=IF(B2>80%,”A”,IF(B2>70%,”B”,IF(B2>60%,”C”,”D”)))**

- Now we need to drag the formula down to other cells to calculate the Grade for other products also.

#### Example #3 – Calculating the Grade of quality offered by service centers.

Now, in this case, the formula that we will be using will be different from the above two examples of Excel Grade Formula, as in this case, the criteria will be the no. of complaints that are lodged against the customer service center. This means the lesser the complaints; the more is the quality of service.

- The first step is to define the criteria for the Grade of service.

- Now we need to use the below formula to calculate the Grade; in this case, we will be using the logic of “<” instead of “>.”

The nested IF formula that we need is below.

**=IF(B2<10,”A”,IF(B2<20,”B”,IF(B2<30,”C”,”D”)))**

The logic is as below.

If the complaints are less than 10, than “A” grade.

**=IF(B2<10,”A”,IF(B2<20,”B”,IF(B2<30,”C”,”D”)))**

If the complaints are less than 20, than “B” grade.

**=IF(B2<10,”A”,IF(B2<20,”B”,IF(B2<30,”C”,”D”)))**

If the complaints are less than 30, than “C” grade.

**=IF(B2<10,”A”,IF(B2<20,”B”,IF(B2<30,”C”,”D”)))**

If the complaints do not fall in any criteria, then “D” grade.

**=IF(B2<10,”A”,IF(B2<20,”B”,IF(B2<30,”C”,”D”)))**

- Now we need to drag the formula down to other cells.

### Things to remember about Excel Formula for Grade

- If we have a percentage instead of numbers, then we also need to define % in the logical function.
- If we are calculating the Grades for a case where less the number means a higher Grade, than we need to use “<” instead of “>” as the operator.
- If we are referring to any list as the condition that we need to make sure that the range that we have referred to is locked before we drag the formula down to other cells.
- We need to remember that we need to close the formula with that much brackets that are equal to the numbers of “IF” we have used inside the formula. This means that we need to close all nested If formulas with “).”

### Recommended Articles

This has been a guide to Excel Formula for Grade. Here we discuss how to calculate letter grade in excel along with examples and downloadable excel templates. You may also look at these useful functions in excel –

- Not Equal to in Excel
- Percentage of Excel Calculation
- Multiplication in Excel
- COUNTIF with Multiple Criteria

- 35+ Courses
- 120+ Hours
- Full Lifetime Access
- Certificate of Completion

## Leave a Reply