{"id":5911,"date":"2024-12-21T11:17:16","date_gmt":"2024-12-21T11:17:16","guid":{"rendered":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/21\/xay-dung-cong-thuc-tinh-bao-cao-chi-phi-tien-luong-theo-bo-phan\/"},"modified":"2024-12-21T11:17:16","modified_gmt":"2024-12-21T11:17:16","slug":"xay-dung-cong-thuc-tinh-bao-cao-chi-phi-tien-luong-theo-bo-phan","status":"publish","type":"post","link":"https:\/\/blog.ezworkapp.com\/index.php\/2024\/12\/21\/xay-dung-cong-thuc-tinh-bao-cao-chi-phi-tien-luong-theo-bo-phan\/","title":{"rendered":"X\u00e2y d\u1ef1ng c\u00f4ng th\u1ee9c t\u00ednh b\u00e1o c\u00e1o chi ph\u00ed ti\u1ec1n l\u01b0\u01a1ng theo b\u1ed9 ph\u1eadn"},"content":{"rendered":"<div class=\"uk-panel uk-margin\" id=\"template-nJy84WMn#1\">\n<p>Trong c\u00f4ng vi\u1ec7c <a href=\"http:\/\/blog.ezworkapp.com\/ke-toan-tien-luong\">k\u1ebf to\u00e1n ti\u1ec1n l\u01b0\u01a1ng tr\u00ean excel<\/a> (hay H\u00e0nh ch\u00ednh nh\u00e2n s\u1ef1) \u1edf nh\u1eefng doanh nghi\u1ec7p c\u00f3 nhi\u1ec1u b\u1ed9 ph\u1eadn, ph\u00f2ng ban, ch\u00fang ta c\u00f3 th\u1ec3 ph\u1ea3i l\u1eadp m\u1ed9t b\u00e1o c\u00e1o v\u1ec1 chi ph\u00ed ti\u1ec1n l\u01b0\u01a1ng theo b\u1ed9 ph\u1eadn. C\u00f4ng vi\u1ec7c n\u00e0y tr\u00ean\u00a0excel\u00a0\u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n nh\u01b0 th\u1ebf n\u00e0o,\u00a0sau\u00a0\u0111\u00e2y hocexcel.online s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n th\u1ef1c hi\u1ec7n theo 2 c\u00e1ch l\u00e0m nh\u00e9:<\/p>\n<p>\u0110\u1ec1 b\u00e0i: Cho s\u1eb5n n\u1ed9i dung b\u1ea3ng t\u1ed5ng k\u1ebft ti\u1ec1n l\u01b0\u01a1ng h\u00e0ng th\u00e1ng, y\u00eau c\u1ea7u l\u1eadp b\u00e1o c\u00e1o chi ph\u00ed l\u01b0\u01a1ng theo b\u1ed9 ph\u1eadn nh\u01b0 h\u00ecnh sau:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11219 aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/pic01-1-2.png\" width=\"1036\" height=\"493\" title=\"pic01-1-2\"><\/p>\n<p><strong>H\u01b0\u1edbng d\u1eabn c\u00e1ch gi\u1ea3i quy\u1ebft:<\/strong><\/p>\n<p><strong>B\u01b0\u1edbc 1<\/strong>: X\u00e1c\u00a0\u0111\u1ecbnh m\u1ee5c ti\u00eau c\u1ea7n\u00a0\u0111\u1ea1t\u00a0\u0111\u01b0\u1ee3c<\/p>\n<p>Y\u00eau c\u1ea7u\u00a0\u1edf\u00a0\u0111\u00e2y l\u00e0 t\u00ednh chi ph\u00ed ti\u1ec1n l\u01b0\u01a1ng theo b\u1ed9 ph\u1eadn, theo t\u1eebng th\u00e1ng. V\u00ec v\u1eady\u00a0\u1edf\u00a0\u0111\u00e2y c\u00f3 2\u00a0\u0111i\u1ec1u ki\u1ec7n:<\/p>\n<p>+ Theo b\u1ed9 ph\u1eadn<\/p>\n<p>+ Theo th\u00e1ng<\/p>\n<div class=\"code-block code-block-3\" style=\"margin: 8px 0;clear: both\">\n<div class=\"ad-inserterpro\">\n<p>D\u00f9 \u0111\u00e3 c\u00f3 ph\u1ea7n m\u1ec1m, nh\u01b0ng k\u1ef9 n\u0103ng Excel v\u1eabn c\u1ef1c k\u1ef3 quan tr\u1ecdng v\u1edbi k\u1ebf to\u00e1n, b\u1ea1n \u0111\u00e3 v\u1eefng Excel ch\u01b0a? H\u00e3y \u0111\u1ec3 t\u00f4i gi\u00fap b\u1ea1n, \u0111\u0103ng k\u00fd kho\u00e1 h\u1ecdc Excel:<\/p>\n<p><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-526.gif\" title=\"ex101_92019-nho-526\"><br \/>\n<\/a>\n<\/div>\n<\/div>\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-222.gif\" title=\"vba101_92019-nho-222\"><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-526.gif\" title=\"ex101_92019-nho-526\"><br \/>\n<\/a>\n<\/div>\n<\/div>\n<blockquote>\n<p>Xem th\u00eam:\u00a0<a href=\"http:\/\/blog.ezworkapp.com\/khoa-hoc-excel-ke-toan.html\">Excel k\u1ebf to\u00e1n<\/a><\/p>\n<\/blockquote>\n<p><strong>B\u01b0\u1edbc 2<\/strong>: L\u1ef1a ch\u1ecdn c\u00f4ng th\u1ee9c t\u00ednh:<\/p>\n<p>C\u00e1c c\u00f4ng th\u1ee9c\u00a0excel gi\u00fap t\u00ednh t\u1ed5ng theo \u0111i\u1ec1u ki\u1ec7n g\u1ed3m: SUMIF \/ SUMIFS \/ SUMPRODUCT<\/p>\n<p>V\u00ec\u00a0\u1edf b\u01b0\u1edbc 1\u00a0\u0111\u00e3 x\u00e1c\u00a0\u0111\u1ecbnh l\u00e0 c\u00f3 2\u00a0\u0111i\u1ec1u ki\u1ec7n, v\u00ec v\u1eady kh\u00f4ng s\u1eed d\u1ee5ng\u00a0\u0111\u01b0\u1ee3c h\u00e0m Sumif, m\u00e0 ch\u1ec9 s\u1eed d\u1ee5ng\u00a0\u0111\u01b0\u1ee3c h\u00e0m SUMIFS ho\u1eb7c SUMPRODUCT<\/p>\n<p><strong>B\u01b0\u1edbc 3<\/strong>: X\u00e2y d\u1ef1ng c\u00f4ng th\u1ee9c t\u00ednh<\/p>\n<p><strong><em>C\u00e1ch 1: \u00e1p d\u1ee5ng h\u00e0m SUMIFS<\/em><\/strong><\/p>\n<p>C\u1ea5u tr\u00fac <a href=\"http:\/\/blog.ezworkapp.com\/ham-sumifs-tinh-tong-theo-tuan-thang-nam.html\">h\u00e0m SUMIFS<\/a> nh\u01b0 sau:<\/p>\n<blockquote>\n<p>=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2],\u2026)<\/p>\n<\/blockquote>\n<p>Sum_range l\u00e0 v\u00f9ng t\u00ednh t\u1ed5ng:\u00a0\u1edf\u00a0\u0111\u00e2y l\u00e0 c\u1ed9t \u201cTh\u1ef1c l\u0129nh\u201d<\/p>\n<p>Criteria_range1: v\u00f9ng ch\u1ee9a\u00a0\u0111i\u1ec1u ki\u1ec7n th\u1ee9 nh\u1ea5t, c\u1ed9t \u201cTh\u00e1ng\u201d<\/p>\n<p>Criteria1:\u00a0\u0111i\u1ec1u ki\u1ec7n th\u1ee9 1 n\u1eb1m trong v\u00f9ng\u00a0\u0111i\u1ec1u ki\u1ec7n th\u1ee9 1,\u00a0\u1edf\u00a0\u0111\u00e2y l\u00e0 c\u00e1c c\u1ed9t Th\u00e1ng trong B\u00e1o c\u00e1o. Trong c\u1ed9t Th\u00e1ng ch\u1ec9 c\u00f3 c\u00e1c gi\u00e1 tr\u1ecb th\u00e1ng d\u1ea1ng s\u1ed1, n\u00ean \u201cTh\u00e1ng 1\u201d \u0111\u01b0\u1ee3c hi\u1ec3u l\u00e0 s\u1ed1 \u201c1\u201d<\/p>\n<p>Criteria_range2: v\u00f9ng\u00a0\u0111i\u1ec1u ki\u1ec7n th\u1ee9 2, c\u1ed9t \u201cB\u1ed9 ph\u1eadn\u201d<\/p>\n<p>Criteria2:\u00a0\u0111i\u1ec1u ki\u1ec7n th\u1ee9c 2, n\u1eb1m trong c\u1ed9t th\u1ee9 2,\u00a0\u1edf\u00a0\u0111\u00e2y l\u00e0 c\u00e1c n\u1ed9i dung v\u1ec1 b\u1ed9 ph\u1eadn trong B\u00e1o c\u00e1o.<\/p>\n<p>C\u00e1ch vi\u1ebft h\u00e0m SUMIFS nh\u01b0 sau:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11220 aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/pic02-1-2.png\" width=\"1104\" height=\"553\" title=\"pic02-1-2\"><\/p>\n<blockquote>\n<p>=SUMIFS($G$3:$G$26,$A$3:$A$26,1,$C$3:$C$26,$I3)<\/p>\n<\/blockquote>\n<p>C\u00e1c v\u00f9ng range ph\u1ea3i c\u1ed1\u00a0\u0111\u1ecbnh\u00a0\u0111i\u1ec3m\u00a0\u0111\u1ea7u v\u00e0\u00a0\u0111i\u1ec3m cu\u1ed1i\u00a0\u0111\u1ec3 khi copy c\u00f4ng th\u1ee9c s\u1ebd kh\u00f4ng thay\u00a0\u0111\u1ed5i\u00a0\u0111\u1ecba ch\u1ec9 tham chi\u1ebfu.<\/p>\n<p>Criteria1 l\u00e0 s\u1ed1 1, khi t\u00ednh cho c\u00e1c th\u00e1ng kh\u00e1c ph\u1ea3i thay\u00a0\u0111\u1ed5i t\u01b0\u01a1ng\u00a0\u1ee9ng<\/p>\n<p>Criteria2 l\u00e0\u00a0\u00f4 I3 s\u1ebd c\u1ed1\u00a0\u0111\u1ecbnh c\u1ed9t I\u00a0\u0111\u1ec3 khi copy c\u00f4ng th\u1ee9c sang nh\u1eefng\u00a0\u00f4 kh\u00e1c s\u1ebd gi\u1eef nguy\u00ean tham chi\u1ebfu t\u1edbi c\u1ed9t I<\/p>\n<p><em><strong>C\u00e1ch 2:\u00a0\u00c1p d\u1ee5ng h\u00e0m\u00a0SUMPRODUCT<\/strong><\/em><\/p>\n<p>C\u1ea5u tr\u00fac h\u00e0m SUMPRODUCT:<\/p>\n<blockquote>\n<p>=SUMPRODUCT(array1, [array2], [array3],\u2026)<\/p>\n<\/blockquote>\n<p><strong>Xem th\u00eam<\/strong>: <a href=\"http:\/\/blog.ezworkapp.com\/ham-sumproduct-trong-excel-va-vi-du-cong-thuc.html\">Ha\u0300m SUMPRODUCT trong Excel va\u0300 vi\u0301 du\u0323 c\u00f4ng th\u01b0\u0301c<\/a><\/p>\n<p>Array l\u00e0 c\u00e1c m\u1ea3ng d\u1eef li\u1ec7u.\u00a0\u1ede\u00a0\u0111\u00e2y ta quan t\u00e2m t\u1edbi 3 m\u1ea3ng d\u1eef li\u1ec7u:<\/p>\n<ul>\n<li>M\u1ea3ng 1 l\u00e0 c\u1ed9t Th\u00e1ng, c\u00f3 gi\u00e1 tr\u1ecb t\u01b0\u01a1ng\u00a0\u1ee9ng c\u00e1c th\u00e1ng theo b\u00e1o c\u00e1o<\/li>\n<li>M\u1ea3ng 2 l\u00e0 c\u1ed9t B\u1ed9 ph\u1eadn, c\u00f3 gi\u00e1 tr\u1ecb t\u01b0\u01a1ng\u00a0\u1ee9ng c\u00e1c b\u1ed9 ph\u1eadn theo b\u00e1o c\u00e1o<\/li>\n<li>M\u1ea3ng 3 l\u00e0 k\u1ebft qu\u1ea3 c\u1ea7n t\u00ednh, c\u1ed9t th\u1ef1c l\u0129nh<\/li>\n<\/ul>\n<p>C\u00e1ch x\u00e2y d\u1ef1ng c\u00f4ng th\u1ee9c nh\u01b0 sau:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11221\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2024\/12\/pic03-1-2.png\" width=\"1053\" height=\"553\" title=\"pic03-1-2\"><\/p>\n<blockquote>\n<p>=SUMPRODUCT(($A$3:$A$26=1)*($C$3:$C$26=$I3)*$G$3:$G$26)<\/p>\n<\/blockquote>\n<p>V\u1edbi nh\u1eefng m\u1ea3ng c\u00f3 y\u00eau c\u1ea7u\u00a0\u0111i\u1ec1u ki\u1ec7n, ta s\u1ebd g\u00e1n gi\u00e1 tr\u1ecb\u00a0\u1edf m\u1ea3ng\u00a0\u0111\u00f3 b\u1eb1ng v\u1edbi\u00a0\u0111i\u1ec1u ki\u1ec7n c\u1ea7n t\u00ednh<\/p>\n<p>C\u00e1c m\u1ea3ng\u00a0\u0111\u01b0\u1ee3c li\u00ean k\u1ebft tr\u1ef1c ti\u1ebfp v\u1edbi nhau b\u1eb1ng d\u1ea5u *<\/p>\n<p>array1 =\u00a0$A$3:$A$26=1\u00a0 \u00a0C\u1ed9t th\u00e1ng c\u00f3 gi\u00e1 tr\u1ecb l\u00e0 1 (khi copy c\u00f4ng th\u1ee9c sang th\u00e1ng kh\u00e1c ph\u1ea3i\u00a0\u0111\u1ed5i gi\u00e1 tr\u1ecb 1 t\u01b0\u01a1ng\u00a0\u1ee9ng th\u00e1ng c\u1ea7n t\u00ednh)<\/p>\n<p>array2 =\u00a0$C$3:$C$26=$I3\u00a0 \u00a0C\u1ed9t b\u1ed9 ph\u1eadn c\u00f3 gi\u00e1 tr\u1ecb l\u00e0\u00a0\u00f4 I3 (c\u1ed1\u00a0\u0111\u1ecbnh c\u1ed9t I\u00a0\u0111\u1ec3 khi copy c\u00f4ng th\u1ee9c s\u1ebd kh\u00f4ng\u00a0\u0111\u1ed5i tham chi\u1ebfu c\u1ed9t I, c\u00f2n tham chi\u1ebfu t\u1edbi h\u00e0ng th\u00ec c\u00f3 th\u1ec3 thay\u00a0\u0111\u1ed5i)<\/p>\n<p>array3 =\u00a0$G$3:$G$26<\/p>\n<p>Sumproduct(array1*array2*arrray3)<\/p>\n<p>Nh\u01b0 v\u00e2\u0323y v\u01a1\u0301i ba\u0300i vi\u00ea\u0301t na\u0300y, chu\u0301ng t\u00f4i \u0111a\u0303 chia se\u0309 cho ca\u0301c ba\u0323n ca\u0301ch s\u01b0\u0309 du\u0323ng cu\u0303ng nh\u01b0 x\u00e2y d\u01b0\u0323ng c\u00f4ng th\u01b0\u0301c ti\u0301nh ba\u0301o ca\u0301o chi phi\u0301 ti\u00ea\u0300n l\u01b0\u01a1ng theo b\u00f4\u0323 ph\u00e2\u0323n m\u00f4\u0323t ca\u0301ch \u0111\u01a1n gia\u0309n ma\u0300 hi\u00ea\u0323u qua\u0309 nh\u00e2\u0301t.<\/p>\n<p>Blog ho\u0323c excel online t\u01b0\u0323 ha\u0300o la\u0300 m\u00f4\u0323t trong nh\u01b0\u0303ng trung t\u00e2m chuy\u00ean \u0111a\u0300o ta\u0323o ca\u0301c <a href=\"http:\/\/blog.ezworkapp.com\/khoa-hoc-excel-co-ban\">kho\u0301a ho\u0323c excel online<\/a> ha\u0300ng \u0111\u00e2\u0300u ta\u0323i Vi\u00ea\u0323t Nam v\u01a1\u0301i ca\u0301ch chuy\u00ean gia h\u01b0\u01a1\u0301ng d\u00e2\u0303n co\u0301 nhi\u00ea\u0300u n\u0103m kinh nghi\u00ea\u0323m trong ngh\u00ea\u0300 se\u0303 h\u01b0\u01a1\u0301ng d\u00e2\u0303n va\u0300 chi\u0309 ba\u0309o ca\u0301c ba\u0323n t\u01b0\u0300ng chi ti\u00ea\u0301t v\u00ea\u0300 ca\u0301ch s\u01b0\u0309 du\u0323ng tha\u0300nh tha\u0323o Excel \u0111\u00ea\u0309 co\u0301 th\u00ea\u0309 a\u0301p du\u0323ng va\u0300o ho\u0323c t\u00e2\u0323p cu\u0303ng nh\u01b0 c\u00f4ng vi\u00ea\u0323c cu\u0309a mi\u0300nh.<\/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<p>D\u00f9 \u0111\u00e3 c\u00f3 ph\u1ea7n m\u1ec1m, nh\u01b0ng k\u1ef9 n\u0103ng Excel v\u1eabn c\u1ef1c k\u1ef3 quan tr\u1ecdng v\u1edbi k\u1ebf to\u00e1n, b\u1ea1n \u0111\u00e3 v\u1eefng Excel ch\u01b0a? H\u00e3y \u0111\u1ec3 t\u00f4i gi\u00fap b\u1ea1n, \u0111\u0103ng k\u00fd kho\u00e1 h\u1ecdc Excel:<\/p>\n<p><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-526.gif\"><br \/>\n<\/a>\n<\/div>\n","protected":false},"author":1,"featured_media":5912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-5911","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\/5911","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=5911"}],"version-history":[{"count":0,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/5911\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media\/5912"}],"wp:attachment":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media?parent=5911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/categories?post=5911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/tags?post=5911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}