Professional Documents
Culture Documents
1
1
Дасгал:
Өмнөх
=IF(logical_test,[value_if_true],[value_if
[logical_test] Нөхцөл
[value_if_true] Нөхцөл үнэн байхад гаргах утга
atements allow you to make logical comparisons between conditions. An IF statement generally says that if one condition is true do some
[value_if_false] Нөхцөл худал байхад гаргах утга
E and FALSE are unlike other words in Excel formulas in that they don't need to be in quotes, and Excel will automatically capitalize them.
C3="Apple","Yes","No")
e down for more detail
atementЖишээ 1: IF функц
atementswith
can another function
also force additional calculations to be performed if a certain condition is met. Here we're going to evaluate a cell to see if S
Дасгал:
Өмнөх Дараах
e],[value_if_false])
гаргах утга
hat if one condition is true do something, otherwise do something else. The formulas can return text, values, or even more calculations.
гаргах утга Logical Test
will automatically capitalize them. Numbers don't need to be in quotes either. Regular text, like Yes or No does need to be in quotes like t
If True
iPhone
мөн эсэх?
IF statements
iPhone
Samsung
LG False
iPhone
Nokia Худал
the formula, and the corresponding ranges in the formula will be the same color. You can see this if you select cell F33 and press F2 to ed
Logical Test
Хүрээгүй
Tатвар 8.25%
Тээврийн зардал 1.25%
Бүтээгдэхүүн Тоо хэмжээ Үнэ Нийт дүн
Компьютер 2 $9.76 $19.52
Ширээ 3 $3.42 $10.26
Grand Total
Хүрсэн
=IF(logical_test,[value_if_true],IF(logical_test,[value_if
[logical_test] Нөхцөл
[value_if_true] Нөхцөл үнэн байхад гаргах утг
худал байхад гаргах утга
2 E15 нүдэн дэх томъёог E32 хүртэл хуулж томъёог шалгана уу.
Дасгал:
Борлуулалт Ангилал
> 30000 Өндөр
= 30000 Дундаж
< 30000 Бага
= IF(AND(LOGICAL1,LOGICAL2,…), (VALUE_IF_TRUE), (VA
= IF(OR(LOGICAL1,LOGICAL2,…), (VALUE_IF_TRUE), (VAL
A
Жишээ: IF, AND, OR функцын хослол
AND функц нь тухайн бичигдсэн нөхцлүүд нэгэн зэрэг биелэх нөхцлийг шалгах
тохиолдолд ашиглагдана.
Дасгал:
Өмнөх Дараах
UE), (VALUE_IF_FALSE))
E), (VALUE_IF_FALSE))
Борлуулалт Ангилал
>= 40000 Өндөр
40000 > X > 30000 Дундаж
<= 30000 Бага