{"id":1821,"date":"2023-11-02T03:51:32","date_gmt":"2023-11-02T03:51:32","guid":{"rendered":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/"},"modified":"2023-12-06T06:18:01","modified_gmt":"2023-12-06T06:18:01","slug":"menghitung-tahun-antara-dua-tanggal","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/","title":{"rendered":"Bagaimana cara menghitung tahun antara dua tanggal?"},"content":{"rendered":"<div class=\"excel-before-content\" id=\"excel-359093363\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>Di Excel, Anda bisa menggunakan fungsi DATEDIF untuk menghitung jumlah tahun antara dua tanggal. Dan dalam tutorial ini, kita akan mempelajari cara menghitungnya.<\/p><h2 class=\"wp-block-heading\"> Tahun antara dua tanggal<\/h2><p> Dalam contoh berikut, Anda memiliki tanggal mulai dan tanggal akhir. Sekarang di sel C1, kita akan menggunakan fungsi DATEDIF untuk mendapatkan tahun di antara dua tanggal tersebut. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-64904\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png\" sizes=\"auto, \" srcset=\"\" alt=\"tahun-antara-tanggal\" width=\"483\" height=\"263\"><\/figure><\/div><p> Gunakan langkah-langkah berikut untuk menulis rumus untuk ini:<\/p><ol type=\"1\"><li> Di sel C1, masukkan \u201c=DATEDIF(\u201d untuk memulai fungsi.<\/li><li> Lihat sel A1, tempat Anda mengetahui tanggal mulai.<\/li><li> Sekarang masukkan koma dan lihat sel B1 di mana Anda memiliki tanggal akhir.<\/li><li> Setelah itu, ketikkan koma dan masukkan \u201cy\u201d.<\/li><li> Terakhir, masukkan tanda kurung tutup dan tekan Enter. <\/li><\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-64905\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-formules-pour-gagner-des-annees.png\" sizes=\"auto, \" srcset=\"\" alt=\"rumus untuk mendapatkan tahun\" width=\"508\" height=\"276\"><\/figure><\/div><p> Pada cuplikan di atas Anda dapat melihat hasilnya adalah 8, yang merupakan <strong>jumlah tahun yang diselesaikan<\/strong> antara tanggal yang Anda tentukan.<\/p><pre class=\"wp-block-code\"> <code class=\"language-excel-formula\" lang=\"excel-formula\">=DATEDIF(A1,B1,\"y\")<\/code><\/pre><p> Namun jika Anda ingin mengetahui gambaran lengkap tahun antara kedua tanggal tersebut, Anda bisa menggunakan rumus berikut. <\/p><pre class=\"wp-block-code\"> <code class=\"language-excel-formula\" lang=\"excel-formula\">=DATEDIF(A1,B1,\"y\")&amp;\" Year(s), \"&amp; DATEDIF(A1,B1,\"ym\")&amp; \"month(s)\"<\/code><\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-64906\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-formules-pour-obtenir-des-annees-et-des-mois.png\" sizes=\"auto, \" srcset=\"\" alt=\"rumus-untuk-mendapatkan-tahun-dan-bulan\" width=\"651\" height=\"327\"><\/figure><\/div><p> Bagian pertama dari rumus ini mendapatkan jumlah tahun penuh, dan bagian kedua mendapatkan jumlah bulan dari sisa tahun yang belum selesai. <\/p><div class=\"gb-container gb-container-52dfcee1 gb-container-sample-file\"><h2 class=\"gb-headline gb-headline-e289c143 gb-headline-text gb-headline-4f7959c2\"> Dapatkan file Excelnya<\/h2><p> <a class=\"gb-button gb-button-e88d6bee gb-button-text gb-button-button1\" href=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/compter-les-annees-entre-deux-dates-3.xlsx\" rel=\"nofollow\">Unduh<\/a><\/p><\/div><div class=\"gb-container gb-container-0df56012 gb-container-mt\"> <a class=\"gb-button gb-button-f9f432f4 gb-button-text gb-button-mt-button\" href=\"https:\/\/exceladvisor.org\/id\/rumus\/\">Daftar rumus Excel<\/a><h2 class=\"gb-headline gb-headline-233444e8 gb-headline-text gb-headline-mt-heading\"> Rumus terkait <\/h2><div class=\"gb-grid-wrapper gb-grid-wrapper-a16fa65c gb-grid-wrapper-mt-grid\"><div class=\"gb-grid-column gb-grid-column-50d07e0d\"><div class=\"gb-container gb-container-50d07e0d\"><ul><li> <a href=\"https:\/\/exceladvisor.org\/id\/tambahkan-tahun-hingga-saat-ini\/\">Tambahkan tahun hingga saat ini di Excel<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/id\/mendapatkan-nomor-hari-dalam-setahun\/\">Dapatkan jumlah hari dalam setahun di Excel<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/id\/mendapat-masa-kerja-2-tahun\/\">Dapatkan layanan bertahun-tahun di Excel<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/id\/tahun-antar-tanggal\/\">Tahun antar tanggal di Excel<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/id\/ekstrak-tahun-bulan\/\">Ekstrak (Dapatkan) tahun atau bulan dari tanggal di Excel<\/a> <\/li><\/ul><\/div><\/div><div class=\"gb-grid-column gb-grid-column-5b4a0cf9\"><div class=\"gb-container gb-container-5b4a0cf9\"><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-1821","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bagaimana cara menghitung tahun antara dua tanggal? - Penasihat Excel<\/title>\n<meta name=\"description\" content=\"Dalam tutorial ini, kita akan mempelajari cara menghitung jumlah tahun antara dua tanggal (tanggal mulai dan tanggal akhir).\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bagaimana cara menghitung tahun antara dua tanggal? - Penasihat Excel\" \/>\n<meta property=\"og:description\" content=\"Dalam tutorial ini, kita akan mempelajari cara menghitung jumlah tahun antara dua tanggal (tanggal mulai dan tanggal akhir).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T06:18:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/\",\"url\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/\",\"name\":\"Bagaimana cara menghitung tahun antara dua tanggal? - Penasihat Excel\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png\",\"datePublished\":\"2023-11-02T03:51:32+00:00\",\"dateModified\":\"2023-12-06T06:18:01+00:00\",\"description\":\"Dalam tutorial ini, kita akan mempelajari cara menghitung jumlah tahun antara dua tanggal (tanggal mulai dan tanggal akhir).\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rumah\",\"item\":\"https:\/\/exceladvisor.org\/id\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bagaimana cara menghitung tahun antara dua tanggal?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/id\/#website\",\"url\":\"https:\/\/exceladvisor.org\/id\/\",\"name\":\"Excel Advisor\",\"description\":\"Panduan utama Anda untuk mendominasi data!\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/id\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/id\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/id\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bagaimana cara menghitung tahun antara dua tanggal? - Penasihat Excel","description":"Dalam tutorial ini, kita akan mempelajari cara menghitung jumlah tahun antara dua tanggal (tanggal mulai dan tanggal akhir).","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/","og_locale":"id_ID","og_type":"article","og_title":"Bagaimana cara menghitung tahun antara dua tanggal? - Penasihat Excel","og_description":"Dalam tutorial ini, kita akan mempelajari cara menghitung jumlah tahun antara dua tanggal (tanggal mulai dan tanggal akhir).","og_url":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-06T06:18:01+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimasi waktu membaca":"1 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/","url":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/","name":"Bagaimana cara menghitung tahun antara dua tanggal? - Penasihat Excel","isPartOf":{"@id":"https:\/\/exceladvisor.org\/id\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png","datePublished":"2023-11-02T03:51:32+00:00","dateModified":"2023-12-06T06:18:01+00:00","description":"Dalam tutorial ini, kita akan mempelajari cara menghitung jumlah tahun antara dua tanggal (tanggal mulai dan tanggal akhir).","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-ans-entre-deux-dates.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/id\/menghitung-tahun-antara-dua-tanggal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Rumah","item":"https:\/\/exceladvisor.org\/id\/"},{"@type":"ListItem","position":2,"name":"Bagaimana cara menghitung tahun antara dua tanggal?"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/id\/#website","url":"https:\/\/exceladvisor.org\/id\/","name":"Excel Advisor","description":"Panduan utama Anda untuk mendominasi data!","publisher":{"@id":"https:\/\/exceladvisor.org\/id\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/id\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/id\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/id\/","logo":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/id\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/id\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages\/1821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/comments?post=1821"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages\/1821\/revisions"}],"predecessor-version":[{"id":2672,"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/pages\/1821\/revisions\/2672"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/id\/wp-json\/wp\/v2\/media?parent=1821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}