Home > Topics > excel > How to use if function and examples

How to use if function and examples

藏色散人
Release: 2019-06-06 14:08:31
Original
12755 people have browsed it

How to use if function and examples

How to use the if function in EXCEL and examples

IF syntax format:

 IF(logical_test,value_if_true,value_if_false)
Copy after login

Meaning: Determine whether a condition is met, return a value if it is met, and return another value if it is not met.

Example: How to calculate whether the score is qualified

How to use if function and examples

Select the table where you want to use the function, select "Formula" ->"Insert Function", select "if" in the pop-up dialog box, as shown in the figure below.

How to use if function and examples

In the dialogue that pops up if, the logical_test option fills in the condition, the value_if_true option fills in the value returned if the condition is true, and the value_if_false option fills in the value returned if the condition is false, as shown in the figure below Show.

How to use if function and examples

As shown in the figure below, place the mouse on the lower right corner of the cell. When the mouse displays a cross, drag the mouse to other cells in the column.

How to use if function and examples

Finally, the result shows:

How to use if function and examples

For more Excel technical articles, please visit Excel Basic TutorialColumn!

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template