{"id":1845,"date":"2020-12-22T01:42:32","date_gmt":"2020-12-21T18:42:32","guid":{"rendered":"https:\/\/hoctin.vn\/?p=1845"},"modified":"2020-12-22T01:42:35","modified_gmt":"2020-12-21T18:42:35","slug":"ham-trung-binh-trong-excel","status":"publish","type":"post","link":"https:\/\/hoctin.vn\/ham-trung-binh-trong-excel\/","title":{"rendered":"C\u00e1c H\u00e0m Trung B\u00ecnh N\u00e2ng Cao Trong Excel"},"content":{"rendered":"\t\t
Hoctin.vn \u0111\u00e3 c\u00f3 b\u00e0i vi\u1ebft v\u1ec1 <\/span>h\u00e0m AVERAGE<\/b><\/i><\/a> \u0111\u1ec3 t\u00ednh trung b\u00ecnh c\u1ed9ng trong Excel.<\/span><\/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 Tuy nhi\u00ean, khi l\u00e0m vi\u1ec7c v\u1edbi d\u1eef li\u1ec7u Excel, ngo\u00e0i c\u00f4ng th\u1ee9c t\u00ednh trung b\u00ecnh c\u1ed9ng \u0111\u01a1n gi\u1ea3n, nhi\u1ec1u l\u00fac ng\u01b0\u1eddi d\u00f9ng c\u1ea7n t\u00ednh trung b\u00ecnh c\u00f3 \u0111i\u1ec1u ki\u1ec7n, t\u00ednh gi\u00e1 tr\u1ecb trung b\u00ecnh c\u1ee7a n gi\u00e1 tr\u1ecb l\u1edbn nh\u1ea5t hay t\u00ednh b\u00ecnh qu\u00e2n gia quy\u1ec1n c\u00f3 tr\u1ecdng s\u1ed1.<\/span><\/p> \u0110\u1ec3 th\u1ef1c hi\u1ec7n c\u00e1c c\u00f4ng vi\u1ec7c tr\u00ean, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng h\u00e0m c\u00e1c h\u00e0m trung b\u00ecnh c\u00f3 \u0111i\u1ec1u ki\u1ec7n AVERAGEIF, AVERAGEIFS v\u00e0 c\u00e1c h\u00e0m SUM, SUMPRODUCT k\u1ebft h\u1ee3p c\u00e1c h\u00e0m 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 Trong b\u00e0i vi\u1ebft n\u00e0y, hoctin.vn s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch s\u1eed d\u1ee5ng v\u00e0 \u1ee9ng d\u1ee5ng c\u1ee7a c\u00e1c h\u00e0m trung b\u00ecnh trong Excel 2007, 2010, 2013, 2016 v\u00e0 2019.<\/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 \u0110\u1ec3 t\u00ednh trung b\u00ecnh c\u1ed9ng c\u1ee7a c\u00e1c gi\u00e1 tr\u1ecb cho tr\u01b0\u1edbc, ngo\u00e0i vi\u1ec7c s\u1eed d\u1ee5ng h\u00e0m AVERAGE, b\u1ea1n c\u00f3 th\u1ec3 \u00e1p d\u1ee5ng h\u00e0m SUM \u0111\u1ec3 c\u1ed9ng c\u00e1c gi\u00e1 tr\u1ecb v\u00e0 chia cho s\u1ed1 l\u01b0\u1ee3ng gi\u00e1 tr\u1ecb c\u1ea7n t\u00ednh trung b\u00ecnh.<\/span><\/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 V\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y \u00e1p d\u1ee5ng khi s\u1ed1 l\u01b0\u1ee3ng gi\u00e1 tr\u1ecb c\u1ea7n t\u00ednh trung b\u00ecnh c\u1ed9ng \u0111\u00e3 \u0111\u01b0\u1ee3c bi\u1ebft tr\u01b0\u1edbc v\u00e0 \u0111\u00e3 \u0111\u01b0\u1ee3c c\u1ed1 \u0111\u1ecbnh (n\u1ebfu c\u00f3 \u00f4 tr\u1ed1ng th\u00ec gi\u00e1 tr\u1ecb trung b\u00ecnh v\u1eabn chia \u0111\u1ec1u cho c\u1ea3 \u00f4 tr\u1ed1ng)<\/span><\/p> =SUM(C3:E3)\/3<\/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\u1ebfu b\u1ea1n mu\u1ed1n b\u1ecf qua \u00f4 tr\u1ed1ng, h\u00e3y k\u1ebft h\u1ee3p h\u00e0m SUM t\u00ednh t\u1ed5ng c\u00e1c \u00f4 v\u00e0 th\u1ef1c hi\u1ec7n ph\u00e9p chia cho h\u00e0m COUNT \u0111\u1ebfm s\u1ed1 l\u01b0\u1ee3ng \u00f4 c\u00f3 ch\u1ee9a c\u00e1c s\u1ed1:<\/span><\/p> =SUM(B4:E4)\/COUNT(B4:E4)<\/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 C\u00e1ch ho\u1ea1t \u0111\u1ed9ng t\u01b0\u01a1ng t\u1ef1 nh\u01b0 <\/span>h\u00e0m COUNTIF<\/i><\/b><\/a> v\u00e0 <\/span>SUMIF<\/i><\/b><\/a>, h\u00e0m AVERAGEIF tr\u1ea3 v\u1ec1 gi\u00e1 tr\u1ecb trung b\u00ecnh c\u1ed9ng c\u1ee7a t\u1ea5t c\u1ea3 c\u00e1c \u00f4 trong m\u1ed9t pha\u0323m vi \u0111\u00e1p \u1ee9ng ti\u00eau ch\u00ed \u0111\u01b0a ra:<\/span><\/p> =AVERAGEIF(range, criteria, [average_range])<\/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 Trong \u0111\u00f3:<\/span><\/p> Range: ph\u1ea1m vi c\u1ee7a c\u00e1c \u00f4 m\u00e0 theo \u0111\u00f3 c\u00e1c ti\u00eau ch\u00ed \u0111\u01b0\u1ee3c \u0111\u00e1nh gi\u00e1, c\u00f3 th\u1ec3 l\u00e0 s\u1ed1, v\u0103n b\u1ea3n, m\u1ea3ng ho\u1eb7c tham chi\u1ebfu c\u00f3 ch\u1ee9a s\u1ed1.<\/span><\/p><\/li><\/ul> Criteria: Ti\u00eau ch\u00ed \u1edf d\u1ea1ng s\u1ed1, bi\u1ec3u th\u1ee9c, bi\u1ec3u th\u1ee9c logic, tham chi\u1ebfu \u00f4 ho\u1eb7c v\u0103n b\u1ea3n. V\u00ed d\u1ee5, c\u00e1c ti\u00eau ch\u00ed c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c bi\u1ec3u th\u1ecb d\u01b0\u1edbi d\u1ea1ng nh\u01b0 10, A1*10, “>10”, B2 ho\u1eb7c “nh\u00f3m A”.<\/span><\/p><\/li> Average_range: c\u00e1c \u00f4 c\u1ea7n t\u00ednh gi\u00e1 tr\u1ecb trung b\u00ecnh.<\/span><\/p><\/li><\/ul>\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 V\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y t\u00ednh \u0111i\u1ec3m trung b\u00ecnh c\u1ed9ng c\u1ee7a c\u00e1c s\u1ea3n ph\u1ea9m thu\u1ed9c nh\u00f3m Alpha v\u00e0 nh\u00f3m Beta theo c\u00f4ng th\u1ee9c h\u00e0m trung b\u00ecnh c\u00f3 \u0111i\u1ec1u ki\u1ec7n:<\/span><\/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 \u0110\u1ec3 t\u00ednh s\u1ed1 trung b\u00ecnh d\u1ef1a tr\u00ean nhi\u1ec1u ti\u00eau ch\u00ed, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng h\u00e0m AVERAGEIFS:<\/span><\/p> =AVERAGEIFS(average_range, range1, criteria1, range2, criteria2,\u2026)<\/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 Trong v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y, \u00f4 G5 t\u00ednh doanh s\u1ed1 trung b\u00ecnh c\u1ee7a <\/span>S\u1ea3n ph\u1ea9m <\/span>SP1 \u1edf <\/span>Khu v\u1ef1c<\/span> H\u00e0 N\u1ed9i. Nh\u01b0 v\u1eady, c\u00f3 2 ti\u00eau ch\u00ed c\u1ea7n x\u00e1c \u0111\u1ecbnh l\u00e0 S\u1ea3n ph\u1ea9m v\u00e0 Khu v\u1ef1c. C\u00f4ng th\u1ee9c trong \u00f4 G5 \u0111\u01b0\u1ee3c di\u1ec5n gi\u1ea3i nh\u01b0 sau:<\/span><\/p>M\u1ee5c L\u1ee5c B\u00e0i Vi\u1ebft<\/h4>\t\t\t\t\t\t\t
1, C\u00e1c C\u00f4ng Th\u1ee9c T\u00ednh Trung B\u00ecnh C\u1ed9ng Trong Excel Kh\u00f4ng D\u00f9ng H\u00e0m Trung B\u00ecnh AVERAGE<\/span><\/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
2, H\u00e0m Trung B\u00ecnh C\u00f3 \u0110i\u1ec1u Ki\u1ec7n Trong Excel: AVERAGEIF v\u00e0 AVERAGEIFS<\/span><\/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
2.1, H\u00e0m Trung B\u00ecnh AVERAGEIF T\u00ednh Trung B\u00ecnh V\u1edbi 1 Ti\u00eau Ch\u00ed Duy Nh\u1ea5t<\/span><\/span><\/h3>\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
2.2, H\u00e0m Trung B\u00ecnh AVERAGEIFS T\u00ednh Trung B\u00ecnh V\u1edbi Nhi\u1ec1u \u0110i\u1ec1u Ki\u1ec7n<\/span><\/span><\/h3>\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