{"id":8400,"date":"2021-10-12T14:18:00","date_gmt":"2021-10-12T12:18:00","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8400"},"modified":"2025-06-16T22:12:25","modified_gmt":"2025-06-16T20:12:25","slug":"formula-irr-en-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/irr-formula-in-google-sheets\/","title":{"rendered":"C\u00f3mo utilizar la f\u00f3rmula TIR en 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; da_is_popup=&#8221;off&#8221; da_exit_intent=&#8221;off&#8221; da_has_close=&#8221;on&#8221; da_alt_close=&#8221;off&#8221; da_dark_close=&#8221;off&#8221; da_not_modal=&#8221;on&#8221; da_is_singular=&#8221;off&#8221; da_with_loader=&#8221;off&#8221; da_has_shadow=&#8221;on&#8221; da_disable_devices=&#8221;off|off|off&#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; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>If you\u2019re managing the returns of your periodic cash flows in Google Sheets, then using the <a href=\"https:\/\/support.google.com\/docs\/answer\/3093231?hl=en\" target=\"_blank\" rel=\"noopener\">IRR formula<\/a> can not only help to streamline your calculations process but also guarantee accurate results.<\/p>\n<p>The IRR formula is usually used in a financial modeling or financial investment context. For example, you can forecast and evaluate your business performance by calculating the return rate based on your initial investment and previous net income. On the other hand, the IRR formula can also help you choose what to invest in; a higher IRR rate equals a better investment opportunity.<\/p>\n<p>In this article, we\u2019ll explore what the IRR formula is, how it works, and how you can employ it in your own cash flow data.<\/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<h2>What is the IRR formula?<\/h2>\n<p>The IRR formula stands for \u2018Internal Rate of Return\u2019. This formula calculates the interest rate received for an investment consisting of both outgoing payments and income payments that occur at regular periods. It doesn\u2019t consider the external factors, such as inflation or the cost of capital. Hence the term \u2018internal\u2019.<\/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<p>Therefore, you can use the IRR formula with the following:<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<ul>\n<li><b>Periodic payments:<\/b> regular payments that come in, such as monthly or annually.<\/li>\n<li><b>Uneven cash flow:<\/b> you don\u2019t have to have even values at every interval for the IRR formula to work<\/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>Syntax<\/h3>\n<p>The IRR formula uses the following syntax to calculate your return:<\/p>\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;]=IRR(cashflow_values, [rate_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>Cashflow_values<\/b> = the range of cells that contain the outgoing and incoming payments relating to your return of investment<\/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 style=\"padding-left: 40px;\"><span>\u25cb<\/span> The range must contain at least one positive value (income) and one negative value (payment).<br \/><span>\u25cb<\/span> Make sure the values are in the correct order of cash flow<br \/><span>\u25cb<\/span> Your range must include numbers only. Any other values, such as text or empty cells, will be ignored.<\/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<ul>\n<li><b>[rate_guess]<\/b> = optional. Estimate of the internal rate of return.<\/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 style=\"padding-left: 40px;\"><span>\u25cb<\/span> For the majority of instances, you don\u2019t need to provide a guess value for the IRR calculation. If so, the default value will be 0.1 (10%).<br \/><span>\u25cb<\/span> You may receive a <b>#NUM!<\/b> error value if the <b>[rate_guess]<\/b> doesn\u2019t work. There are 2 reasons this may occur:<\/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<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>You have not entered at least one negative and one positive value.<\/li>\n<li>The formula couldn\u2019t find an accurate enough result. IRR cycles through the calculation until the result is accurate within 0.00001%. If the formula cannot find a result that works after 20 tries, the <b>#NUM!<\/b> value will show.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p style=\"padding-left: 40px;\"><span>\u25cb<\/span> If the result isn\u2019t close to what you expected, try another <b>[rate_guess]<\/b> value for a different result.<\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Connections T &#8211; One tool &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img md2-contained-button vertical-banner-container&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#f2f7ff&#8221; max_width=&#8221;700px&#8221; module_alignment=&#8221;center&#8221; max_height=&#8221;300px&#8221; custom_margin=&#8221;20px|0px|20px|0px|true|true&#8221; custom_padding=&#8221;25px|25px|25px|25px|true|true&#8221; sticky_limit_bottom=&#8221;section&#8221; border_radii=&#8221;on|20px|20px|20px|20px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#d9e7ff&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;255434&#8243; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/connections-top-processors-main.webp\" width=\"250\" height=\"168\" alt=\"\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Recommended-for-Google-Workspace-badge.webp\" width=\"150\" height=\"180\" alt=\"39\" \/><\/p>\n<p><span style=\"font-size: 22px; font-weight: 600;\">One tool to merge, split, and filter all your spreadsheet data<\/span><\/p>\n<p><a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a><\/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 IRR formula in Google Sheets<\/h3>\n<p>Now that we understand what the IRR formula is and how it works, let\u2019s explore how to use it in real-life situations.<\/p>\n<p>For our example, let\u2019s take a look at the following cash flow data in Google Sheets.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/IRR.png&#8221; alt=&#8221;IRR formula 1&#8243; title_text=&#8221;IRR&#8221; align=&#8221;center&#8221; _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; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The spreadsheet above shows the cash flow over the past 5 years after starting a business. The first shows the initial investment, followed by overall income received at the end of each year.<\/p>\n<p>Let\u2019s say we want to calculate the internal rate of return of our business investment across all five years, without a rate guess. We\u2019d input the following:<\/p>\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;]=IRR(A2:A7)[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/IRR-\u2013-1.png&#8221; alt=&#8221;IRR formula 2&#8243; title_text=&#8221;IRR \u2013 1&#8243; align=&#8221;center&#8221; _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; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>As you can see, our interest rate is 34%. We can check the accuracy of this value by substituting it in the NPV formula. The IRR and NPV (Net Present Value) are closely linked to one another, as the rate of return calculated by IRR is the interest rate corresponding to a 0 NPV. Check out our blog post to learn more about <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/npv-formula-in-google-sheets\/\">how to use the NPV formula in Google Sheets<\/a>.<\/p>\n<p>So, in order to check our IRR result, we can input the IRR value (located in cell D2) into the NPV formula on the same data and see if we get a final result of 0.<\/p>\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;]=NPV(D2,A2:A7)[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/IRR-\u2013-2.png&#8221; alt=&#8221;IRR formula 3&#8243; title_text=&#8221;IRR \u2013 2&#8243; align=&#8221;center&#8221; _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; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>As you can see here, our NPV value did indeed come back as 0, which means the IRR value is correct!<\/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>IRR formula<\/h3>\n<p>And there you have it! The IRR formula works in exactly the same way in Excel as it does in Google Sheets. Always remember that this formula works on cash flows with periodic payments; if you have a cash flow based on random payments, check out our article on how to use the <a href=\"https:\/\/www.sheetgo.com\/blog\/excel-functions\/xirr-function-excel\/\">XIRR formula for Google Sheets<\/a> instead.<\/p>\n<p>Alternatively, if you would like to learn more about the numerous functions in Google Sheets that can help streamline your calculation processes, discover our related blog posts below!<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.22.2&#8243; background_color=&#8221;#f9f9ff&#8221; custom_margin=&#8221;40px||40px||false|false&#8221; custom_padding=&#8221;15px|25px|15px|25px|true|true&#8221; border_width_left=&#8221;3px&#8221; border_color_left=&#8221;#808e95&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><em><strong>Editor\u2019s note<\/strong>: This is a revised version of a previous post that has been updated for accuracy and comprehensiveness.<\/em><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re managing the returns of your periodic cash flows in Google Sheets, then using the IRR formula can not only help to streamline your calculations process but also guarantee accurate results. The IRR formula is usually used in a financial modeling or financial investment context. For example, you can forecast and evaluate your business [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":37029,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"Let's assume that we have a series of regularly spaced cash flows of an investment. And now we want to calculate the internal rate of return or annualized yield for that investment. Without having to do the complex math ourselves, that is. Thankfully, we have <a href=\"https:\/\/support.google.com\/docs\/answer\/3093231\" target=\"_blank\" rel=\"noopener noreferrer\">IRR<\/a> formula in Google Sheets - which means \"internal rate of return\". It doesn't consider the external factors, such as inflation or the cost of capital. Hence the term \u2018internal\u2019. The&nbsp;<a href=\"https:\/\/support.google.com\/docs\/answer\/3093231?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">IRR<\/a>&nbsp;formula calculates the rate or the return for periodic cash flows, whereas the <a href=\"https:\/\/support.google.com\/docs\/answer\/3093266\" target=\"_blank\" rel=\"noopener noreferrer\">XIRR<\/a> formula does so for non-periodic cash flows.\n<h3>Syntax<\/h3>\n<strong>IRR(cashflow_amounts, [rate_guess])<\/strong>\n<ul>\n \t<li><strong>cashflow_amounts<\/strong> - is a group or range or array of incomes or payments corresponding to the investment.<\/li>\n \t<li><strong>rate_guess<\/strong> - [OPTIONAL \u2013 0.1 by default] \u2013 is an estimated internal rate of return.<\/li>\n<\/ul>\nPlease note that the IRR formula in Google Sheets assumes that the cash flows happen in both directions. Therefore the <strong>cashflow_amounts<\/strong> must contain at least one negative and one positive cash flow to calculate the rate of return.&nbsp;A negative value indicates that the buyer is investing, while a positive value indicates that the buyer is yielding a return.\n<h3>Usage: IRR formula in Google Sheets<\/h3>\nNow that we have established the purpose of IRR formula and its syntax, it's time to delve into actual examples. Because they help us internalize the concepts much better than theory. Please consider the screenshot below.\n\n<img class=\"aligncenter size-full wp-image-8480\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/05\/IRR-formula-Illustration-Frame-1.png\" alt=\"IRR formula in Google Sheets\" width=\"919\" height=\"561\">\n\nAs demonstrated in the examples above, the cash flows values can either be numeric values. Or we can also use a reference to the range of cells that hold the cash flow values.\n\nIf we ever try the IRR formula in Google Sheets only with one directional cash flows, it returns a #NUM! error. That is because the IRR formula needs both positive and negative cash flows for it to be able to calculate the rate of return.\n\n<img class=\"aligncenter size-full wp-image-8481\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/05\/IRR-formula-Illustration-2.png\" alt=\"IRR formula in Google Sheets\" width=\"917\" height=\"485\">","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8400","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\/es\/wp-json\/wp\/v2\/posts\/8400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=8400"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/8400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/37029"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=8400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=8400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=8400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}