0% found this document useful (0 votes)
25 views2 pages

Student Test Score Result Grade Student 1 35 Student 2 67 Student 3 88 Student 4 70 Student 5 95

The document discusses using nested IF functions in an Excel formula to summarize student test scores and assign grades. The formula evaluates test scores and returns either "Passed" or "Failed" in one column, then uses additional nested IF statements to return a letter grade ("A" through "F") in a second column based on the test score ranges.

Uploaded by

NoviraAuliaFitri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views2 pages

Student Test Score Result Grade Student 1 35 Student 2 67 Student 3 88 Student 4 70 Student 5 95

The document discusses using nested IF functions in an Excel formula to summarize student test scores and assign grades. The formula evaluates test scores and returns either "Passed" or "Failed" in one column, then uses additional nested IF statements to return a letter grade ("A" through "F") in a second column based on the test score ranges.

Uploaded by

NoviraAuliaFitri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

I’ll apply this syntax to the following list of test scores.

Student Test Result Grade


Score
Student 35
1
Student 67
2
Student 88
3
Student 70
4
Student 95
5

To determine who passed or failed the test, I want the formula to return the following results:

Test score Result


Greater than or equal to 70 Passed
Less than 70 Failed

In the first cell of the Result column, cell C2, I’ll enter the following formula:

IF(B2>=70, “Passed”, “Failed”)


To turn the list of test scores into grades, I can go a step further and embed additional IF functions as formula arguments, often referred to as nesting. You can nest up to 64 IF
functions as value_if_true and value_if_false arguments.

I want the formula to return the grades as follows:

Test score Grade


Greater than 89 A
From 80 to 89 B
From 70 to 79 C
From 60 to 69 D
Less than 60 F

IF(B2>89, “A”, IF(B2>79, “B”, IF(B2>69, “C”, IF(B2>59, “D”, “F”))))


Notice that I’ve nested three other IF functions to calculate the grades. The last argument doesn’t need the IF function; it automatically displays an F for numbers that have not
been accounted for in the nested IF functions. I’ve used the IF function four times, so I’ll need to include four ending parentheses in the formula.
Student Test Result Grade
Score
Student 35 Failed F
1
Student 67 Failed D
2
Student 88 Passed B
3
Student 70 Passed C
4
Student 95 Passed A
5

You might also like