{"id":8307,"date":"2018-05-20T09:00:18","date_gmt":"2018-05-20T07:00:18","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8307"},"modified":"2018-05-20T09:00:18","modified_gmt":"2018-05-20T07:00:18","slug":"formule-de-duree-dans-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/duration-formula-in-google-sheets\/","title":{"rendered":"Comment utiliser la formule DURATION dans Google Sheets ?"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;||-5px|||&#8221; custom_padding=&#8221;||0px|||&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span>Do you need to calculate the number of compounding periods that an investment required to reach a target value? The\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093169\" target=\"_blank\" rel=\"noopener noreferrer\">DURATION<\/a><span>\u00a0formula in Google Sheets can help us with that. It considers the present value of an investment as well as the rate of appreciation to arrive at the duration.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3>Syntax<\/h3>\n<p><strong>DURATION(settlement, maturity, rate, yield, frequency, [day_count_convention])<\/strong><\/p>\n<ul>\n<li><strong>settlement \u2013\u00a0<\/strong>is the date after issuing the security, when it is actually delivered to the buyer.<\/li>\n<li><strong>maturity \u2013<\/strong><span>\u00a0<\/span>is the end or maturity date of the security, when the buyer can redeem it at face or par value.<\/li>\n<li><strong>rate \u2013<\/strong><span>\u00a0<\/span>is the annualized interest rate at which the investment appreciates.<\/li>\n<li><strong>yield-<\/strong><span>\u00a0<\/span>is the annual yield that the buyer expects for the security.<\/li>\n<li><strong>frequency \u2013<\/strong><span>\u00a0<\/span>is the\u00a0number of interest payments that buyer can pay per year.<\/li>\n<li><strong>day_count_convention \u2013\u00a0<\/strong>[OPTIONAL parameter \u2013 0 by default ] \u2013 it is an indicator of the day count method that Google Sheets should consider. There are five different possible values for this parameter.\n<ul>\n<li><strong>0<\/strong><span>\u00a0<\/span>\u2013 assumes that there are 30 day months and 360 day years (US (NASD) 30\/360). Using this value ensures there are specific adjustments to the entered dates that usually are at the end of months.<\/li>\n<li><strong>1<\/strong><span>\u00a0<\/span>\u2013 calculates based on the actual number of days between the specified dates, and the actual number of days in the intervening years.<\/li>\n<li><strong>2<\/strong><span>\u00a0<\/span>\u2013 calculates based on the actual number of days between the specified dates, but assumes a 360 day year.<\/li>\n<li><strong>3<\/strong><span>\u00a0<\/span>\u2013 evaluates the DURATION formula in Google Sheets based on the actual number of days between the specified dates, but assumes a 365 day year.<\/li>\n<li><strong>4<\/strong><span>\u00a0<\/span>\u2013 very similar to the first option 0, except, it adjusts end-of-month dates according to European financial conventions.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Usage: DURATION formula in Google Sheets<\/h3>\n<p>Examples make the understanding process much easier when learning new concepts. So, let go ahead and dive into a few of them. Please see the snapshot below.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/DURATION-formula-1.png&#8221; alt=&#8221;DURATION formula 1&#8243; title_text=&#8221;DURATION formula 1&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>For<span>\u00a0<\/span><strong>settlement<\/strong><span>\u00a0<\/span>and<span>\u00a0<\/span><strong>maturity<\/strong><span>\u00a0<\/span>parameters, we need to ensure they get valid dates. They can either be results returned from formulas such as<span>\u00a0<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/date-formula-google-sheets\/\">DATE<\/a>,<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3094239?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">TO_DATE<\/a>, or references to other date\u00a0type cells. Google Sheets may return parsing errors if we enter direct text values for dates.<\/p>\n<p>The other parameters \u2013<span>\u00a0<\/span><strong>rate<\/strong>,<span>\u00a0<\/span><strong>yield<\/strong>,<span>\u00a0<\/span><strong>frequency<\/strong>, and<span>\u00a0<\/span><strong>day_count_convention\u00a0<\/strong>\u2013 can be direct numeric values or can be references to the cells holding the appropriate values. This is demonstrated in the examples above.<\/p>\n<p>We will observe that all the initial five parameters are the same essentially, yet the output values vary across the examples. This is due to the method with which the days are counted which we indicated using the\u00a0<strong>day_count_convention<\/strong><span>\u00a0<\/span>parameter.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<div class=\"et_pb_row et_pb_row_2_tb_body\">\n<div class=\"et_pb_column et_pb_column_4_4 et_pb_column_3_tb_body  et_pb_css_mix_blend_mode_passthrough et-last-child\">\n<div class=\"et_pb_with_border et_pb_module et_pb_post_content et_pb_post_content_0_tb_body\">\n<div class=\"et-l et-l--post\">\n<div class=\"et_builder_inner_content et_pb_gutters3\">\n<div class=\"et_pb_section et_pb_section_0 sheetgo-post et_section_regular\">\n<div class=\"et_pb_row et_pb_row_0\">\n<div class=\"et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child\">\n<div class=\"et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3>DURATION formula<\/h3>\n<p>And there you go! Use the DURATION formula in Google Sheets to calculate the number of compounding periods that an investment required to reach a target value.<\/p>\n<p>If you\u2019d like to learn more about the various formulas of Google Sheets, why not take a look at our blog post on the<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/mduration-formula-in-google-sheets\/\"><span> MDURATION formula in Google Sheets.<\/span><\/a><\/p>\n<p>Alternatively, check out related blog posts below!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you need to calculate the number of compounding periods that an investment required to reach a target value? The\u00a0DURATION\u00a0formula in Google Sheets can help us with that. It considers the present value of an investment as well as the rate of appreciation to arrive at the duration. &nbsp; Syntax DURATION(settlement, maturity, rate, yield, frequency, [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":8308,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"Do you need to calculate the number of compounding periods that an investment required to reach a target value? The <a href=\"https:\/\/support.google.com\/docs\/answer\/3093169\" target=\"_blank\" rel=\"noopener noreferrer\">DURATION<\/a> formula in Google Sheets can help us with that. It considers the present value of an investment as well as the rate of appreciation to arrive at the duration.\n<h3>Syntax<\/h3>\n<strong>DURATION(settlement, maturity, rate, yield, frequency, [day_count_convention])<\/strong>\n<ul>\n \t<li><strong>settlement -&nbsp;<\/strong>is the date after issuing the security, when it is actually delivered to the buyer.<\/li>\n \t<li><strong>maturity -<\/strong> is the end or maturity date of the security, when the buyer can redeem it at face or par value.<\/li>\n \t<li><strong>rate -<\/strong> is the annualized interest rate at which the investment appreciates.<\/li>\n \t<li><strong>yield-<\/strong> is the annual yield that the buyer expects for the security.<\/li>\n \t<li><strong>frequency -<\/strong> is the&nbsp;number of interest payments that buyer can pay per year.<\/li>\n \t<li><strong>day_count_convention -&nbsp;<\/strong>[OPTIONAL parameter - 0 by default ] - it is an indicator of the day count method that Google Sheets should consider. There are five different possible values for this parameter.\n<ul>\n \t<li><strong>0<\/strong> - assumes that there are 30 day months and 360 day years (US (NASD) 30\/360). Using this value ensures there are specific adjustments to the entered dates that usually are at the end of months.<\/li>\n \t<li><strong>1<\/strong> - calculates based on the actual number of days between the specified dates, and the actual number of days in the intervening years.<\/li>\n \t<li><strong>2<\/strong> - calculates based on the actual number of days between the specified dates, but assumes a 360 day year.<\/li>\n \t<li><strong>3<\/strong> - evaluates the DURATION formula in Google Sheets based on the actual number of days between the specified dates, but assumes a 365 day year.<\/li>\n \t<li><strong>4<\/strong> - very similar to the first option 0, except, it adjusts end-of-month dates according to European financial conventions.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Usage: DURATION formula in Google Sheets<\/h3>\nExamples make the understanding process much easier when learning new concepts. So, let go ahead and dive into a few of them. Please see the snapshot below.\n\n<img class=\"aligncenter size-full wp-image-8335\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/05\/1.-DURATION-formula-Illustration-Frame-1.png\" alt=\"1. DURATION formula - Illustration Frame 1\" width=\"979\" height=\"546\">\n\nFor <strong>settlement<\/strong> and <strong>maturity<\/strong> parameters, we need to ensure they get valid dates. They can either be results returned from formulas such as <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/date-formula-google-sheets\/\">DATE<\/a>, <a href=\"https:\/\/support.google.com\/docs\/answer\/3094239?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">TO_DATE<\/a>, or references to other date&nbsp;type cells. Google Sheets may return parsing errors if we enter direct text values for dates.\n\nThe other parameters - <strong>rate<\/strong>, <strong>yield<\/strong>, <strong>frequency<\/strong>, and <strong>day_count_convention&nbsp;<\/strong>- can be direct numeric values or can be references to the cells holding the appropriate values. This is demonstrated in the examples above.\n\nWe will observe that all the initial five parameters are the same essentially, yet the output values vary across the examples. This is due to the method with which the days are counted which we indicated using the&nbsp;<strong>day_count_convention<\/strong> parameter.","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/8307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/comments?post=8307"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/8307\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/8308"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=8307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=8307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=8307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}