1, "2 is greater than 1", "impossible")" according to the syntax of the if function; finally press Enter and the cell will "2 is greater than 1" is displayed."/> 1, "2 is greater than 1", "impossible")" according to the syntax of the if function; finally press Enter and the cell will "2 is greater than 1" is displayed.">

Home >Topics >excel >How to use the computer first-level if function

How to use the computer first-level if function

angryTom
angryTomOriginal
2019-10-24 13:43:3316693browse

How to use the computer first-level if function

How to use the computer-level if function

The IF function is one of the most commonly used functions in Excel. Today Let me explain to you the use of IF function.

Recommended tutorial: excel tutorial

Grammar structure

=IF(条件, 条件成立时的值, 条件不成立时的值)

For example, we enter ## in cell A2 #IF(2>1, "2 is greater than 1", "impossible")

How to use the computer first-level if function

When you hit Enter, the content of A2 becomes:

How to use the computer first-level if function

We all know that 2 is greater than 1, so according to its grammatical structure, the program will execute the value when the condition is true. Then let’s change the condition to not true. Let’s try it. Try IF(

2>3, "2 is greater than 1", "impossible"):

How to use the computer first-level if function

How to use the computer first-level if function## Sure enough , the following value is executed when the condition is not met.

The following is a small application to show the use of the if function:

How to use the computer first-level if function Above we use if The function determines the student's score. If it is greater than or equal to 60, it is considered qualified, otherwise it is considered unqualified.

IF function can be used nested, we can change this formula to let it judge more results!

How to use the computer first-level if function

How to use the computer first-level if functionThis statement, when it is judged that the score is greater than or equal to 60, the second if function will be executed to judge again whether it is greater than or equal to 80 , returns excellent if established, otherwise returns qualified.

I hope you will practice more, practice makes perfect.

The above is the detailed content of How to use the computer first-level if function. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn