
But, if he/she scores less than 70%, he/she is failing. If the student scores 70% or better, he/she will pass the class. In column Q we would like Excel to tell us whether a student is passing – or failing the class. Then, if B7 does not equal 14, nothing will be displayed in this cell. Let’s say that you type the double quotes here.

You can enter the same instructions here as you did above.

You could use something like “B7=14” or “B7>12” or “B7<6” Logical test – Here, we can test to see if the value in a selected cell is what we expect.If the value in a cell is what you expect (true) – do this. In its simplest form, the IF function says something like: It allows you to make logical comparisons between a value and what you expect. The IF function is one of the most popular functions in Excel. Then, we will use a =VLOOKUP function to determine what grade each student has earned. In this section, we will use an =IF function to determine whether a student is passing or failing the class.

In addition to doing arithmetic, Excel can do other kinds of functions based on the data in your spreadsheet.
