{"id":12093,"date":"2025-01-15T07:01:18","date_gmt":"2025-01-15T07:01:18","guid":{"rendered":"https:\/\/blog.ezworkapp.com\/index.php\/2025\/01\/15\/ham-xac-dinh-kieu-gia-tri-type\/"},"modified":"2025-01-15T07:01:18","modified_gmt":"2025-01-15T07:01:18","slug":"ham-xac-dinh-kieu-gia-tri-type","status":"publish","type":"post","link":"https:\/\/blog.ezworkapp.com\/index.php\/2025\/01\/15\/ham-xac-dinh-kieu-gia-tri-type\/","title":{"rendered":"H\u00e0m x\u00e1c \u0111\u1ecbnh ki\u1ec3u gi\u00e1 tr\u1ecb TYPE"},"content":{"rendered":"<div class=\"uk-panel uk-margin\" id=\"template-nJy84WMn#1\">\n<p style=\"text-align: justify\"><em>S\u1eed d\u1ee5ng <strong>h\u00e0m TYPE trong Excel<\/strong> nh\u1eb1m tr\u1ea3 v\u1ec1 ki\u1ec3u gi\u00e1 tr\u1ecb c\u1ee7a m\u1ed9t d\u1eef li\u1ec7u x\u00e1c \u0111\u1ecbnh tr\u01b0\u1edbc. Gi\u00e1 tr\u1ecb tr\u1ea3 v\u1ec1 l\u00e0 d\u1ea1ng s\u1ed1 t\u01b0\u01a1ng \u1ee9ng v\u1edbi ki\u1ec3u d\u1eef li\u1ec7u \u0111\u00f3. V\u00ed d\u1ee5: Ki\u1ec3u d\u1eef li\u1ec7u s\u1ed1 (Number) th\u00ec h\u00e0m TYPE tr\u1ea3 v\u1ec1 s\u1ed1 1<\/em><\/p>\n<p style=\"text-align: justify\"><strong>C\u00fa ph\u00e1p: =TYPE(Value)<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\"><em><b class=\"ocpRunInHead\">Value<\/b>\u00a0:<\/em>\u00a0Gi\u00e1 tr\u1ecb \u00a0b\u1eaft bu\u1ed9c ph\u1ea3i c\u00f3. N\u00f3 c\u00f3 th\u1ec3 l\u00e0 chu\u1ed7i v\u0103n b\u1ea3n, s\u1ed1, gi\u00e1 tr\u1ecb l\u00f4-gic, gi\u00e1 tr\u1ecb l\u1ed7i hay m\u1ea3ng,\u2026<\/li>\n<\/ul>\n<table id=\"tblID0EABDAAA\" class=\"banded flipColors aligncenter\" style=\"width: 279px;height: 177px\">\n<thead>\n<tr>\n<td style=\"width: 143px\"><strong>Gi\u00e1 tr\u1ecb<\/strong><\/td>\n<td style=\"width: 122px\"><b class=\"ocpLegacyBold\">H\u00e0m TYPE\u00a0<\/b><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 143px\">S\u1ed1<\/td>\n<td style=\"width: 122px\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 143px\">V\u0103n b\u1ea3n<\/td>\n<td style=\"width: 122px\">2<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 143px\">Gi\u00e1 tr\u1ecb l\u00f4-gic<\/td>\n<td style=\"width: 122px\">4<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 143px\">Gi\u00e1 tr\u1ecb l\u1ed7i<\/td>\n<td style=\"width: 122px\">16<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 143px\">M\u1ea3ng<\/td>\n<td style=\"width: 122px\">64<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify\"><strong>L\u01b0u \u00fd<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\">S\u1ed1:\u00a0 D\u1eef li\u1ec7u l\u00e0 ki\u1ec3u <em><strong>Number.<\/strong><\/em><\/li>\n<li style=\"text-align: justify\">V\u0103n b\u1ea3n:\u00a0 D\u1eef li\u1ec7u l\u00e0 ki\u1ec3u <em><strong>Text.<\/strong><\/em><\/li>\n<li style=\"text-align: justify\">Gi\u00e1 tr\u1ecb L\u00f4-gic:\u00a0D\u1eef li\u1ec7u l\u00e0 ki\u1ec3u <em><strong>Logical<\/strong> <\/em>(d\u1ea1ng TRUE ho\u1eb7c FALSE)<\/li>\n<li style=\"text-align: justify\">Gi\u00e1 tr\u1ecb l\u1ed7i: D\u1eef li\u1ec7u l\u00e0 ki\u1ec3u <em><strong>Error<\/strong> <\/em>(L\u1ed7i)<\/li>\n<li style=\"text-align: justify\">M\u1ea3ng: D\u1eef li\u1ec7u l\u00e0 ki\u1ec3u <strong><em>Array<\/em><\/strong> (m\u1ea3ng)<\/li>\n<\/ul>\n<blockquote>\n<p>Xem th\u00eam:\u00a0<a href=\"http:\/\/blog.ezworkapp.com\/tag\/cac-ham-co-ban-trong-excel\">C\u00e1c h\u00e0m th\u00f4ng d\u1ee5ng trong Excel<\/a><\/p>\n<\/blockquote>\n<p style=\"text-align: justify\"><strong>V\u00ed d\u1ee5<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\">H\u00e0m <strong>TYPE\u00a0<\/strong>tr\u1ea3 v\u1ec1 c\u00e1c gi\u00e1 tr\u1ecb nh\u01b0 b\u1ea3ng d\u01b0\u1edbi \u0111\u00e2y.<\/li>\n<\/ul>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4245 aligncenter\" src=\"http:\/\/blog.ezworkapp.com\/wp-content\/uploads\/2025\/01\/ham-rand-4.png\" width=\"600\" height=\"484\" title=\"ham-rand-4\"><\/p>\n<p>\u00a0<\/p>\n<p style=\"text-align: justify\"><strong>C\u00f3 th\u1ec3 b\u1ea1n quan t\u00e2m<\/strong><\/p>\n<ul>\n<li style=\"text-align: justify\"><strong><a href=\"https:\/\/blog.hocexcel.online\/ham-power-ham-tinh-luy-thua-trong-excel.html\">H\u00e0m POWER, h\u00e0m t\u00ednh l\u0169y th\u1eeba trong Excel<\/a><\/strong><\/li>\n<li style=\"text-align: justify\"><strong><a href=\"https:\/\/blog.hocexcel.online\/ham-choose-trong-excel.html\">H\u00e0m CHOOSE trong excel<\/a><\/strong><\/li>\n<li style=\"text-align: justify\"><strong><a href=\"https:\/\/blog.hocexcel.online\/ham-int-ham-lay-phan-nguyen-trong-excel.html\">H\u00e0m INT \u2013 H\u00e0m l\u1ea5y ph\u1ea7n nguy\u00ean trong Excel.<\/a><\/strong><\/li>\n<li style=\"text-align: justify\"><strong><a href=\"https:\/\/blog.hocexcel.online\/bai-tap-excel-co-loi-giai-phan-2.html\">B\u00c0I T\u1eacP EXCEL C\u00d3 L\u1edcI GI\u1ea2I (D\u00d9NG H\u00c0M VLOOKUP, H\u00c0M IF) 2<\/a><\/strong><\/li>\n<li style=\"text-align: justify\"><strong><a href=\"http:\/\/blog.ezworkapp.com\/ham-rand-random-trong-excel.html\">H\u00e0m RAND, h\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng h\u00e0m RAND trong Excel<\/a><\/strong><\/li>\n<\/ul>\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=\"https:\/\/blog.hocexcel.online\/wp-content\/uploads\/2019\/09\/EX101_92019-nho.gif\"><br \/>\n<\/a>\n<\/div>\n","protected":false},"author":1,"featured_media":12094,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-12093","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\/12093","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=12093"}],"version-history":[{"count":0,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/posts\/12093\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media\/12094"}],"wp:attachment":[{"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/media?parent=12093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/categories?post=12093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ezworkapp.com\/index.php\/wp-json\/wp\/v2\/tags?post=12093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}