{"id":382,"date":"2020-07-15T13:17:50","date_gmt":"2020-07-15T06:17:50","guid":{"rendered":"https:\/\/hoctin.vn\/?p=382"},"modified":"2020-09-04T14:44:02","modified_gmt":"2020-09-04T07:44:02","slug":"ham-if-trong-excel","status":"publish","type":"post","link":"https:\/\/hoctin.vn\/ham-if-trong-excel\/","title":{"rendered":"C\u00e1ch S\u1eed D\u1ee5ng H\u00e0m IF Trong Excel V\u00e0 V\u00ed D\u1ee5 C\u1ee5 Th\u1ec3"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

H\u00e0m IF l\u00e0 m\u1ed9t trong <\/span>10 h\u00e0m Excel \u0111\u01b0\u1ee3c d\u00f9ng nhi\u1ec1u nh\u1ea5t. B\u00e0i vi\u1ebft n\u00e0y s\u1ebd chia s\u1ebb v\u1edbi b\u1ea1n c\u00e1ch s\u1eed d\u1ee5ng h\u00e0m IF \u0111\u1ec3 th\u1ef1c hi\u1ec7n so s\u00e1nh l\u00f4-gic v\u00e0 tr\u1ea3 v\u1ec1 k\u1ebft qu\u1ea3 b\u1ea1n mong mu\u1ed1n.<\/span><\/p>

\u00a0<\/span><\/p>

H\u00e0m IF trong Excel gi\u00fap b\u1ea1n ki\u1ec3m tra xem m\u1ed9t \u0111i\u1ec1u ki\u1ec7n c\u00f3 \u0111\u01b0\u1ee3c \u0111\u00e1p \u1ee9ng hay kh\u00f4ng. N\u1ebfu c\u00f3, bi\u1ec3u th\u1ee9c logic l\u00e0 TRUE, h\u00e0m s\u1ebd tr\u1ea3 v\u1ec1 m\u1ed9t gi\u00e1 tr\u1ecb \/ tham chi\u1ebfu \u0111\u00e3 ch\u1ec9 \u0111\u1ecbnh v\u00e0 n\u1ebfu kh\u00f4ng (FALSE) th\u00ec n\u00f3 s\u1ebd tr\u1ea3 v\u1ec1 m\u1ed9t gi\u00e1 tr\u1ecb \/ tham chi\u1ebfu \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh kh\u00e1c.<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t

M\u1ee5c L\u1ee5c B\u00e0i Vi\u1ebft<\/h4>\t\t\t\t\t\t\t
<\/i><\/div>\n\t\t\t\t
<\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t
\n\t\t\t
\n\t\t\t\t<\/i>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

1, C\u00fa Ph\u00e1p H\u00e0m IF Trong Excel<\/span><\/h1><\/span><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t

C\u00e2u l\u1ec7nh h\u00e0m IF trong Excel:<\/span><\/p>

=IF(logical_test, [value_if_true], [value_if_false])<\/b><\/span><\/p>

Trong \u0111\u00f3:<\/span><\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t