{"id":6508,"date":"2024-12-21T15:28:02","date_gmt":"2024-12-21T15:28:02","guid":{"rendered":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/21\/cach-dem-co-dieu-kien-mot-gia-tri-cu-the-trong-nhieu-trang-tinh\/"},"modified":"2024-12-21T15:28:02","modified_gmt":"2024-12-21T15:28:02","slug":"cach-dem-co-dieu-kien-mot-gia-tri-cu-the-trong-nhieu-trang-tinh","status":"publish","type":"post","link":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/21\/cach-dem-co-dieu-kien-mot-gia-tri-cu-the-trong-nhieu-trang-tinh\/","title":{"rendered":"C\u00e1ch \u0111\u1ebfm c\u00f3 \u0111i\u1ec1u ki\u1ec7n m\u1ed9t gi\u00e1 tr\u1ecb c\u1ee5 th\u1ec3 trong nhi\u1ec1u trang t\u00ednh"},"content":{"rendered":"<div class=\"uk-panel uk-margin\" id=\"template-nJy84WMn#1\">\n<p style=\"text-align: justify\">Gi\u1ea3 s\u1eed, t\u00f4i c\u00f3 nhi\u1ec1u trang t\u00ednh ch\u1ee9a nh\u1eefng d\u1eef li\u1ec7u sau, t\u00f4i mu\u1ed1n \u0111\u1ebfm s\u1ed1 l\u1ea7n xu\u1ea5t hi\u1ec7n c\u1ee7a gi\u00e1 tr\u1ecb \u201cExcel\u201d t\u1eeb c\u00e1c trang n\u00e0y.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7025\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/untitled-24.png\" width=\"600\" height=\"161\" title=\"untitled-24\"><\/p>\n<p style=\"text-align: justify\"><strong>\u0110\u1ebfm c\u00f3 \u0111i\u1ec1u ki\u1ec7n m\u1ed9t gi\u00e1 tr\u1ecb c\u1ee5 th\u1ec3 trong nhi\u1ec1u trang t\u00ednh b\u1eb1ng c\u00f4ng th\u1ee9c<\/strong><\/p>\n<p style=\"text-align: justify\">1. Li\u1ec7t k\u00ea t\u1ea5t c\u1ea3 t\u00ean trang t\u00ednh ch\u1ee9a d\u1eef li\u1ec7u b\u1ea1n mu\u1ed1n \u0111\u1ebfm v\u00e0o m\u1ed9t c\u1ed9t nh\u01b0 h\u00ecnh sau:<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/doc-count-across-multiple-sheets-5.png\" alt=\"doc-count-across-multiple-sheets-5\" title=\"doc-count-across-multiple-sheets-5\"><\/p>\n<p style=\"text-align: justify\">2. Trong \u00f4 tr\u1ed1ng, nh\u1eadp c\u00f4ng th\u1ee9c:<\/p>\n<p style=\"text-align: justify\"><em><strong>=SUMPRODUCT(COUNTIF(INDIRECT(\u201c\u2018\u201d&amp;C2:C4&amp;\u201d\u2018!A2:A6\u201d),E2))<\/strong><\/em><\/p>\n<p style=\"text-align: justify\">Sau \u0111\u00f3 nh\u1ea5n Enter, b\u1ea1n s\u1ebd c\u00f3 s\u1ed1 l\u1ea7n xu\u1ea5t hi\u1ec7n c\u1ee7a \u201cExcel\u201d t\u1eeb c\u00e1c trang t\u00ednh n\u00e0y:<\/p>\n<div class=\"code-block code-block-2\" style=\"margin: 8px 0;clear: both\">\n<div class=\"ad-inserterpro\">\n<a href=\"https:\/\/hocexcel.online\/course\/preview\/vba101-tu-dong-hoa-excel-voi-lap-trinh-vba-cho-nguoi-moi-bat-dau\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/vba101_92019-nho-253.gif\" title=\"vba101_92019-nho-253\"><br \/>\n<\/a>\n<\/div>\n<\/div>\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-583.gif\" title=\"ex101_92019-nho-583\"><br \/>\n<\/a>\n<\/div>\n<\/div>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/doc-count-across-multiple-sheets-6.png\" alt=\"doc-count-across-multiple-sheets-6\" title=\"doc-count-across-multiple-sheets-6\"><\/p>\n<p style=\"text-align: justify\"><strong>Ch\u00fa \u00fd.<\/strong><\/p>\n<p style=\"text-align: justify\">1. Trong c\u00f4ng th\u1ee9c tr\u00ean:<\/p>\n<p style=\"text-align: justify\"><strong>A2:A6\u00a0<\/strong>l\u00e0 v\u00f9ng d\u1eef li\u1ec7u b\u1ea1n mu\u1ed1n \u0111\u1ebfm s\u1ed1 l\u1ea7n xu\u1ea5t hi\u1ec7n c\u1ee7a gi\u00e1 tr\u1ecb trong c\u00e1c trang t\u00ednh;<\/p>\n<p style=\"text-align: justify\"><strong>C2:C4\u00a0<\/strong>l\u00e0 danh s\u00e1ch t\u00ean trang t\u00ednh ch\u1ee9a d\u1eef li\u1ec7u b\u1ea1n mu\u1ed1n s\u1eed d\u1ee5ng;<\/p>\n<p style=\"text-align: justify\"><strong>E2\u00a0<\/strong>l\u00e0 \u00f4 ch\u1ee9a gi\u00e1 tr\u1ecb b\u1ea1n mu\u1ed1n \u0111\u1ebfm.<\/p>\n<p style=\"text-align: justify\">2. N\u1ebfu c\u00f3 nhi\u1ec1u trang t\u00ednh c\u1ea7n \u0111\u01b0\u1ee3c li\u1ec7t k\u00ea, b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1ecdc b\u00e0i\u00a0<strong>C\u00e1ch li\u1ec7t k\u00ea t\u00ean trang t\u00ednh trong Excel\u00a0<\/strong>\u0111\u1ec3 th\u1ef1c hi\u1ec7n c\u00f4ng vi\u1ec7c n\u00e0y.<\/p>\n<p style=\"text-align: justify\">3. Trong Excel, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng h\u00e0m\u00a0<em><strong>COUNTIF\u00a0<\/strong><\/em>\u0111\u1ec3 th\u00eam t\u1eebng trang t\u00ednh m\u1ed9t nh\u01b0 sau:<\/p>\n<p style=\"text-align: justify\"><em><strong>=COUNTIF(Sheet1!A2:A6,D2)+COUNTIF(Sheet10!A2:A6,D2)+COUNTIF(Sheet15!A2:A6,D2)<\/strong><\/em><\/p>\n<p style=\"text-align: justify\">Trong \u0111\u00f3, Sheet1, Sheet5 v\u00e0 Sheet15 l\u00e0 nh\u1eefng trang b\u1ea1n mu\u1ed1n \u0111\u1ebfm, D2 ch\u1ee9a gi\u00e1 tr\u1ecb b\u1ea1n c\u1ea7n \u0111\u1ebfm s\u1ed1 l\u1ea7n xu\u1ea5t hi\u1ec7n). Nh\u1ea5n Enter \u0111\u1ec3 hi\u1ec7n k\u1ebft qu\u1ea3.<\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/blog.hocexcel.online\/wp-content\/uploads\/imgseo\/doc-count-across-multiple-sheets-7.png\" alt=\"doc-count-across-multiple-sheets-7\"><\/p>\n<p style=\"text-align: center\">\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\/vba101-tu-dong-hoa-excel-voi-lap-trinh-vba-cho-nguoi-moi-bat-dau\"><br \/>\n<img decoding=\"async\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/vba101_92019-nho-253.gif\"><br \/>\n<\/a>\n<\/div>\n","protected":false},"author":1,"featured_media":6509,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6508","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-nang-cao"],"_links":{"self":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/6508","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=6508"}],"version-history":[{"count":0,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/6508\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media\/6509"}],"wp:attachment":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media?parent=6508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/categories?post=6508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/tags?post=6508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}