{"id":7764,"date":"2024-12-21T18:27:43","date_gmt":"2024-12-21T18:27:43","guid":{"rendered":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/21\/huong-dan-dem-cac-dieu-kien-loai-tru-voi-sumproduct\/"},"modified":"2024-12-21T18:27:43","modified_gmt":"2024-12-21T18:27:43","slug":"huong-dan-dem-cac-dieu-kien-loai-tru-voi-sumproduct","status":"publish","type":"post","link":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/21\/huong-dan-dem-cac-dieu-kien-loai-tru-voi-sumproduct\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn \u0111\u1ebfm c\u00e1c \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb v\u1edbi SUMPRODUCT"},"content":{"rendered":"<div class=\"uk-panel uk-margin\" id=\"template-nJy84WMn#1\">\n<p>Trong b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y H\u1ecdc Excel Online s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch \u0111\u1ebfm c\u00e1c \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb v\u1edbi SUMPRODUCT.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_61 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\">Xem nhanh<\/p>\n<p><label for=\"ez-toc-cssicon-toggle-item-6767089e8c496\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><\/span><\/span><\/label><\/p>\n<nav>\n<ul class=\"ez-toc-list ez-toc-list-level-1 \">\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.hocexcel.online\/dem-cac-dieu-kien-loai-tru-sumproduct.html#Ket_hop_MATCH_va_SUMPRODUCT_dem_cac_dieu_kien_loai_tru\" title=\"K\u1ebft h\u1ee3p MATCH v\u00e0 SUMPRODUCT \u0111\u1ebfm c\u00e1c \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb\">K\u1ebft h\u1ee3p MATCH v\u00e0 SUMPRODUCT \u0111\u1ebfm c\u00e1c \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb<\/a>\n<ul class=\"ez-toc-list-level-4\">\n<li class=\"ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.hocexcel.online\/dem-cac-dieu-kien-loai-tru-sumproduct.html#Thiet_lap_vung_dieu_kien\" title=\"Thi\u1ebft l\u1eadp v\u00f9ng \u0111i\u1ec1u ki\u1ec7n\">Thi\u1ebft l\u1eadp v\u00f9ng \u0111i\u1ec1u ki\u1ec7n<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.hocexcel.online\/dem-cac-dieu-kien-loai-tru-sumproduct.html#Dem_dieu_kien_thoa_man\" title=\"\u0110\u1ebfm \u0111i\u1ec1u ki\u1ec7n th\u1ecfa m\u00e3n\">\u0110\u1ebfm \u0111i\u1ec1u ki\u1ec7n th\u1ecfa m\u00e3n<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.hocexcel.online\/dem-cac-dieu-kien-loai-tru-sumproduct.html#Dem_dieu_kien_loai_tru\" title=\"\u0110\u1ebfm \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb\">\u0110\u1ebfm \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.hocexcel.online\/dem-cac-dieu-kien-loai-tru-sumproduct.html#Cong_thuc\" title=\"C\u00f4ng th\u1ee9c\">C\u00f4ng th\u1ee9c<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/blog.hocexcel.online\/dem-cac-dieu-kien-loai-tru-sumproduct.html#Y_nghia\" title=\"\u00dd ngh\u0129a\">\u00dd ngh\u0129a<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/nav>\n<\/div>\n<h3><span class=\"ez-toc-section\" id=\"Ket_hop_MATCH_va_SUMPRODUCT_dem_cac_dieu_kien_loai_tru\"><\/span>K\u1ebft h\u1ee3p MATCH v\u00e0 SUMPRODUCT \u0111\u1ebfm c\u00e1c \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ta s\u1ebd \u0111\u1ebfn v\u1edbi b\u1ea3ng v\u00ed d\u1ee5 sau \u0111\u00e2y:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30609\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-1.png\" width=\"235\" height=\"447\" title=\"dem-dieu-kien-loai-tru-sumproduct-1\"><\/p>\n<p><strong>Y\u00eau c\u1ea7u:\u00a0<\/strong><em>\u0110\u1ebfm s\u1ed1 l\u01b0\u1ee3ng b\u00fat bi l\u00e0 lo\u1ea1i A, v\u00e0 kh\u00f4ng ph\u1ea3i lo\u1ea1i A.<\/em><\/p>\n<h4 class=\"excel geshifilter-excel\"><span class=\"ez-toc-section\" id=\"Thiet_lap_vung_dieu_kien\"><\/span>Thi\u1ebft l\u1eadp v\u00f9ng \u0111i\u1ec1u ki\u1ec7n<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>V\u1edbi y\u00eau c\u1ea7u n\u00e0y, ta s\u1ebd thi\u1ebft l\u1eadp v\u00f9ng \u0111i\u1ec1u ki\u1ec7n nh\u01b0 h\u00ecnh:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30629\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-2.png\" width=\"524\" height=\"450\" title=\"dem-dieu-kien-loai-tru-sumproduct-2\"><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Dem_dieu_kien_thoa_man\"><\/span>\u0110\u1ebfm \u0111i\u1ec1u ki\u1ec7n th\u1ecfa m\u00e3n<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Tr\u01b0\u1edbc khi \u0111i v\u00e0o \u0111\u1ebfm \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb, ta s\u1ebd c\u00f9ng \u0111\u1ebfm \u0111i\u1ec1u ki\u1ec7n th\u1ecfa m\u00e3n. \u0110\u1ec3 ti\u1ebfn h\u00e0nh, ta s\u1eed d\u1ee5ng \u0111\u01a1n gi\u1ea3n h\u00e0m\u00a0<strong>SUMPRODUCT\u00a0<\/strong>nh\u01b0 sau:<\/p>\n<div class=\"code-block code-block-1\" style=\"margin: 8px 0;clear: both\">\n<div class=\"ad-inserterpro\">\n<a href=\"https:\/\/hocexcel.online\/course\/preview\/ex101-excel-tu-co-ban-den-chuyen-gia-danh-cho-nguoi-di-lam\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/ex101_92019-nho-698.gif\" title=\"ex101_92019-nho-698\"><br \/>\n<\/a>\n<\/div>\n<\/div>\n<blockquote>\n<p><em><strong><span class=\"sy1\">=<\/span><span class=\"kw4\">SUMPRODUCT<\/span><span class=\"sy0\">((v\u00f9ng 1<\/span><span class=\"sy1\">=\u0111i\u1ec1u ki\u1ec7n 1<\/span><span class=\"sy0\">)<\/span><span class=\"sy1\">*<\/span><span class=\"sy0\">(v\u00f9ng 2=<\/span><span class=\"sy0\">\u0111i\u1ec1u ki\u1ec7n 2<\/span><span class=\"sy0\">))<\/span><\/strong><\/em><\/p>\n<\/blockquote>\n<p>C\u1ee5 th\u1ec3:<em>\u00a0=SUMPRODUCT((A2:A15=D2)*(B2:B15=E2))<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30630\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-3.png\" width=\"539\" height=\"498\" title=\"dem-dieu-kien-loai-tru-sumproduct-3\"><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Dem_dieu_kien_loai_tru\"><\/span>\u0110\u1ebfm \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>V\u1edbi y\u00eau c\u1ea7u tr\u00ean ta c\u00f3 th\u1ec3 gi\u1ea3i theo ph\u01b0\u01a1ng ph\u00e1p: \u0110\u1ebfm c\u00e1c lo\u1ea1i B, C, D r\u1ed3i t\u00ednh t\u1ed5ng; ho\u1eb7c \u0111\u1ebfm t\u1ed5ng lo\u1ea1i r\u1ed3i tr\u1eeb \u0111i lo\u1ea1i A. Ta c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n c\u00e1ch \u0111\u1ebfm lo\u1ea1i tr\u1eeb b\u1eb1ng c\u00e1ch k\u1ebft h\u1ee3p <strong><a href=\"http:\/\/blog.ezworkapp.com\/huong-dan-su-dung-ham-sumproduct-nang-cao-trong-excel.html\">SUMPRODUCT<\/a><\/strong>, <a href=\"http:\/\/blog.ezworkapp.com\/huong-dan-cach-dung-ham-isna-trong-excel-thong-qua-cac-vi-du.html\"><strong>ISNA<\/strong><\/a> v\u00e0 <a href=\"http:\/\/blog.ezworkapp.com\/cach-su-dung-ham-match-trong-excel.html\"><strong>MATCH<\/strong><\/a>.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Cong_thuc\"><\/span>C\u00f4ng th\u1ee9c<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>C\u00f4ng th\u1ee9c t\u1ed5ng qu\u00e1t trong tr\u01b0\u1eddng h\u1ee3p n\u00e0y:<\/p>\n<blockquote>\n<p class=\"excel geshifilter-excel\"><em><strong><span class=\"sy1\">=<\/span><span class=\"kw4\">SUMPRODUCT<\/span><span class=\"sy0\">((v\u00f9ng 1<\/span><span class=\"sy1\">=\u0111i\u1ec1u ki\u1ec7n 1<\/span><span class=\"sy0\">)<\/span><span class=\"sy1\">*<\/span><span class=\"kw3\">ISNA<\/span><span class=\"sy0\">(<\/span><span class=\"kw4\">MATCH<\/span><span class=\"sy0\">(v\u00f9ng 2<\/span><span class=\"sy0\">, \u0111i\u1ec1u ki\u1ec7n 2<\/span><span class=\"sy0\">,<\/span><span class=\"nu0\">0<\/span><span class=\"sy0\">)))<\/span><\/strong><\/em><\/p>\n<\/blockquote>\n<h4 class=\"excel geshifilter-excel\"><span class=\"ez-toc-section\" id=\"Y_nghia\"><\/span>\u00dd ngh\u0129a<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u0110\u1ea7u ti\u00ean, v\u1edbi h\u00e0m MATCH ta s\u1ebd t\u00ecm ra v\u1ecb tr\u00ed c\u1ee7a t\u1eebng gi\u00e1 tr\u1ecb trong v\u00f9ng 2 th\u1ecfa m\u00e3n \u0111i\u1ec1u ki\u1ec7n 2:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30631\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-4.png\" width=\"645\" height=\"499\" title=\"dem-dieu-kien-loai-tru-sumproduct-4\"><\/p>\n<p>K\u1ebft h\u1ee3p v\u1edbi h\u00e0m ISNA \u0111\u1ec3 \u0111\u01b0a gi\u00e1 tr\u1ecb v\u1ec1 TRUE\/FALSE:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30632\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-5.png\" width=\"644\" height=\"497\" title=\"dem-dieu-kien-loai-tru-sumproduct-5\"><\/p>\n<p>Cu\u1ed1i c\u00f9ng k\u1ebft h\u1ee3p v\u1edbi SUMPRODUCT \u0111\u1ec3 \u0111\u1ebfm theo \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30633\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-6.png\" width=\"646\" height=\"496\" title=\"dem-dieu-kien-loai-tru-sumproduct-6\"><\/p>\n<p>Trong tr\u01b0\u1eddng h\u1ee3p n\u00e0y, b\u1ea1n ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c ch\u1ec9 v\u1edbi\u00a0<strong>SUMPRODUCT\u00a0<\/strong>\u0111\u1ec3 thay th\u1ebf nh\u01b0 sau:<\/p>\n<p><em>=SUMPRODUCT((A2:A15=D2)*(B2:B15&lt;&gt;E2))<\/em><\/p>\n<p>Tuy nhi\u00ean, \u0111\u1ed1i v\u1edbi nhi\u1ec1u \u0111i\u1ec1u ki\u1ec7n lo\u1ea1i tr\u1eeb (ch\u1eb3ng h\u1ea1n s\u1ed1 b\u00fat ch\u00ec\u00a0<strong>kh\u00f4ng ph\u1ea3i A ho\u1eb7c B<\/strong>), h\u00e0m MATCH s\u1ebd l\u00e0 m\u1ed9t gi\u1ea3i ph\u00e1p h\u1eefu \u00edch.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30634\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/dem-dieu-kien-loai-tru-sumproduct-7.png\" width=\"707\" height=\"497\" title=\"dem-dieu-kien-loai-tru-sumproduct-7\"><\/p>\n<hr>\n<p>Tham kh\u1ea3o c\u00e1c b\u00e0i vi\u1ebft t\u01b0\u01a1ng t\u1ef1 v\u1ec1\u00a0<strong>SUMPRODUCT, ISNA v\u00e0 MATCH<\/strong> sau \u0111\u00e2y:<\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/huong-dan-cach-dung-ham-isna-trong-excel-thong-qua-cac-vi-du.html\"><strong>H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng h\u00e0m ISNA qua c\u00e1c v\u00ed d\u1ee5<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/nhan-biet-tat-ca-o-deu-trong-bang-ham-sumproduct.html\"><strong>Nh\u1eadn bi\u1ebft c\u00e1c \u00f4 \u0111\u1ec1u tr\u1ed1ng v\u1edbi SUMPRODUCT<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/huong-dan-cach-dung-ham-index-va-match-qua-bai-tap-co-loi-giai.html\"><strong>K\u1ebft h\u1ee3p INDEX v\u00e0 MATCH trong Excel<\/strong><\/a><\/p>\n<p>\u00a0<\/p>\n<\/div>\n<div class=\"uk-panel uk-margin uk-width-xlarge\">\n<p>Click \u0111\u0103ng k\u00fd h\u1ecdc t\u1ea1i:<\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/khoa-hoc\" target=\"_blank\" rel=\"noopener\">T\u1ea5t c\u1ea3 kho\u00e1 h\u1ecdc\u00a0<span>\ud83d\udcd6<\/span><\/a><\/p>\n<p><a href=\"http:\/\/blog.ezworkapp.com\/huong-dan-kich-hoat-khoa-hoc-tai-hoc-excel-online.html\" target=\"_blank\" rel=\"noopener\">H\u01b0\u1edbng d\u1eabn k\u00edch ho\u1ea1t<\/a><\/p>\n<p>HKD H\u1ecdc Excel Online<br \/>S\u1ed1 \u0110K: 17A80048102<\/p>\n<\/div>\n<div class=\"uk-panel uk-text-small uk-margin uk-margin-remove-bottom uk-text-center\">\n<p>\u00a9  document.currentScript.insertAdjacentHTML(&#8216;afterend&#8217;, &#8221; + new Intl.DateTimeFormat(document.documentElement.lang, {year: &#8216;numeric&#8217;}).format() + &#8221;);  H\u1ecdc Excel Online. All rights reserved.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"ad-inserterpro\">\n<a href=\"https:\/\/hocexcel.online\/course\/preview\/ex101-excel-tu-co-ban-den-chuyen-gia-danh-cho-nguoi-di-lam\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/ex101_92019-nho-698.gif\"><br \/>\n<\/a>\n<\/div>\n","protected":false},"author":1,"featured_media":7765,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-7764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-co-ban"],"_links":{"self":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/7764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/comments?post=7764"}],"version-history":[{"count":0,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/7764\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media\/7765"}],"wp:attachment":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media?parent=7764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/categories?post=7764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/tags?post=7764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}