{"id":4771,"date":"2024-12-08T08:42:00","date_gmt":"2024-12-08T08:42:00","guid":{"rendered":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/08\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du\/"},"modified":"2024-12-08T08:42:00","modified_gmt":"2024-12-08T08:42:00","slug":"ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du","status":"publish","type":"post","link":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/08\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du\/","title":{"rendered":"H\u00e0m SUMIF trong Google Trang t\u00ednh \u2013 C\u00e1ch s\u1eed d\u1ee5ng v\u00e0 v\u00ed d\u1ee5"},"content":{"rendered":"<div class=\"uk-panel uk-margin\" id=\"template-nO_m37Xw#1\">\n<p><em><span style=\"font-weight: 400\">B\u00e0i vi\u1ebft n\u00e0y <a href=\"http:\/\/blog.ezworkapp.com\/\"><strong>H\u1ecdc Excel Online<\/strong><\/a> s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch s\u1eed d\u1ee5ng <a href=\"http:\/\/blog.ezworkapp.com\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html\"><strong>h\u00e0m SUMIF trong Google Sheets<\/strong> <\/a>\u0111\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c \u00f4 c\u00f3 \u0111i\u1ec1u ki\u1ec7n th\u00f4ng qua c\u00e1c v\u00ed d\u1ee5 c\u00f4ng th\u1ee9c cho v\u0103n b\u1ea3n, s\u1ed1 v\u00e0 ng\u00e0y th\u00e1ng v\u00e0 c\u00e1ch t\u00ednh t\u1ed5ng v\u1edbi nhi\u1ec1u ti\u00eau ch\u00ed.<\/span><\/em><\/p>\n<p><span style=\"font-weight: 400\">M\u1ed9t s\u1ed1 ch\u1ee9c n\u0103ng ti\u1ec7n l\u1ee3i trong <a href=\"http:\/\/blog.ezworkapp.com\/lam-quen-voi-google-sheets.html\"><strong>Google Sheets<\/strong><\/a> l\u00e0 nh\u1eefng ch\u1ee9c n\u0103ng gi\u00fap b\u1ea1n t\u00f3m t\u1eaft v\u00e0 ph\u00e2n lo\u1ea1i d\u1eef li\u1ec7u. H\u00f4m nay, ch\u00fang ta s\u1ebd c\u00f9ng t\u00ecm hi\u1ec3u m\u1ed9t trong nh\u1eefng h\u00e0m nh\u01b0 v\u1eady \u2013 h\u00e0m SumIf \u2013 m\u1ed9t c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd \u0111\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c \u00f4 theo \u0111i\u1ec1u ki\u1ec7n. Tr\u01b0\u1edbc khi \u0111i v\u00e0o c\u00e1c v\u00ed d\u1ee5 v\u1ec1 c\u00fa ph\u00e1p v\u00e0 c\u00f4ng th\u1ee9c, ch\u00fang ta h\u00e3y b\u1eaft \u0111\u1ea7u v\u1edbi m\u1ed9t v\u00e0i l\u01b0u \u00fd quan tr\u1ecdng.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Google Trang t\u00ednh c\u00f3 hai ch\u1ee9c n\u0103ng \u0111\u1ec3 c\u1ed9ng c\u00e1c s\u1ed1 d\u1ef1a tr\u00ean c\u00e1c \u0111i\u1ec1u ki\u1ec7n: SUMIF v\u00e0 SUMIFS. C\u00e1i tr\u01b0\u1edbc ch\u1ec9 \u0111\u00e1nh gi\u00e1 m\u1ed9t \u0111i\u1ec1u ki\u1ec7n trong khi c\u00e1i sau c\u00f3 th\u1ec3 ki\u1ec3m tra nhi\u1ec1u \u0111i\u1ec1u ki\u1ec7n c\u00f9ng m\u1ed9t l\u00fac. Trong b\u00e0i vi\u1ebft n\u00e0y, ch\u00fang ta s\u1ebd ch\u1ec9 t\u1eadp trung v\u00e0o h\u00e0m SUMIF, vi\u1ec7c s\u1eed d\u1ee5ng h\u00e0m SUMIFS s\u1ebd \u0111\u01b0\u1ee3c \u0111\u1ec1 c\u1eadp trong b\u00e0i vi\u1ebft ti\u1ebfp theo nh\u00e9.<\/span><\/p>\n<p><span style=\"font-weight: 400\">N\u1ebfu b\u1ea1n bi\u1ebft c\u00e1ch s\u1eed d\u1ee5ng<a href=\"http:\/\/blog.ezworkapp.com\/cach-dung-ham-sumif-trong-excel-vi-du-cong-thuc.html\"><strong> SUMIF trong Excel<\/strong> <\/a>th\u00ec <strong>h\u00e0m<\/strong> <strong>SUMIF trong Google Trang t\u00ednh<\/strong> s\u1ebd n\u1eb1m trong t\u1ea7m tay b\u1ea1n v\u00ec c\u01a1 b\u1ea3n c\u1ea3 hai \u0111\u1ec1u gi\u1ed1ng nhau. Nh\u01b0ng \u0111\u1eebng v\u1ed9i b\u1ecf qua b\u00e0i vi\u1ebft n\u00e0y \u2013 b\u1ea1n c\u00f3 th\u1ec3 t\u00ecm th\u1ea5y m\u1ed9t s\u1ed1 c\u00f4ng th\u1ee9c SUMIF r\u1ea5t h\u1eefu \u00edch m\u00e0 b\u1ea1n ch\u01b0a bi\u1ebft \u0111\u1ea5y!<\/span><\/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-67555bd7482d9\" 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-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#SUMIF_trong_Google_Trang_tinh_%E2%80%93_cu_phap_va_cach_su_dung_co_ban\" title=\"SUMIF trong Google Trang t\u00ednh \u2013 c\u00fa ph\u00e1p v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u01a1 b\u1ea3n\">SUMIF trong Google Trang t\u00ednh \u2013 c\u00fa ph\u00e1p v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u01a1 b\u1ea3n<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Cac_vi_du_ve_su_dung_ham_SUMIF_trong_Google_Trang_tinh\" title=\"C\u00e1c v\u00ed d\u1ee5 v\u1ec1 s\u1eed d\u1ee5ng h\u00e0m SUMIF trong Google Trang t\u00ednh\">C\u00e1c v\u00ed d\u1ee5 v\u1ec1 s\u1eed d\u1ee5ng h\u00e0m SUMIF trong Google Trang t\u00ednh<\/a>\n<ul class=\"ez-toc-list-level-3\">\n<li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Cong_thuc_SUMIF_voi_tieu_chi_van_ban_doi_sanh_chinh_xac\" title=\"C\u00f4ng th\u1ee9c SUMIF v\u1edbi ti\u00eau ch\u00ed v\u0103n b\u1ea3n (\u0111\u1ed1i s\u00e1nh ch\u00ednh x\u00e1c)\">C\u00f4ng th\u1ee9c SUMIF v\u1edbi ti\u00eau ch\u00ed v\u0103n b\u1ea3n (\u0111\u1ed1i s\u00e1nh ch\u00ednh x\u00e1c)<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Cong_thuc_SUMIF_voi_cac_ky_tu_dai_dien_khop_mot_phan\" title=\"C\u00f4ng th\u1ee9c SUMIF v\u1edbi c\u00e1c k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n (kh\u1edbp m\u1ed9t ph\u1ea7n)\">C\u00f4ng th\u1ee9c SUMIF v\u1edbi c\u00e1c k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n (kh\u1edbp m\u1ed9t ph\u1ea7n)<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#SUMIF_phan_biet_chu_hoa_chu_thuong_trong_Google_Trang_tinh\" title=\"SUMIF ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng trong Google Trang t\u00ednh\">SUMIF ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng trong Google Trang t\u00ednh<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Cong_thuc_SUMIF_cho_so\" title=\"C\u00f4ng th\u1ee9c SUMIF cho s\u1ed1\">C\u00f4ng th\u1ee9c SUMIF cho s\u1ed1<\/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-7\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Tinh_tong_neu_lon_hon_hoac_nho_hon\" title=\"T\u00ednh t\u1ed5ng n\u1ebfu l\u1edbn h\u01a1n ho\u1eb7c nh\u1ecf h\u01a1n\">T\u00ednh t\u1ed5ng n\u1ebfu l\u1edbn h\u01a1n ho\u1eb7c nh\u1ecf h\u01a1n<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Tinh_tong_neu_bang\" title=\"T\u00ednh t\u1ed5ng n\u1ebfu b\u1eb1ng\">T\u00ednh t\u1ed5ng n\u1ebfu b\u1eb1ng<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Tinh_tong_neu_khong_bang\" title=\"T\u00ednh t\u1ed5ng n\u1ebfu kh\u00f4ng b\u1eb1ng\">T\u00ednh t\u1ed5ng n\u1ebfu kh\u00f4ng b\u1eb1ng<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Cong_thuc_SUMIF_cua_Google_Trang_tinh_cho_ngay_thang\" title=\"C\u00f4ng th\u1ee9c SUMIF c\u1ee7a Google Trang t\u00ednh cho ng\u00e0y th\u00e1ng\">C\u00f4ng th\u1ee9c SUMIF c\u1ee7a Google Trang t\u00ednh cho ng\u00e0y th\u00e1ng<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Tinh_tong_dua_tren_cac_o_trong_hoac_khong_trong\" title=\"T\u00ednh t\u1ed5ng d\u1ef1a tr\u00ean c\u00e1c \u00f4 tr\u1ed1ng ho\u1eb7c kh\u00f4ng tr\u1ed1ng\">T\u00ednh t\u1ed5ng d\u1ef1a tr\u00ean c\u00e1c \u00f4 tr\u1ed1ng ho\u1eb7c kh\u00f4ng tr\u1ed1ng<\/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-12\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Tinh_tong_neu_trong\" title=\"T\u00ednh t\u1ed5ng n\u1ebfu tr\u1ed1ng:\">T\u00ednh t\u1ed5ng n\u1ebfu tr\u1ed1ng:<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Tong_neu_khong_trong\" title=\"T\u1ed5ng n\u1ebfu kh\u00f4ng tr\u1ed1ng:\">T\u1ed5ng n\u1ebfu kh\u00f4ng tr\u1ed1ng:<\/a><\/li>\n<\/ul>\n<\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Ham_SUMIF_trong_Google_Trang_tinh_voi_nhieu_tieu_chi_HOAC_logic\" title=\"H\u00e0m SUMIF trong Google Trang t\u00ednh v\u1edbi nhi\u1ec1u ti\u00eau ch\u00ed (HO\u1eb6C logic)\">H\u00e0m SUMIF trong Google Trang t\u00ednh v\u1edbi nhi\u1ec1u ti\u00eau ch\u00ed (HO\u1eb6C logic)<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#Google_Sheets_SUMIF_%E2%80%93_nhung_dieu_can_nho\" title=\"Google Sheets SUMIF \u2013 nh\u1eefng \u0111i\u1ec1u c\u1ea7n nh\u1edb\">Google Sheets SUMIF \u2013 nh\u1eefng \u0111i\u1ec1u c\u1ea7n nh\u1edb<\/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-16\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#1_SUMIF_chi_co_the_danh_gia_mot_dieu_kien\" title=\"1. SUMIF ch\u1ec9 c\u00f3 th\u1ec3 \u0111\u00e1nh gi\u00e1 m\u1ed9t \u0111i\u1ec1u ki\u1ec7n\">1. SUMIF ch\u1ec9 c\u00f3 th\u1ec3 \u0111\u00e1nh gi\u00e1 m\u1ed9t \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-17\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#2_Ham_SUMIF_khong_phan_biet_chu_hoa_chu_thuong\" title=\"2. H\u00e0m SUMIF kh\u00f4ng ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng\">2. H\u00e0m SUMIF kh\u00f4ng ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#3_Cung_cap_dai_o_va_sum_range_co_kich_thuoc_bang_nhau\" title=\"3. Cung c\u1ea5p d\u1ea3i \u00f4 v\u00e0 sum_range c\u00f3 k\u00edch th\u01b0\u1edbc b\u1eb1ng nhau\">3. Cung c\u1ea5p d\u1ea3i \u00f4 v\u00e0 sum_range c\u00f3 k\u00edch th\u01b0\u1edbc b\u1eb1ng nhau<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#4_Ghi_nho_cu_phap_cua_tieu_chi_SUMIF\" title=\"4. Ghi nh\u1edb c\u00fa ph\u00e1p c\u1ee7a ti\u00eau ch\u00ed SUMIF\">4. Ghi nh\u1edb c\u00fa ph\u00e1p c\u1ee7a ti\u00eau ch\u00ed SUMIF<\/a><\/li>\n<li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/blog.hocexcel.online\/ham-sumif-trong-google-trang-tinh-cach-su-dung-va-vi-du.html#5_Khoa_pham_vi_voi_tham_chieu_o_tuyet_doi_neu_can\" title=\"5. Kh\u00f3a ph\u1ea1m vi v\u1edbi tham chi\u1ebfu \u00f4 tuy\u1ec7t \u0111\u1ed1i n\u1ebfu c\u1ea7n\">5. Kh\u00f3a ph\u1ea1m vi v\u1edbi tham chi\u1ebfu \u00f4 tuy\u1ec7t \u0111\u1ed1i n\u1ebfu c\u1ea7n<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/nav>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"SUMIF_trong_Google_Trang_tinh_%E2%80%93_cu_phap_va_cach_su_dung_co_ban\"><\/span><b>SUMIF trong Google Trang t\u00ednh \u2013 c\u00fa ph\u00e1p v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u01a1 b\u1ea3n<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400\">H\u00e0m SUMIF \u0111\u01b0\u1ee3c d\u00f9ng \u0111\u1ec3 t\u00ednh t\u1ed5ng d\u1eef li\u1ec7u s\u1ed1 d\u1ef1a tr\u00ean m\u1ed9t \u0111i\u1ec1u ki\u1ec7n. C\u00fa ph\u00e1p c\u1ee7a n\u00f3 nh\u01b0 sau:<\/span><\/p>\n<p><span style=\"font-weight: 400\">C\u00fa ph\u00e1p c\u1ee7a h\u00e0m SUMIF nh\u01b0 sau:<\/span><\/p>\n<p><strong>=SUMIF(range, condition,[sum_range])<\/strong><\/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-389.gif\" title=\"ex101_92019-nho-389\"><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p><span style=\"font-weight: 400\">Trong \u0111\u00f3:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><strong>Range (ph\u1ea1m vi)<\/strong>: <\/span><span style=\"font-weight: 400\">l\u00e0 v\u00f9ng d\u1eef li\u1ec7u ch\u1ee9a ti\u00eau ch\u00ed\/\u0111i\u1ec1u ki\u1ec7n s\u1ebd ki\u1ec3m tra<\/span><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><strong>Condition (\u0111i\u1ec1u ki\u1ec7n)<\/strong>: l\u00e0 ti\u00eau ch\u00ed m\u00e0 m\u1ed9t \u00f4 trong ph\u1ea1m vi c\u1ea7n \u0111\u00e1p \u1ee9ng \u0111\u1ec3 \u0111\u1ee7 \u0111i\u1ec1u ki\u1ec7n l\u00e0 \u0111\u1ed1i s\u00e1nh. \u0110i\u1ec1u ki\u1ec7n c\u00f3 th\u1ec3 l\u00e0 m\u1ed9t gi\u00e1 tr\u1ecb (s\u1ed1, v\u0103n b\u1ea3n, ng\u00e0y th\u00e1ng) ho\u1eb7c m\u1ed9t tham chi\u1ebfu \u0111\u1ebfn m\u1ed9t \u00f4 ch\u1ee9a ti\u00eau ch\u00ed.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><strong>Sum_range<\/strong> l\u00e0 m\u1ed9t tham s\u1ed1 t\u00f9y ch\u1ecdn. N\u1ebfu \u0111\u01b0\u1ee3c bao g\u1ed3m, \u0111\u00f3 s\u1ebd l\u00e0 ph\u1ea1m vi \u00f4 ch\u1ee9a c\u00e1c gi\u00e1 tr\u1ecb \u0111\u01b0\u1ee3c th\u00eam v\u00e0o n\u1ebfu s\u1ed1 t\u01b0\u01a1ng \u1ee9ng c\u1ee7a n\u00f3 trong ph\u1ea1m vi ph\u00f9 h\u1ee3p v\u1edbi \u0111i\u1ec1u ki\u1ec7n. N\u1ebfu tham s\u1ed1 sum_range kh\u00f4ng \u0111\u01b0\u1ee3c bao g\u1ed3m th\u00ec<\/span><span style=\"font-weight: 400\"> h\u00e0m SUMIF s\u1ebd s\u1eed d\u1ee5ng tham chi\u1ebfu trong tham s\u1ed1 \u0111\u1ea7u ti\u00ean l\u00e0m v\u00f9ng t\u00ednh t\u1ed5ng.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5: h\u00e3y t\u1ea1o m\u1ed9t c\u00f4ng th\u1ee9c \u0111\u01a1n gi\u1ea3n \u0111\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c s\u1ed1 trong c\u1ed9t B n\u1ebfu c\u1ed9t A ch\u1ee9a m\u1ed9t m\u1ee5c b\u1eb1ng \u201cm\u1ee5c m\u1eabu\u201d.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u0110\u1ed1i v\u1edbi b\u00e0i n\u00e0y, ch\u00fang ta x\u00e1c \u0111\u1ecbnh c\u00e1c \u0111\u1ed1i s\u1ed1 sau:<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>Range<\/strong> \u2013 danh s\u00e1ch c\u00e1c m\u1ee5c \u2013 A5:A13.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>Condition<\/strong> \u2013 \u00f4 ch\u1ee9a m\u1ee5c quan t\u00e2m \u2013 B1.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><strong>Sum_range<\/strong> \u2013 s\u1ed1 ti\u1ec1n \u0111\u01b0\u1ee3c t\u00ednh t\u1ed5ng \u2013 B5:B13.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u0110\u1eb7t t\u1ea5t c\u1ea3 c\u00e1c \u0111\u1ed1i s\u1ed1 l\u1ea1i v\u1edbi nhau, ch\u00fang ta nh\u1eadn \u0111\u01b0\u1ee3c c\u00f4ng th\u1ee9c sau:<\/span><\/p>\n<p><strong>= SUMIF (A5: A13, B1, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Th\u1ef1c hi\u1ec7n tr\u00ean Google Trang t\u00ednh ta \u0111\u01b0\u1ee3c:<\/span><\/p>\n<figure id=\"attachment_33393\" aria-describedby=\"caption-attachment-33393\" style=\"width: 258px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-33393\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/1-hc3a0m-sumif-trong-google-trang-tc3adnh.png\" alt=\"1 H\u00e0m SUMIF trong Google Trang t\u00ednh\" width=\"258\" height=\"335\" title=\"1-hc3a0m-sumif-trong-google-trang-tc3adnh\"><figcaption id=\"caption-attachment-33393\" class=\"wp-caption-text\">1 H\u00e0m SUMIF trong Google Trang t\u00ednh<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Cac_vi_du_ve_su_dung_ham_SUMIF_trong_Google_Trang_tinh\"><\/span><b>C\u00e1c v\u00ed d\u1ee5 v\u1ec1 s\u1eed d\u1ee5ng h\u00e0m SUMIF trong Google Trang t\u00ednh<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400\">T\u1eeb v\u00ed d\u1ee5 tr\u00ean, b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng vi\u1ec7c s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c SUMIF trong b\u1ea3ng t\u00ednh Google kh\u00e1 d\u1ec5 d\u00e0ng. Trong h\u1ea7u h\u1ebft c\u00e1c tr\u01b0\u1eddng h\u1ee3p, n\u00f3 th\u1ef1c s\u1ef1 l\u00e0 nh\u01b0 v\u1eady \ud83d\ude42 Nh\u01b0ng v\u1eabn c\u00f3 m\u1ed9t s\u1ed1 th\u1ee7 thu\u1eadt v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng kh\u00e1c c\u00f3 th\u1ec3 l\u00e0m cho c\u00f4ng th\u1ee9c c\u1ee7a b\u1ea1n hay ho h\u01a1n. C\u00e1c v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y s\u1ebd minh h\u1ecda m\u1ed9t v\u00e0i tr\u01b0\u1eddng h\u1ee3p s\u1eed d\u1ee5ng \u0111i\u1ec3n h\u00ecnh.\u00a0<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Cong_thuc_SUMIF_voi_tieu_chi_van_ban_doi_sanh_chinh_xac\"><\/span><b>C\u00f4ng th\u1ee9c SUMIF v\u1edbi ti\u00eau ch\u00ed v\u0103n b\u1ea3n (\u0111\u1ed1i s\u00e1nh ch\u00ednh x\u00e1c)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 c\u1ed9ng c\u00e1c s\u1ed1 c\u00f3 v\u0103n b\u1ea3n c\u1ee5 th\u1ec3 trong m\u1ed9t c\u1ed9t kh\u00e1c trong c\u00f9ng m\u1ed9t h\u00e0ng, b\u1ea1n ch\u1ec9 c\u1ea7n cung c\u1ea5p v\u0103n b\u1ea3n m\u00e0 b\u1ea1n quan t\u00e2m trong \u0111\u1ed1i s\u1ed1 ti\u00eau ch\u00ed c\u1ee7a c\u00f4ng th\u1ee9c SUMIF. Nh\u01b0 th\u01b0\u1eddng l\u1ec7, b\u1ea5t k\u1ef3 v\u0103n b\u1ea3n n\u00e0o trong b\u1ea5t k\u1ef3 \u0111\u1ed1i s\u1ed1 n\u00e0o c\u1ee7a b\u1ea5t k\u1ef3 c\u00f4ng th\u1ee9c n\u00e0o \u0111\u1ec1u ph\u1ea3i \u0111\u01b0\u1ee3c \u0111\u1eb7t trong \u201cd\u1ea5u ngo\u1eb7c k\u00e9p\u201d.<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5, \u0111\u1ec3 c\u00f3 t\u1ed5ng s\u1ed1 chu\u1ed1i, b\u1ea1n s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c sau:<\/span><\/p>\n<p><strong>=SUMIF(A5:A13,\u201dbananas\u201d,B5:B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Ho\u1eb7c, b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1eb7t ti\u00eau ch\u00ed v\u00e0o m\u1ed9t s\u1ed1 \u00f4 v\u00e0 tham chi\u1ebfu \u0111\u1ebfn \u00f4 \u0111\u00f3:<\/span><\/p>\n<p><strong>=SUMIF(A5:A13,B1,B5:B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">C\u00f4ng th\u1ee9c n\u00e0y r\u00f5 nh\u01b0 ban ng\u00e0y, ph\u1ea3i kh\u00f4ng? B\u00e2y gi\u1edd, l\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 b\u1ea1n c\u00f3 \u0111\u01b0\u1ee3c t\u1ed5ng s\u1ed1 t\u1ea5t c\u1ea3 c\u00e1c m\u1ee5c ngo\u1ea1i tr\u1eeb chu\u1ed1i? \u0110\u1eebng r\u1ed1i, h\u00e3y s\u1eed d\u1ee5ng h\u00e0m sau:<\/span><\/p>\n<figure id=\"attachment_33395\" aria-describedby=\"caption-attachment-33395\" style=\"width: 301px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-33395\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/3-hc3a0m-sumif-trong-google-trang-tc3adnh.png\" alt=\"3 H\u00e0m SUMIF trong Google Trang t\u00ednh\" width=\"301\" height=\"332\" title=\"3-hc3a0m-sumif-trong-google-trang-tc3adnh\"><figcaption id=\"caption-attachment-33395\" class=\"wp-caption-text\">3 H\u00e0m SUMIF trong Google Trang t\u00ednh<\/figcaption><\/figure>\n<p><strong>=SUMIF(A5:A13,\u201d&lt;&gt;bananas\u201d,B5:B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">N\u1ebfu m\u1ed9t \u201cm\u1ee5c lo\u1ea1i tr\u1eeb\u201d \u0111\u01b0\u1ee3c nh\u1eadp trong m\u1ed9t \u00f4, th\u00ec b\u1ea1n \u0111\u1eb7t to\u00e1n t\u1eed kh\u00f4ng b\u1eb1ng v\u1edbi trong d\u1ea5u ngo\u1eb7c k\u00e9p (\u201c&lt;&gt;\u201d) v\u00e0 n\u1ed1i to\u00e1n t\u1eed v\u00e0 tham chi\u1ebfu \u00f4 b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng d\u1ea5u v\u00e0 (&amp;). V\u00ed d\u1ee5:<\/span><\/p>\n<p><strong>=SUMIF (A5:A13,\u201d&lt;&gt;\u201d&amp;B1, B5:B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">\u1ea2nh ch\u1ee5p m\u00e0n h\u00ecnh sau minh h\u1ecda c\u1ea3 hai c\u00f4ng th\u1ee9c \u201cT\u1ed5ng n\u1ebfu b\u1eb1ng\u201d v\u00e0 \u201cT\u1ed5ng n\u1ebfu kh\u00f4ng b\u1eb1ng\u201d \u0111ang ho\u1ea1t \u0111\u1ed9ng:<\/span><\/p>\n<figure id=\"attachment_33394\" aria-describedby=\"caption-attachment-33394\" style=\"width: 582px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-33394\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/2-hc3a0m-sumif-trong-google-trang-tc3adnh.png\" alt=\"2 H\u00e0m SUMIF trong Google Trang t\u00ednh\" width=\"582\" height=\"338\" title=\"2-hc3a0m-sumif-trong-google-trang-tc3adnh\"><figcaption id=\"caption-attachment-33394\" class=\"wp-caption-text\">2 H\u00e0m SUMIF trong Google Trang t\u00ednh<\/figcaption><\/figure>\n<p><span style=\"font-weight: 400\">B\u1ea1n h\u00e3y l\u01b0u \u00fd r\u1eb1ng SUMIF trong Google Trang t\u00ednh t\u00ecm ki\u1ebfm ch\u00ednh x\u00e1c v\u0103n b\u1ea3n \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh. Trong v\u00ed d\u1ee5 n\u00e0y, ch\u1ec9 t\u1ed5ng s\u1ed1 l\u01b0\u1ee3ng Chu\u1ed1i(bananas), kh\u00f4ng bao g\u1ed3m chu\u1ed1i Xanh(Green bananas) v\u00e0 chu\u1ed1i Goldfinger(Goldfinger bananas). N\u1ebfu b\u1ea1n mu\u1ed1n t\u00ednh t\u1ed5ng t\u1ea5t c\u1ea3 c\u00e1c lo\u1ea1i chu\u1ed1i, h\u00e3y s\u1eed d\u1ee5ng c\u00e1c k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n trong v\u00ed d\u1ee5 ti\u1ebfp theo nh\u00e9!<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Cong_thuc_SUMIF_voi_cac_ky_tu_dai_dien_khop_mot_phan\"><\/span><b>C\u00f4ng th\u1ee9c SUMIF v\u1edbi c\u00e1c k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n (kh\u1edbp m\u1ed9t ph\u1ea7n)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">Khi b\u1ea1n mu\u1ed1n t\u00ednh t\u1ed5ng c\u00e1c \u00f4 trong m\u1ed9t c\u1ed9t n\u1ebfu m\u1ed9t \u00f4 trong c\u1ed9t kh\u00e1c ch\u1ee9a m\u1ed9t v\u0103n b\u1ea3n ho\u1eb7c k\u00fd t\u1ef1 c\u1ee5 th\u1ec3 nh\u01b0 m\u1ed9t ph\u1ea7n c\u1ee7a n\u1ed9i dung \u00f4, h\u00e3y k\u00e8m theo m\u1ed9t trong c\u00e1c k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n sau trong ti\u00eau ch\u00ed c\u1ee7a b\u1ea1n:<\/span><\/p>\n<p><span style=\"font-weight: 400\">D\u1ea5u h\u1ecfi (?) \u0110\u1ec3 ph\u00f9 h\u1ee3p v\u1edbi b\u1ea5t k\u1ef3 k\u00fd t\u1ef1 \u0111\u01a1n n\u00e0o.<\/span><\/p>\n<p><span style=\"font-weight: 400\">D\u1ea5u hoa th\u1ecb (*) \u0111\u1ec3 kh\u1edbp v\u1edbi b\u1ea5t k\u1ef3 chu\u1ed7i k\u00fd t\u1ef1 n\u00e0o.<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5: \u0111\u1ec3 t\u00ednh t\u1ed5ng s\u1ed1 l\u01b0\u1ee3ng c\u1ee7a t\u1ea5t c\u1ea3 c\u00e1c lo\u1ea1i chu\u1ed1i, h\u00e3y s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c sau:<\/span><\/p>\n<p><strong>=SUMIF(A5:A13,\u201d*bananas*\u201d,B5:B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00e1c k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n c\u00f9ng v\u1edbi c\u00e1c tham chi\u1ebfu \u00f4. V\u1edbi \u0111i\u1ec1u n\u00e0y, h\u00e3y \u0111\u1eb7t k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n trong d\u1ea5u ngo\u1eb7c k\u00e9p v\u00e0 n\u1ed1i n\u00f3 v\u1edbi m\u1ed9t tham chi\u1ebfu \u00f4:<\/span><\/p>\n<p><strong>=SUMIF(A5:A13, \u201c*\u201d&amp;B1&amp;\u201d*\u201d, B5:B13)<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"SUMIF_phan_biet_chu_hoa_chu_thuong_trong_Google_Trang_tinh\"><\/span><b>SUMIF ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng trong Google Trang t\u00ednh<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">Theo m\u1eb7c \u0111\u1ecbnh, SUMIF trong Google Trang t\u00ednh kh\u00f4ng th\u1ea5y s\u1ef1 kh\u00e1c bi\u1ec7t gi\u1eefa ch\u1eef vi\u1ebft hoa v\u00e0 ch\u1eef nh\u1ecf. \u0110\u1ec3 bu\u1ed9c n\u00f3 ph\u1ea3i ph\u00e2n bi\u1ec7t c\u00e1c k\u00fd t\u1ef1 vi\u1ebft hoa v\u00e0 vi\u1ebft th\u01b0\u1eddng, h\u00e3y s\u1eed d\u1ee5ng SUMIF k\u1ebft h\u1ee3p v\u1edbi c\u00e1c h\u00e0m FIND v\u00e0 ARRAYFORMULA:<\/span><\/p>\n<p><strong>SUMIF(ARRAYFORMULA( FIND(\u201c<i>text<\/i>\u201c, range)), 1, sum_range)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Gi\u1ea3 s\u1eed b\u1ea1n c\u00f3 m\u1ed9t danh s\u00e1ch m\u00e3 s\u1ed1 \u0111\u01a1n h\u00e0ng trong c\u1ed9t A5:A13 v\u00e0 s\u1ed1 ti\u1ec1n t\u01b0\u01a1ng \u1ee9ng trong C5:C13, trong \u0111\u00f3 c\u00e1c m\u00e3 s\u1ed1 c\u00f3 th\u1ec3 l\u1eb7p l\u1ea1i \u1edf m\u1ed9t s\u1ed1 h\u00e0ng. B\u1ea1n nh\u1eadp id \u0111\u01a1n \u0111\u1eb7t h\u00e0ng m\u1ee5c ti\u00eau v\u00e0o m\u1ed9t \u00f4, ch\u1eb3ng h\u1ea1n B1, v\u00e0 s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c sau \u0111\u1ec3 tr\u1ea3 v\u1ec1 t\u1ed5ng s\u1ed1 \u0111\u01a1n \u0111\u1eb7t h\u00e0ng:<\/span><\/p>\n<p><strong>=SUMIF(ARRAYFORMULA(FIND(B1, A5:A13)),1, C5:C13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">C\u00f4ng th\u1ee9c n\u00e0y ho\u1ea1t \u0111\u1ed9ng nh\u01b0 th\u1ebf n\u00e0o?<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 hi\u1ec3u r\u00f5 h\u01a1n v\u1ec1 logic c\u1ee7a c\u00f4ng th\u1ee9c, h\u00e3y chia n\u00f3 th\u00e0nh c\u00e1c ph\u1ea7n:<\/span><\/p>\n<p><span style=\"font-weight: 400\">Ph\u1ea7n kh\u00f3 nh\u1ea5t l\u00e0 \u0111\u1ed1i s\u1ed1 ph\u1ea1m vi: ARRAYFORMULA (FIND (B1, A5: A13))<\/span><\/p>\n<p><span style=\"font-weight: 400\">B\u1ea1n s\u1eed d\u1ee5ng h\u00e0m FIND ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng \u0111\u1ec3 t\u00ecm id \u0111\u01a1n h\u00e0ng ch\u00ednh x\u00e1c. V\u1ea5n \u0111\u1ec1 l\u00e0 m\u1ed9t c\u00f4ng th\u1ee9c FIND th\u00f4ng th\u01b0\u1eddng ch\u1ec9 c\u00f3 th\u1ec3 t\u00ecm ki\u1ebfm trong m\u1ed9t \u00f4 duy nh\u1ea5t. \u0110\u1ec3 t\u00ecm ki\u1ebfm trong m\u1ed9t ph\u1ea1m vi, c\u1ea7n c\u00f3 c\u00f4ng th\u1ee9c m\u1ea3ng, v\u00ec v\u1eady b\u1ea1n l\u1ed3ng FIND b\u00ean trong ARRAYFORMULA.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Khi k\u1ebft h\u1ee3p tr\u00ean t\u00ecm th\u1ea5y m\u1ed9t k\u1ebft qu\u1ea3 ch\u00ednh x\u00e1c, n\u00f3 s\u1ebd tr\u1ea3 v\u1ec1 1 (v\u1ecb tr\u00ed c\u1ee7a k\u00fd t\u1ef1 \u0111\u01b0\u1ee3c t\u00ecm th\u1ea5y \u0111\u1ea7u ti\u00ean), n\u1ebfu kh\u00f4ng s\u1ebd l\u00e0 l\u1ed7i #VALUE. V\u00ec v\u1eady, vi\u1ec7c duy nh\u1ea5t b\u1ea1n c\u1ea7n l\u00e0m l\u00fac n\u00e0y l\u00e0 t\u00ednh t\u1ed5ng s\u1ed1 ti\u1ec1n t\u01b0\u01a1ng \u1ee9ng v\u1edbi s\u1ed1 1. \u0110\u1ed1i v\u1edbi \u0111i\u1ec1u n\u00e0y, b\u1ea1n \u0111\u1eb7t 1 trong \u0111\u1ed1i s\u1ed1 ti\u00eau ch\u00ed v\u00e0 C5:C13 trong \u0111\u1ed1i s\u1ed1 sum_range. L\u00e0 xong!<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Cong_thuc_SUMIF_cho_so\"><\/span><b>C\u00f4ng th\u1ee9c SUMIF cho s\u1ed1<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c s\u1ed1 \u0111\u00e1p \u1ee9ng m\u1ed9t \u0111i\u1ec1u ki\u1ec7n nh\u1ea5t \u0111\u1ecbnh, h\u00e3y s\u1eed d\u1ee5ng m\u1ed9t trong c\u00e1c to\u00e1n t\u1eed so s\u00e1nh trong c\u00f4ng th\u1ee9c SUMIF:<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Tinh_tong_neu_lon_hon_hoac_nho_hon\"><\/span><b>T\u00ednh t\u1ed5ng n\u1ebfu l\u1edbn h\u01a1n ho\u1eb7c nh\u1ecf h\u01a1n<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 so s\u00e1nh c\u00e1c s\u1ed1 \u0111\u00e3 cho v\u1edbi m\u1ed9t s\u1ed1 c\u1ee5 th\u1ec3, h\u00e3y s\u1eed d\u1ee5ng m\u1ed9t trong c\u00e1c to\u00e1n t\u1eed logic sau:<\/span><\/p>\n<p><span style=\"font-weight: 400\">l\u1edbn h\u01a1n (&gt;)<\/span><\/p>\n<p><span style=\"font-weight: 400\">nh\u1ecf h\u01a1n (&lt;)<\/span><\/p>\n<p><span style=\"font-weight: 400\">l\u1edbn h\u01a1n ho\u1eb7c b\u1eb1ng (&gt; =)<\/span><\/p>\n<p><span style=\"font-weight: 400\">nh\u1ecf h\u01a1n ho\u1eb7c b\u1eb1ng (&lt;=)<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5: \u0111\u1ec3 c\u1ed9ng c\u00e1c s\u1ed1 trong c\u1ed9t B t\u1eeb B5:B13 l\u1edbn h\u01a1n 200, h\u00e3y s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c sau:<\/span><\/p>\n<p><strong>= SUMIF (B5: B13, \u201c&gt; 200\u201d)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">L\u01b0u \u00fd c\u00fa ph\u00e1p ch\u00ednh x\u00e1c: m\u1ed9t s\u1ed1 b\u1eaft \u0111\u1ea7u b\u1eb1ng to\u00e1n t\u1eed so s\u00e1nh v\u00e0 to\u00e0n b\u1ed9 c\u1ea5u tr\u00fac \u0111\u01b0\u1ee3c \u0111\u1eb7t trong d\u1ea5u ngo\u1eb7c k\u00e9p.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Ho\u1eb7c b\u1ea1n c\u00f3 th\u1ec3 nh\u1eadp s\u1ed1 v\u00e0o m\u1ed9t \u00f4 n\u00e0o \u0111\u00f3 (v\u00ed d\u1ee5 B1) v\u00e0 n\u1ed1i to\u00e1n t\u1eed so s\u00e1nh v\u1edbi tham chi\u1ebfu \u00f4:<\/span><\/p>\n<p><strong>=SUMIF(B5:B13, \u201c&gt;\u201d&amp;B1, B5:B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">B\u1ea1n th\u1eadm ch\u00ed c\u00f3 th\u1ec3 nh\u1eadp c\u1ea3 to\u00e1n t\u1eed so s\u00e1nh v\u00e0 s\u1ed1 v\u00e0o c\u00e1c \u00f4 ri\u00eang bi\u1ec7t v\u00e0 n\u1ed1i c\u00e1c \u00f4 \u0111\u00f3:<\/span><\/p>\n<p><span style=\"font-weight: 400\">X\u00e2y d\u1ef1ng ti\u00eau ch\u00ed SUMIF b\u1eb1ng c\u00e1ch n\u1ed1i to\u00e1n t\u1eed so s\u00e1nh v\u00e0 s\u1ed1.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Theo c\u00e1ch t\u01b0\u01a1ng t\u1ef1, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng c\u00e1c to\u00e1n t\u1eed logic kh\u00e1c nh\u01b0:<\/span><\/p>\n<p><span style=\"font-weight: 400\">T\u00ednh t\u1ed5ng n\u1ebfu l\u1edbn h\u01a1n ho\u1eb7c b\u1eb1ng 200:<\/span><\/p>\n<p><strong>= SUMIF (B5: B13, \u201c&gt; = 200\u201d)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">T\u00ednh t\u1ed5ng n\u1ebfu nh\u1ecf h\u01a1n 200:<\/span><\/p>\n<p><strong>= SUMIF (B5: B13, \u201c&lt;200\u201d)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">T\u00ednh t\u1ed5ng n\u1ebfu nh\u1ecf h\u01a1n ho\u1eb7c b\u1eb1ng 200:<\/span><\/p>\n<p><strong>= SUMIF (B5: B13, \u201c&lt;= 200\u201d)<\/strong><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Tinh_tong_neu_bang\"><\/span><b>T\u00ednh t\u1ed5ng n\u1ebfu b\u1eb1ng<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c s\u1ed1 b\u1eb1ng m\u1ed9t s\u1ed1 c\u1ee5 th\u1ec3, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng d\u1ea5u b\u1eb1ng (=) c\u00f9ng v\u1edbi s\u1ed1 \u0111\u00f3 ho\u1eb7c b\u1ecf qua d\u1ea5u b\u1eb1ng m\u00e0 ch\u1ec9 bao g\u1ed3m s\u1ed1 trong \u0111\u1ed1i s\u1ed1 ti\u00eau ch\u00ed.<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5: \u0111\u1ec3 c\u1ed9ng t\u1ea5t c\u1ea3 c\u00e1c gi\u00e1 ti\u1ec1n trong c\u1ed9t B c\u00f3 s\u1ed1 l\u01b0\u1ee3ng trong c\u1ed9t C b\u1eb1ng 10, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng b\u1ea5t k\u1ef3 c\u00f4ng th\u1ee9c n\u00e0o d\u01b0\u1edbi \u0111\u00e2y:<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, 10, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">ho\u1eb7c l\u00e0<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c= 10\u201d, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">ho\u1eb7c l\u00e0<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, B1, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Trong \u0111\u00f3 B1 l\u00e0 \u00f4 ch\u1ee9a s\u1ed1 l\u01b0\u1ee3ng c\u1ea7n thi\u1ebft.<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Tinh_tong_neu_khong_bang\"><\/span><b>T\u00ednh t\u1ed5ng n\u1ebfu kh\u00f4ng b\u1eb1ng<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c s\u1ed1 kh\u00e1c v\u1edbi s\u1ed1 \u0111\u00e3 ch\u1ec9 \u0111\u1ecbnh, h\u00e3y s\u1eed d\u1ee5ng to\u00e1n t\u1eed kh\u00f4ng b\u1eb1ng (&lt;&gt;).<\/span><\/p>\n<p><span style=\"font-weight: 400\">Trong v\u00ed d\u1ee5 ti\u1ebfp theo, ta s\u1ebd c\u1ed9ng c\u00e1c s\u1ed1 l\u01b0\u1ee3ng trong c\u1ed9t B c\u00f3 b\u1ea5t k\u1ef3 s\u1ed1 l\u01b0\u1ee3ng n\u00e0o ngo\u1ea1i tr\u1eeb 10 trong c\u1ed9t C, h\u00e3y th\u1ef1c hi\u1ec7n v\u1edbi m\u1ed9t trong c\u00e1c c\u00f4ng th\u1ee9c sau:<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c&lt;&gt; 10\u201d, B5: B13)<\/strong><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c&lt;&gt;\u201d &amp; B1, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">\u1ea2nh ch\u1ee5p m\u00e0n h\u00ecnh b\u00ean d\u01b0\u1edbi cho th\u1ea5y k\u1ebft qu\u1ea3:<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Cong_thuc_SUMIF_cua_Google_Trang_tinh_cho_ngay_thang\"><\/span><b>C\u00f4ng th\u1ee9c SUMIF c\u1ee7a Google Trang t\u00ednh cho ng\u00e0y th\u00e1ng<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c gi\u00e1 tr\u1ecb d\u1ef1a tr\u00ean ti\u00eau ch\u00ed ng\u00e0y, b\u1ea1n c\u0169ng s\u1eed d\u1ee5ng c\u00e1c to\u00e1n t\u1eed so s\u00e1nh nh\u01b0 c\u00e1c v\u00ed d\u1ee5 tr\u00ean. \u0110i\u1ec3m m\u1ea5u ch\u1ed1t l\u00e0 ng\u00e0y th\u00e1ng ph\u1ea3i \u0111\u01b0\u1ee3c cung c\u1ea5p \u1edf \u0111\u1ecbnh d\u1ea1ng m\u00e0 Google Trang t\u00ednh c\u00f3 th\u1ec3 hi\u1ec3u \u0111\u01b0\u1ee3c.<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5: \u0111\u1ec3 t\u00ednh t\u1ed5ng s\u1ed1 ti\u1ec1n trong B5:B13 cho c\u00e1c ng\u00e0y giao h\u00e0ng tr\u01b0\u1edbc ng\u00e0y 11 th\u00e1ng 3 n\u0103m 2018, h\u00e3y x\u00e2y d\u1ef1ng ti\u00eau ch\u00ed theo m\u1ed9t trong nh\u1eefng c\u00e1ch sau:<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c&lt;3\/11\/2018\u201d, B5: B13)<\/strong><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c&lt;\u201d &amp; DATE (2018,3,11), B5: B13)<\/strong><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c&lt;\u201d &amp; B1, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Trong \u0111\u00f3 B1 l\u00e0 ng\u00e0y m\u1ee5c ti\u00eau:<\/span><\/p>\n<p><span style=\"font-weight: 400\">Trong tr\u01b0\u1eddng h\u1ee3p b\u1ea1n mu\u1ed1n t\u00ednh t\u1ed5ng c\u00e1c \u00f4 d\u1ef1a tr\u00ean ng\u00e0y h\u00f4m nay, h\u00e3y k\u00e8m th\u00eam h\u00e0m TODAY () trong \u0111\u1ed1i s\u1ed1 ti\u00eau ch\u00ed.<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5, ch\u00fang ta t\u1ea1o m\u1ed9t c\u00f4ng th\u1ee9c t\u00ednh t\u1ed5ng s\u1ed1 ti\u1ec1n giao h\u00e0ng ng\u00e0y h\u00f4m nay:<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, TODAY (), B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">L\u1ea5y v\u00ed d\u1ee5 xa h\u01a1n, ch\u00fang ta c\u00f3 th\u1ec3 t\u00ecm th\u1ea5y t\u1ed5ng s\u1ed1 l\u1ea7n giao h\u00e0ng trong qu\u00e1 kh\u1ee9 v\u00e0 t\u01b0\u01a1ng lai:<\/span><\/p>\n<p><span style=\"font-weight: 400\">Tr\u01b0\u1edbc h\u00f4m nay: = SUMIF (C5: C13, \u201c&lt;\u201d &amp; TODAY (), B5: B13)<\/span><\/p>\n<p><span style=\"font-weight: 400\">Sau h\u00f4m nay: = SUMIF (C5: C13, \u201c&gt;\u201d &amp; TODAY (), B5: B13)<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Tinh_tong_dua_tren_cac_o_trong_hoac_khong_trong\"><\/span><b>T\u00ednh t\u1ed5ng d\u1ef1a tr\u00ean c\u00e1c \u00f4 tr\u1ed1ng ho\u1eb7c kh\u00f4ng tr\u1ed1ng<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">Trong nhi\u1ec1u tr\u01b0\u1eddng h\u1ee3p, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea7n t\u00ednh t\u1ed5ng c\u00e1c gi\u00e1 tr\u1ecb trong m\u1ed9t c\u1ed9t nh\u1ea5t \u0111\u1ecbnh n\u1ebfu m\u1ed9t \u00f4 t\u01b0\u01a1ng \u1ee9ng trong m\u1ed9t c\u1ed9t kh\u00e1c tr\u1ed1ng ho\u1eb7c kh\u00f4ng.<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u0110\u1ed1i v\u1edbi b\u00e0i n\u00e0y, h\u00e3y s\u1eed d\u1ee5ng m\u1ed9t trong c\u00e1c ti\u00eau ch\u00ed sau trong c\u00f4ng th\u1ee9c SUMIF c\u1ee7a Google Trang t\u00ednh:<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"Tinh_tong_neu_trong\"><\/span><b>T\u00ednh t\u1ed5ng n\u1ebfu tr\u1ed1ng:<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201c=\u201d \u0111\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c \u00f4 ho\u00e0n to\u00e0n tr\u1ed1ng.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201c\u201d \u0111\u1ec3 t\u00ednh t\u1ed5ng c\u00e1c \u00f4 tr\u1ed1ng bao g\u1ed3m c\u1ea3 nh\u1eefng \u00f4 ch\u1ee9a chu\u1ed7i \u0111\u1ed9 d\u00e0i b\u1eb1ng kh\u00f4ng.<\/span><\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"Tong_neu_khong_trong\"><\/span><b>T\u1ed5ng n\u1ebfu kh\u00f4ng tr\u1ed1ng:<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">\u201c&lt;&gt;\u201d \u0111\u1ec3 th\u00eam c\u00e1c \u00f4 ch\u1ee9a b\u1ea5t k\u1ef3 gi\u00e1 tr\u1ecb n\u00e0o, bao g\u1ed3m c\u1ea3 c\u00e1c chu\u1ed7i c\u00f3 \u0111\u1ed9 d\u00e0i b\u1eb1ng kh\u00f4ng.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5: \u0111\u1ec3 t\u00ednh t\u1ed5ng s\u1ed1 ti\u1ec1n m\u00e0 ng\u00e0y giao h\u00e0ng \u0111\u01b0\u1ee3c \u0111\u1eb7t (m\u1ed9t \u00f4 trong c\u1ed9t C kh\u00f4ng tr\u1ed1ng), h\u00e3y s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c n\u00e0y:<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c&lt;&gt;\u201d, B5: B13)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 nh\u1eadn t\u1ed5ng s\u1ed1 ti\u1ec1n kh\u00f4ng c\u00f3 ng\u00e0y giao h\u00e0ng (m\u1ed9t \u00f4 trong c\u1ed9t C tr\u1ed1ng), h\u00e3y s\u1eed d\u1ee5ng c\u00e1i n\u00e0y:<\/span><\/p>\n<p><strong>= SUMIF (C5: C13, \u201c\u201d, B5: B13)<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Ham_SUMIF_trong_Google_Trang_tinh_voi_nhieu_tieu_chi_HOAC_logic\"><\/span><b>H\u00e0m SUMIF trong Google Trang t\u00ednh v\u1edbi nhi\u1ec1u ti\u00eau ch\u00ed (HO\u1eb6C logic)<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">H\u00e0m SUMIF trong Google Trang t\u00ednh \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 th\u00eam c\u00e1c gi\u00e1 tr\u1ecb ch\u1ec9 d\u1ef1a tr\u00ean m\u1ed9t ti\u00eau ch\u00ed. \u0110\u1ec3 t\u00ednh t\u1ed5ng v\u1edbi nhi\u1ec1u ti\u00eau ch\u00ed, b\u1ea1n c\u00f3 th\u1ec3 k\u1ebft h\u1ee3p hai ho\u1eb7c nhi\u1ec1u h\u00e0m SUMIF v\u1edbi nhau.<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ed d\u1ee5, \u0111\u1ec3 t\u00ednh t\u1ed5ng h\u1ee3p s\u1ed1 l\u01b0\u1ee3ng Apple v\u00e0 Orange, h\u00e3y s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c n\u00e0y:<\/span><\/p>\n<p><strong>=SUMIF(A6:A14, \u201capples\u201d, B6:B14)+SUMIF(A6:A14, \u201coranges\u201d, B6:B14)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Ho\u1eb7c b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1eb7t t\u00ean m\u1ee5c trong hai \u00f4 ri\u00eang bi\u1ec7t, ch\u1eb3ng h\u1ea1n B1 v\u00e0 \u200b\u200bB2, v\u00e0 s\u1eed d\u1ee5ng m\u1ed7i \u00f4 \u0111\u00f3 l\u00e0m ti\u00eau ch\u00ed:<\/span><\/p>\n<p><strong>=SUMIF(A6:A14, B1, B6:B14)+SUMIF(A6:A14, B2, B6:B14)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">L\u01b0u \u00fd r\u1eb1ng c\u00f4ng th\u1ee9c n\u00e0y ho\u1ea1t \u0111\u1ed9ng gi\u1ed1ng nh\u01b0 SUMIF v\u1edbi OR logical \u2013 ngh\u0129a l\u00e0 n\u00f3 t\u00ednh t\u1ed5ng c\u00e1c gi\u00e1 tr\u1ecb n\u1ebfu \u0111\u00e1p \u1ee9ng \u00edt nh\u1ea5t m\u1ed9t trong c\u00e1c ti\u00eau ch\u00ed \u0111\u00e3 ch\u1ec9 \u0111\u1ecbnh.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Trong v\u00ed d\u1ee5 n\u00e0y, ch\u00fang ta th\u00eam c\u00e1c gi\u00e1 tr\u1ecb v\u00e0o c\u1ed9t B n\u1ebfu c\u1ed9t A b\u1eb1ng \u201capple\u201d ho\u1eb7c \u201corange\u201d. N\u00f3i c\u00e1ch kh\u00e1c, SUMIF () + SUMIF () ho\u1ea1t \u0111\u1ed9ng gi\u1ed1ng nh\u01b0 c\u00f4ng th\u1ee9c gi\u1ea3 sau (kh\u00f4ng ph\u1ea3i l\u00e0 c\u00f4ng th\u1ee9c th\u1ef1c, n\u00f3 ch\u1ec9 th\u1ec3 hi\u1ec7n logic!): <\/span><span style=\"font-weight: 400\">sumif(A:A, \u201capples\u201d or \u201coranges\u201d, B:B).<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Google_Sheets_SUMIF_%E2%80%93_nhung_dieu_can_nho\"><\/span><b>Google Sheets SUMIF \u2013 nh\u1eefng \u0111i\u1ec1u c\u1ea7n nh\u1edb<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">B\u00e2y gi\u1edd b\u1ea1n \u0111\u00e3 bi\u1ebft c\u00e1ch s\u1eed d\u1ee5ng h\u00e0m SUMIF trong Google Trang t\u00ednh, Hocexcel.online s\u1ebd gi\u00fap b\u1ea1n t\u1ed5ng h\u1ee3p m\u1ed9t s\u1ed1 \u0111i\u1ec1u c\u1ea7n ch\u00fa \u00fd nh\u00e9:<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"1_SUMIF_chi_co_the_danh_gia_mot_dieu_kien\"><\/span><b>1. SUMIF ch\u1ec9 c\u00f3 th\u1ec3 \u0111\u00e1nh gi\u00e1 m\u1ed9t \u0111i\u1ec1u ki\u1ec7n<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">C\u00fa ph\u00e1p c\u1ee7a h\u00e0m SUMIF ch\u1ec9 cho ph\u00e9p m\u1ed9t ph\u1ea1m vi, m\u1ed9t ti\u00eau ch\u00ed v\u00e0 m\u1ed9t sum_range. \u0110\u1ec3 t\u00ednh t\u1ed5ng v\u1edbi nhi\u1ec1u ti\u00eau ch\u00ed, h\u00e3y th\u00eam m\u1ed9t s\u1ed1 h\u00e0m SUMIF v\u1edbi nhau (OR) ho\u1eb7c s\u1eed d\u1ee5ng c\u00f4ng th\u1ee9c SUMIFS (AND).<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"2_Ham_SUMIF_khong_phan_biet_chu_hoa_chu_thuong\"><\/span><b>2. H\u00e0m SUMIF kh\u00f4ng ph\u00e2n bi\u1ec7t ch\u1eef hoa ch\u1eef th\u01b0\u1eddng<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">N\u1ebfu b\u1ea1n \u0111ang t\u00ecm ki\u1ebfm m\u1ed9t c\u00f4ng th\u1ee9c SUMIF c\u00f3 th\u1ec3 ph\u00e2n bi\u1ec7t gi\u1eefa c\u00e1c k\u00fd t\u1ef1 vi\u1ebft hoa v\u00e0 vi\u1ebft th\u01b0\u1eddng, h\u00e3y s\u1eed d\u1ee5ng SUMIF k\u1ebft h\u1ee3p v\u1edbi ARRAYFORMULA v\u00e0 FIND nh\u01b0 v\u00ed d\u1ee5 tr\u00ean nh\u00e9!<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"3_Cung_cap_dai_o_va_sum_range_co_kich_thuoc_bang_nhau\"><\/span><b>3. Cung c\u1ea5p d\u1ea3i \u00f4 v\u00e0 sum_range c\u00f3 k\u00edch th\u01b0\u1edbc b\u1eb1ng nhau<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">Tr\u00ean th\u1ef1c t\u1ebf, \u0111\u1ed1i s\u1ed1 sum_range ch\u1ec9 x\u00e1c \u0111\u1ecbnh \u00f4 tr\u00ean c\u00f9ng b\u00ean tr\u00e1i c\u1ee7a d\u1ea3i \u00f4 \u0111\u1ec3 t\u00ednh t\u1ed5ng, v\u00f9ng c\u00f2n l\u1ea1i \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh b\u1edfi c\u00e1c k\u00edch th\u01b0\u1edbc c\u1ee7a \u0111\u1ed1i s\u1ed1 d\u1ea3i \u00f4.<\/span><\/p>\n<p><span style=\"font-weight: 400\">N\u00f3i c\u00e1ch kh\u00e1c, <\/span><span style=\"font-weight: 400\">SUMIF(A1:A10, \u201capples\u201d, B1:B10) and SUMIF(A1:A10, \u201capples\u201d, B1:B100)<\/span><span style=\"font-weight: 400\">\u0111\u1ec1u s\u1ebd t\u00ednh t\u1ed5ng c\u00e1c gi\u00e1 tr\u1ecb trong ph\u1ea1m vi B1: B10 v\u00ec n\u00f3 c\u00f3 c\u00f9ng k\u00edch th\u01b0\u1edbc d\u01b0\u1edbi d\u1ea1ng ph\u1ea1m vi (A1: A10).<\/span><\/p>\n<p><span style=\"font-weight: 400\">V\u00ec v\u1eady, ngay c\u1ea3 khi b\u1ea1n cung c\u1ea5p sai ph\u1ea1m vi t\u1ed5ng sai, Google Trang t\u00ednh v\u1eabn s\u1ebd t\u00ednh \u0111\u00fang c\u00f4ng th\u1ee9c c\u1ee7a b\u1ea1n, mi\u1ec5n l\u00e0 \u00f4 tr\u00ean c\u00f9ng b\u00ean tr\u00e1i c\u1ee7a sum_range l\u00e0 ch\u00ednh x\u00e1c.<\/span><\/p>\n<p><span style=\"font-weight: 400\">M\u1eb6c d\u00f9 v\u1eady, b\u1ea1n v\u1eabn n\u00ean cung c\u1ea5p ph\u1ea1m vi c\u00f3 k\u00edch th\u01b0\u1edbc b\u1eb1ng nhau v\u00e0 sum_range \u0111\u1ec3 tr\u00e1nh sai l\u1ea7m v\u00e0 ng\u0103n ng\u1eeba c\u00e1c v\u1ea5n \u0111\u1ec1 kh\u00f4ng nh\u1ea5t qu\u00e1n.<\/span><\/p>\n<h4><span class=\"ez-toc-section\" id=\"4_Ghi_nho_cu_phap_cua_tieu_chi_SUMIF\"><\/span><b>4. Ghi nh\u1edb c\u00fa ph\u00e1p c\u1ee7a ti\u00eau ch\u00ed SUMIF<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">\u0110\u1ec3 c\u00f4ng th\u1ee9c SUMIF c\u1ee7a Google Trang t\u00ednh c\u1ee7a b\u1ea1n ho\u1ea1t \u0111\u1ed9ng ch\u00ednh x\u00e1c, h\u00e3y di\u1ec5n \u0111\u1ea1t ti\u00eau ch\u00ed theo \u0111\u00fang c\u00e1ch:<\/span><\/p>\n<p><span style=\"font-weight: 400\">N\u1ebfu ti\u00eau ch\u00ed bao g\u1ed3m v\u0103n b\u1ea3n, k\u00fd t\u1ef1 \u0111\u1ea1i di\u1ec7n ho\u1eb7c to\u00e1n t\u1eed logic theo sau l\u00e0 s\u1ed1, v\u0103n b\u1ea3n ho\u1eb7c ng\u00e0y th\u00e1ng, h\u00e3y \u0111\u1eb7t ti\u00eau ch\u00ed trong d\u1ea5u ngo\u1eb7c k\u00e9p. V\u00ed d\u1ee5:<\/span><\/p>\n<p><strong>= SUMIF (A2: A10, \u201capples\u201d, B2: B10)<\/strong><\/p>\n<p><strong>= SUMIF (A2: A10, \u201c*\u201d, B2: B10)<\/strong><\/p>\n<p><strong>= SUMIF (A2: A10, \u201c&gt; 5\u201d)<\/strong><\/p>\n<p><strong>= SUMIF (A5: A10, \u201c&lt;&gt; apples\u201d, B5: B10)<\/strong><\/p>\n<p><span style=\"font-weight: 400\">N\u1ebfu ti\u00eau ch\u00ed bao g\u1ed3m to\u00e1n t\u1eed logic v\u00e0 tham chi\u1ebfu \u00f4 ho\u1eb7c m\u1ed9t h\u00e0m kh\u00e1c, h\u00e3y s\u1eed d\u1ee5ng d\u1ea5u ngo\u1eb7c k\u00e9p \u0111\u1ec3 b\u1eaft \u0111\u1ea7u chu\u1ed7i v\u0103n b\u1ea3n v\u00e0 d\u1ea5u v\u00e0 (&amp;) \u0111\u1ec3 n\u1ed1i v\u00e0 k\u1ebft th\u00fac chu\u1ed7i. V\u00ed d\u1ee5:<\/span><\/p>\n<p><strong>= SUMIF (A2: A10, \u201c&gt;\u201d &amp; B2)<\/strong><\/p>\n<p><strong>= SUMIF (A2: A10, \u201c&gt;\u201d &amp; TODAY (), B2: B10)<\/strong><\/p>\n<h4><span class=\"ez-toc-section\" id=\"5_Khoa_pham_vi_voi_tham_chieu_o_tuyet_doi_neu_can\"><\/span><b>5. Kh\u00f3a ph\u1ea1m vi v\u1edbi tham chi\u1ebfu \u00f4 tuy\u1ec7t \u0111\u1ed1i n\u1ebfu c\u1ea7n<\/b><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><span style=\"font-weight: 400\">N\u1ebfu b\u1ea1n \u0111\u1ecbnh sao ch\u00e9p ho\u1eb7c di chuy\u1ec3n c\u00f4ng th\u1ee9c SUMIF c\u1ee7a m\u00ecnh, h\u00e3y s\u1eeda c\u00e1c ph\u1ea1m vi b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng tham chi\u1ebfu \u00f4 tuy\u1ec7t \u0111\u1ed1i (v\u1edbi d\u1ea5u $) nh\u01b0 trong SUMIF ($ A $ 2: $ A $ 10, \u201capples\u201d, $ B $ 2: $ B $ 10).<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-weight: 400\">Tr\u00ean \u0111\u00e2y l\u00e0 c\u00e1ch b\u1ea1n s\u1eed d\u1ee5ng h\u00e0m SUMIF trong Google Trang t\u00ednh. \u0110\u1ec3 c\u00f3 c\u00e1i nh\u00ecn s\u00e2u h\u01a1n v\u1ec1 c\u00e1c c\u00f4ng th\u1ee9c \u0111\u01b0\u1ee3c th\u1ea3o lu\u1eadn trong h\u01b0\u1edbng d\u1eabn n\u00e0y, b\u1ea1n c\u00f3 th\u1ec3 m\u1edf Google Trang t\u00ednh l\u00ean v\u00e0 th\u1ef1c h\u00e0nh c\u00f9ng m\u00ecnh nh\u00e9!. T\u00f4i c\u1ea3m \u01a1n b\u1ea1n \u0111\u00e3 \u0111\u1ecdc v\u00e0 hy v\u1ecdng s\u1ebd g\u1eb7p b\u1ea1n tr\u00ean blog v\u00e0o tu\u1ea7n t\u1edbi!<\/span><\/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-389.gif\"><br \/>\n<\/a>\n<\/div>\n","protected":false},"author":1,"featured_media":4772,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-4771","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\/4771","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=4771"}],"version-history":[{"count":0,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/4771\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media\/4772"}],"wp:attachment":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media?parent=4771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/categories?post=4771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/tags?post=4771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}