{"id":32729,"date":"2021-03-09T18:22:39","date_gmt":"2021-03-09T17:22:39","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=32729"},"modified":"2021-03-09T18:22:39","modified_gmt":"2021-03-09T17:22:39","slug":"xirr-function-excel","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/excel-functions\/xirr-function-excel\/","title":{"rendered":"Comment utiliser la fonction XIRR dans Excel ?"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;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_row _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_column type=&#8221;4_4&#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_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<p>The <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d\" target=\"_blank\" rel=\"noopener\">XIRR function<\/a> in Excel calculates the internal rate of return, or IRR, of a series of cash flows. The function is designed specifically to handle irregular cash flows that don\u2019t follow a consistent time period.<\/p>\n<p>This makes the XIRR function very useful in financial calculations!<\/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>Syntax<\/h3>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _builder_version=&#8221;4.16&#8243; border_width_left=&#8221;4px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]=XIRR(values, dates, [guess])[\/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<ul>\n<li><b>values<\/b> are the cash flows. Money spent is a negative number, and money earned is a positive number\n<li><b>dates<\/b> are the dates corresponding to each cash flow\n<li><b>guess<\/b> is an optional input where you can provide an estimate that Excel will use as a starting point in finding the IRR<\/li>\n<\/ul>\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<p>The function works by iteration. IRR is found by finding the rate that will make the net present value (NPV) equal zero.<\/p>\n<p>The function guesses a number, runs the calculation, and then refines its guess. It does this until it finds the correct IRR.<\/p>\n<p>The <b>guess<\/b> parameter helps the function by giving it a starting estimate. If no guess is specified, it starts at 10% and performs guess-and-check iterations from there.<\/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>How to use the XIRR Excel function<\/h3>\n<p>The XIRR function has some complicated math behind it, but it\u2019s extremely simple to use.<\/p>\n<p>You basically list out all the dates in one column, and all the cash flows in another. Then use the function to find the IRR (you typically won\u2019t even need to input a guess).<\/p>\n<p>In this example, I have a project that will require a $600 outlay at the beginning, then $400 on two separate dates. Because these cash flows don\u2019t follow a consistent time period (in which case you could use the IRR function), it\u2019s a perfect candidate for the XIRR function!<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/03\/1.-XIRR-example-1.png&#8221; alt=&#8221;XIRR function Excel example 1&#8243; title_text=&#8221;1. XIRR example 1&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#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; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>I use the XIRR function here by typing <b>=XIRR(B2:B4,A2:A4)<\/b>. The function tells me that the internal rate of return for this project is 19.88%.<\/p>\n<p>To ensure you have a good understanding of how to use XIRR, I\u2019ll show one more example. This time, the project involves a $15,000 outlay at the start, then income over the next few years at the specified dates.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/03\/2.-XIRR-example-2.png&#8221; alt=&#8221;XIRR function Excel example 2&#8243; title_text=&#8221;2. XIRR example 2&#8243; align=&#8221;center&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#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; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>When I type <b>=XIRR(B2:B6,A2:A6)<\/b> the function shows that the IRR for this project is 9.41%.<\/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<h4>Tips when using XIRR in Excel<\/h4>\n<ul>\n<li>The XIRR function is for irregular cash flows. For cash flows that follow a constant pattern, you can use the IRR function<\/li>\n<li>There must be at least one negative cash flow, and at least one positive cash flow<\/li>\n<li>Make sure the dates are formatted correctly, otherwise you\u2019ll get an error<\/li>\n<li>Typically you don\u2019t need to specify a guess when using the function<\/li>\n<\/ul>\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>Final thoughts<\/h3>\n<p>That&#8217;s how to use the<a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/xirr-formula-in-google-sheets\/\" target=\"_blank\" rel=\"noopener\"> XIRR<\/a> function in Excel!<\/p>\n<p>Make sure to take a look at our other blog posts about <a href=\"https:\/\/www.sheetgo.com\/blog\/category\/excel-functions\/\" target=\"_blank\" rel=\"noopener\">Excel functions<\/a>.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The XIRR function in Excel calculates the internal rate of return, or IRR, of a series of cash flows. The function is designed specifically to handle irregular cash flows that don\u2019t follow a consistent time period. This makes the XIRR function very useful in financial calculations!Syntax=XIRR(values, dates, [guess]) values are the cash flows. Money spent [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":32730,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[65],"tags":[39,48,28],"class_list":["post-32729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-functions","tag-connections-t","tag-excel","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/32729","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=32729"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/32729\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/32730"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=32729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=32729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=32729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}