{"id":8397,"date":"2018-05-31T22:59:34","date_gmt":"2018-05-31T20:59:34","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8397"},"modified":"2018-05-31T22:59:34","modified_gmt":"2018-05-31T20:59:34","slug":"mduration-formula-in-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/mduration-formula-in-google-sheets\/","title":{"rendered":"Comment utiliser la formule MDURATION 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; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>Given the expected yield that an investment and the interest rate, the<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093178\" target=\"_blank\" rel=\"noopener noreferrer\">MDURATION formula<\/a>\u00a0in Google Sheets calculates the modified Macaulay duration. It is the weighted average\u00a0before the buyer would receive the investment\u2019s cash flows. Also, the formula will require other inputs as explained below, for it to be able to evaluate the duration correctly.<\/p>\n<h3>Syntax<\/h3>\n<p><strong>MDURATION(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>\u00a0is 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>\u00a0is the annualized interest rate at which the investment appreciates.<\/li>\n<li><strong>yield-<\/strong>\u00a0is the annual yield that the buyer expects for the security.<\/li>\n<li><strong>frequency \u2013<\/strong>\u00a0is 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>\u00a0\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>\u00a0\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>\u00a0\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>\u00a0\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>\u00a0\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: MDURATION formula in Google Sheets<\/h3>\n<p>Seemingly the formula feeds on multiple parameters and it might look a little complex. But understanding the concepts with the help of a few examples should make us feel at ease. So, let\u2019s dive into them head first.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/11\/MDURATION-1.png&#8221; alt=&#8221;MDURATION 1&#8243; title_text=&#8221;MDURATION 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>Please note that the\u00a0<strong>settlement<\/strong>\u00a0and\u00a0<strong>maturity<\/strong>\u00a0parameters require valid dates. Therefore, we need to use either the results from formulas such as\u00a0<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/date-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">DATE<\/a>,\u00a0<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. If we do not ensure this, Google Sheets may return parsing errors. Similarly, the other parameters \u2013\u00a0<strong>rate<\/strong>,\u00a0<strong>yield<\/strong>,\u00a0<strong>frequency<\/strong>, and\u00a0<strong>day_count_convention\u00a0<\/strong>\u2013 can be direct numeric values or references to the cells holding the appropriate values.<\/p>\n<p>We might notice\u00a0that all the formulas seem to produce different output values. Even if the initial parameters effectively being the same. This is happening due to the day counting method which we indicated using the final\u00a0<strong>day_count_convention<\/strong>\u00a0parameter.<\/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<h3>MDURATION formula<\/h3>\n<p>And there you go! Use the MDURATION formula in Google Sheets to calculate the modified Macaulay duration.<\/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 <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/duration-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener\">the DURATION formula in Google Sheets<\/a>.<\/p>\n<p>Alternatively, check out related blog posts below!<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Given the expected yield that an investment and the interest rate, the\u00a0MDURATION formula\u00a0in Google Sheets calculates the modified Macaulay duration. It is the weighted average\u00a0before the buyer would receive the investment\u2019s cash flows. Also, the formula will require other inputs as explained below, for it to be able to evaluate the duration correctly. Syntax MDURATION(settlement, [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":8398,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"Given the expected yield that an investment and the interest rate, the <a href=\"https:\/\/support.google.com\/docs\/answer\/3093178\" target=\"_blank\" rel=\"noopener noreferrer\">MDURATION<\/a> formula in Google Sheets calculates the modified Macaulay duration. It is the weighted average&nbsp;before the buyer would receive the investment's cash flows. Also, the formula will require other inputs as explained below, for it to be able to evaluate the duration correctly.\n<h3>Syntax<\/h3>\n<strong>MDURATION(settlement, maturity, rate, yield, frequency, [day_count_convention])<\/strong>\n<ul>\n \t<li><strong>settlement \u2013&nbsp;<\/strong>is the date after issuing the security, when it is actually delivered to the buyer.<\/li>\n \t<li><strong>maturity \u2013<\/strong>&nbsp;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 \u2013<\/strong>&nbsp;is the annualized interest rate at which the investment appreciates.<\/li>\n \t<li><strong>yield-<\/strong>&nbsp;is the annual yield that the buyer expects for the security.<\/li>\n \t<li><strong>frequency \u2013<\/strong>&nbsp;is the&nbsp;number of interest payments that buyer can pay per year.<\/li>\n \t<li><strong>day_count_convention \u2013&nbsp;<\/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 \t<li><strong>0<\/strong>&nbsp;\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 \t<li><strong>1<\/strong>&nbsp;\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 \t<li><strong>2<\/strong>&nbsp;\u2013 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>&nbsp;\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 \t<li><strong>4<\/strong>&nbsp;\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<h3>Usage: MDURATION formula in Google Sheets<\/h3>\nSeemingly the formula feeds on multiple parameters and it might look a little complex. But understanding the concepts with the help of a few examples should make us feel at ease. So, let's dive into them head first.\n\n<img class=\"aligncenter size-full wp-image-8551\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/05\/MDURATION-formula-Illustration-Frame-1.png\" alt=\"MDURATION formula in Google Sheets\" width=\"917\" height=\"559\">\n\nPlease note that the&nbsp;<strong>settlement<\/strong>&nbsp;and&nbsp;<strong>maturity<\/strong>&nbsp;parameters require valid dates. Therefore, we need to use either the results from formulas such as&nbsp;<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/date-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">DATE<\/a>,&nbsp;<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. If we do not ensure this, Google Sheets may return parsing errors. Similarly, the other parameters \u2013&nbsp;<strong>rate<\/strong>,&nbsp;<strong>yield<\/strong>,&nbsp;<strong>frequency<\/strong>, and&nbsp;<strong>day_count_convention&nbsp;<\/strong>\u2013 can be direct numeric values or references to the cells holding the appropriate values.\n\nWe might notice&nbsp;that all the formulas seem to produce different output values. Even if the initial parameters effectively being the same. This is happening due to the day counting method which we indicated using the final&nbsp;<strong>day_count_convention<\/strong>&nbsp;parameter.","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8397","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\/8397","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=8397"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/8397\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/8398"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=8397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=8397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=8397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}