{"id":3598,"date":"2020-11-20T16:20:00","date_gmt":"2020-11-20T15:20:00","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=3598"},"modified":"2025-06-16T21:22:56","modified_gmt":"2025-06-16T19:22:56","slug":"formule-indirecte-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/indirect-formula-google-sheets\/","title":{"rendered":"Comment utiliser la fonction INDIRECT 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; 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.23.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The <a href=\"https:\/\/support.google.com\/docs\/answer\/3093377?hl=en\" target=\"_blank\" rel=\"noopener\">INDIRECT<\/a> function in Google Sheets takes in the cell address in the form of text and returns a cell reference. It works in the opposite way to the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/address-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener\">ADDRESS<\/a> function, which returns an address in text format.<\/p>\n<p>The difference between the INDIRECT function and a typical direct function is that a typical function directly references a cell (or range of cells) within the formula. In contrast, the INDIRECT function uses the cell address (in the form of a text string) to find the relevant cell.<\/p>\n<p>Note: If you want to learn more about other google sheet functions, we have a post with <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/indirect-formula-google-sheets\/\">100+ Google Sheet Functions<\/a><\/p>\n<p>Using a text string to reference a cell provides several advantages that are outlined below.<\/p>\n<h3>Syntax<\/h3>\n<p><span><strong>INDIRECT(cell_reference_as_string, [is_A1_notation])<\/strong><\/span><\/p>\n<p><span><strong>cell_reference_as_string<\/strong><\/span><span>\u00a0<\/span>\u2013 is the text form of a cell address. Notice that it is not the cell reference itself.\u00a0Because it is in the form of a text string, it should be enclosed in double quotation marks unless it is referencing a cell that holds the text string (see the examples below).<\/p>\n<p><span><strong>is_a1_notation<\/strong><\/span><span>\u00a0<\/span>\u2013\u00a0this is an optional input that tells the function what type of notation the cell address is in. There are two kinds of representations for a cell address. A1 notation specifies the cell by the column letter (A, B, C, etc.) and the row number (1, 2, 3, etc.), identifying cells in the form of A1, B3, F14, and so on. Another way of representing a cell is R1C1, which gives the row number (R1) and the column number (C1). In this format, cell A1 would be R1C1, and cell B3 would be R3C2 (because B3 is the third row in the second column). TRUE is the value by default, and you get A1 notation in return. Otherwise, if you need R1C1 notation, you need to specify FALSE.<\/p>\n<h3>How to use the INDIRECT function<\/h3>\n<p>The easiest way to understand this concept is to see it in use, so I&#8217;ve provided some examples below, each using a different combination.<\/p>\n<p>As you can see, the first parameter can be a direct string enclosed in double quotes (rows 2 and 3), a cell reference that holds the address string (row # 7), or even a concatenated string (rows 4 and 5).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-1.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 1&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 1&#8243; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>To help you understand the function better, I\u2019ll go through the list of the different variations of the formula and the results that each one generates.<\/p>\n<h4>Example 1<\/h4>\n<p>In the first formula =INDIRECT(\u201cB3\u201d), I simply specify that I want the result of the formula to be whatever is in cell B3, which is <strong>Brian<\/strong>.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-2.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 2&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 2&#8243; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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<h4>Example 2<\/h4>\n<p>In the second formula =INDIRECT(\u201cB2\u201d, TRUE), I do the same thing, but this time I ask for the result to be from cell B2, which is <strong>Alex<\/strong>.<\/p>\n<p>I also indicate <strong>TRUE<\/strong>, which means I want A1 notation.<\/p>\n<p>Note that you don\u2019t need to specify this. The function assumes that you are using A1 notation unless you indicate otherwise (by using FALSE which indicates R1C1 notation).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/11\/indirect-function-missing-image.png&#8221; alt=&#8221;indirect-function-example&#8221; title_text=&#8221;indirect-function-missing-image&#8221; _builder_version=&#8221;4.16&#8243; 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<h4>Example 3<\/h4>\n<p>In the third formula =INDIRECT(&#8220;Sheet1!&#8221;&amp;A4,True) I concatenate a text string that will tell the formula which cell I want to reference.<\/p>\n<p>To do this, you start by saying \u201cSheet1!\u201d, followed by &amp;A4, which tells the formula to look at cell A4 on Sheet 1.<\/p>\n<p>The text in cell A4 is \u201cB7\u201d, which tells the formula to give the output from cell B7, which is <strong>Fabio<\/strong>.<\/p>\n<p>In this formula, I also indicate <strong>TRUE<\/strong> for the A1 notation, which is again optional.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-4.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 4&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 4&#8243; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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<h4>Example 4<\/h4>\n<p>The fourth formula =INDIRECT(A5&amp;&#8221;!B8&#8243;) does the same thing but in a different way.<\/p>\n<p>It spells out \u201cSheet1!B8\u201d by referencing cell A5 (which contains \u201cSheet1\u201d) and adding the \u201c!B8\u201d.<\/p>\n<p>As a result, the indirect formula looks at cell B8 and returns <strong>Greg<\/strong>.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-5.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 5&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 5&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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<h4>Example 5<\/h4>\n<p>The fifth formula =INDIRECT(&#8220;R5C2&#8221;,FALSE) uses R1C1 format to identify cell B5 by saying R5C2 (the fifth row in the second column).<\/p>\n<p>In this case, I must let the formula know that I\u2019m using R1C1 notation by adding <strong>FALSE<\/strong> at the end of the formula.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-6.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 6&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 6&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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<h4>Example 6<\/h4>\n<p>The sixth formula =INDIRECT(A7,FALSE) references another cell, A7, which points the formula to cell B6 in R1C1 format, so again I add FALSE.<\/p>\n<p>Notice that in this example A7 is not in quotation marks because it is not a text string but a reference to the A7 cell that holds the text string (R6C2).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-7.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 7&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 7&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>The last formula =INDIRECT(SUBSTITUTE(SUBSTITUTE(A8,&#8221;[&#8220;,&#8221;&#8221;),&#8221;]&#8221;,&#8221;&#8221;),FALSE) uses the SUBSTITUTE formula to change the R[1]C[1] cell address format to R1C1, since this is the notation that the formula can handle.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-8.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 8&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 8&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][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; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Maintaining a cell range in a formula<\/h3>\n<p>One of the benefits of using the INDIRECT function is that by specifying the cell(s) you want the formula to reference, those cells stay the same even if you add new rows or columns to the sheet.<\/p>\n<p>The example below shows the difference between using a regular SUM formula, and using the SUM formula combined with an INDIRECT formula, =SUM(INDIRECT(\u201cB2:B6\u201d))<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-9.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 9&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 9&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>Here, you can see that to add up the revenue for Monday to Friday, SUM can be used either with or without the INDIRECT function.<\/p>\n<p>Sum function references the cells B2:B6 directly while using the INDIRECT formula references the cells as a text string \u201cB2:B6\u201d.<\/p>\n<p>The difference comes into play when you make changes to the sheet such as by adding another row.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-10-GOOD.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 10 GOOD&#8221; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 10 GOOD&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>In the screenshot above, you can see that an extra row has been inserted above Monday in order to add revenue from Sunday. When this happens, the SUM function automatically changes its cells to B3:B7.<\/p>\n<p>The formula that used the INDIRECT function, however, maintained the original range of B2:B6.<\/p>\n<p>In some situations, the fact that SUM (and other formulas) can change its range based on alterations to the rows and columns in a sheet can be helpful. On the other hand, this might be frustrating when you want to keep the range the same.<\/p>\n<p>In these cases, the INDIRECT function is a useful way of achieving this.<\/p>\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>Using INDIRECT with Named Ranges<\/h3>\n<p><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/how-do-i-name-ranges-or-cells-in-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">Named ranges<\/a> can be created to refer to a set group of cells. The INDIRECT formula can use a named range for a variety of calculations.<\/p>\n<p>In the example below, I\u2019ve created a named range for cells B3:B7 called Monday_to_Friday.<\/p>\n<p>This can be done by selecting the cells and clicking<strong> Data<\/strong> &gt; <strong>Named Ranges<\/strong>.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-11.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 11&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 11&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>Once the named range is created, it can be referenced using the INDIRECT function.<\/p>\n<p>In the example above, I use =SUM(INDIRECT(&#8220;Monday_to_Friday&#8221;)) to call up the Monday_to_Friday range and then output the sum of this range.<\/p>\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>How to use INDIRECT to reference other sheets<\/h3>\n<p><span style=\"font-weight: 400;\">Another use of the INDIRECT function is referencing data in other sheets. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the simple example below, you can see how the function can be used to pull data from other sheets.<\/span><\/p>\n<p>I\u2019ve created a second tab called <strong>Sheet2<\/strong>, and on cell B4 of that sheet, I\u2019ve entered &#8220;Data from Sheet 2\u201d.<\/p>\n<p>Then on Sheet 1, I can use the INDIRECT formula to refer to that cell and output the data from that cell by saying =INDIRECT(&#8220;Sheet2!&#8221;&amp;&#8221;B4&#8221;)<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-12.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 12&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 12&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>This can be useful when you have a sheet with multiple tabs that you are pulling information from. Instead of including Sheet2 in the formula, you can write &#8220;Sheet2&#8221; in a cell, then have the INDIRECT formula refer to that cell.<\/p>\n<p>If you then want to change it to get data from another tab, instead of changing the formula you can simply change the cell to say &#8220;Sheet3&#8221; instead of Sheet2, for example.<\/p>\n<p>Likewise, you can do the same with the specific cell that you\u2019re referencing on the sheet (B4 in this example).<\/p>\n<p>The INDIRECT function can also be used to use conditional formatting with multiple tabs.<\/p>\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>How to use the INDIRECT function with MATCH<\/h3>\n<p>The INDIRECT function can be combined with the MATCH function to return a dynamic range of cells.<\/p>\n<p>In the following example, I combine the INDIRECT and MATCH functions to give me the revenues for the days that I specify, using the formula =INDIRECT(&#8220;B&#8221; &amp; MATCH(B10,A:A,FALSE) &amp; &#8220;:B&#8221; &amp; MATCH(B11,A:A,FALSE), TRUE)<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-13.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 13&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 13&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>As you can see from the screenshot, I\u2019ve entered Monday and Thursday as the start and end days that I want to view revenue for.<\/p>\n<p>The MATCH formula finds those days in my data range and identifies the rows that they\u2019re in. These rows are put into the INDIRECT formula as the rows between which I want to return the data. The result is that the formula gives the revenues from Monday to Thursday.<\/p>\n<p>By setting it up this way, I can get data from different ranges of days just by changing the start and end day cells.<\/p>\n<p>I can also combine this formula with other functions, such as SUM, to give me the overall revenue from the range of days I specify.<\/p>\n<p>I\u2019ve done this in the example below, by typing =SUM(INDIRECT(&#8220;R&#8221; &amp; MATCH(B10,A:A,FALSE) &amp; &#8220;C2&#8221; &amp; &#8220;:R&#8221; &amp; MATCH(B11,A:A,FALSE) &amp; &#8220;C2&#8221;, false))<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-14.png&#8221; alt=&#8221;indirect-function-google-sheets-13&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 14&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>As you can see, I\u2019ve used R1C1 notation in this example instead of the A1 notation of the previous example.<\/p>\n<p>However, the logic is the same: use the MATCH function to identify the data you want to get and use the INDIRECT function to call up that data.<\/p>\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>Using INDIRECT formula with tabs<\/h3>\n<p>The INDIRECT formula can be used to consolidate information from multiple tabs in a spreadsheet.<\/p>\n<p>In the following example, I have a spreadsheet with sales data for the year. Each month is a separate tab, which has weekly sales data and a total sales value for the month, as shown in the following screenshot.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-15.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 15&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 15&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>In the <strong>Summary<\/strong> tab, I want to bring in all the monthly sales totals.<\/p>\n<p>Instead of copying and pasting each value, I can use the INDIRECT formula to access data in each tab using the following formula: =INDIRECT(A2&amp;&#8221;!B6&#8243;)<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-16.png&#8221; alt=&#8221;indirect-function-google-sheets-14&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 16&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>As you can see, this formula tells the indirect function to look in each tab and return the total sales for that month, which is in cell <strong>B6<\/strong> of each tab.<\/p>\n<p>By doing this, you can quickly consolidate data across multiple tabs. The best part is that when the numbers change in any of the tabs, that change is reflected in the summary tab automatically!<\/p>\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>Errors \u2013 INDIRECT formula<\/h3>\n<p>Will the INDIRECT formula result in errors? Yes, of course!<\/p>\n<p>The following screenshot illustrates the outcome when you try to input A1 style address notation for cell_reference_as_string and FALSE for the is_A1_notation parameter.<\/p>\n<p>Doing this will obviously leave the INDIRECT formula looking for R1C1 style notation, and it doesn\u2019t find one. Hence the error!<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-17.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 17&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 17&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>The vice versa is also true, as indicated in the snapshot below.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-18.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 18&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 18&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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>Now the worst-case scenario.<\/p>\n<p>You try to input a text form that is neither A1 representation nor the R1C1 representation, but just some dummy text. And, of course, it should throw up an error!<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/05\/INDIRECT-FORMULA-GOOGLE-SHEETS-19.png&#8221; alt=&#8221;INDIRECT FORMULA GOOGLE SHEETS 19&#8243; title_text=&#8221;INDIRECT FORMULA GOOGLE SHEETS 19&#8243; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; 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><span>Thanks for reading \u2014 that&#8217;s Sheetgo&#8217;s in-depth guide on how to use the INDIRECT function in Google Sheets. Check out our other articles for more spreadsheet tips!<\/span><\/p>\n<h3>Did you like this post?<\/h3>\n<p>Share it with your friends and colleagues via the social media buttons on the left.<\/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>The INDIRECT function in Google Sheets takes in the cell address in the form of text and returns a cell reference. It works in the opposite way to the ADDRESS function, which returns an address in text format. The difference between the INDIRECT function and a typical direct function is that a typical function directly [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":27671,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"<p>The <a href=\"https:\/\/support.google.com\/docs\/answer\/3093377?hl=en\">INDIRECT<\/a> formula in Google Sheets takes in the cell address in the form of text and returns a cell reference. It works the opposite as that of the <a href=\"https:\/\/www.sheetgo.com\/address-formula-google-sheets\/\">ADDRESS<\/a> formula, that returns an address in the text form.<\/p>\n<h3>Syntax<\/h3>\n<p><span style=\"font-family: courier new,courier,monospace; font-size: 14pt;\"><strong>INDIRECT(cell_reference_as_string, [is_A1_notation])<\/strong><\/span><\/p>\n<p><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>cell_reference_as_string<\/strong><\/span> - is the text form of a cell address. Notice that it is not the cell reference itself.<\/p>\n<p><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>is_a1_notation<\/strong><\/span> \u2013 there are two kinds of representations for a cell address. One in the form of A1. And the other way of representing the same cell is R1C1 (just a short representation for row # 1 and column # 1). TRUE is the value by default, and we get A1 notation in return. Otherwise, if we need R1C1 notation, we need to specify FALSE.<\/p>\n<h3>Usage: INDIRECT formula<\/h3>\n<p>We understand the concept better with help of examples. So, here are a few combinations of the formula.<\/p>\n<p><img class=\"aligncenter size-full wp-image-3599\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/Indirect1.png\" alt=\"INDIRECT Formula - Illustration 1\" width=\"790\" height=\"244\" \/><\/p>\n<p>You'll notice that the first parameter can be a direct string enclosed in double quotes (rows 2 and 3), a cell reference that holds the address string (row # 7), or even a concatenated string (rows 4 and 5).<\/p>\n<p>Please note that the INDIRECT formula cannot handle R[1]C[1] style of address notation. Instead it can process R1C1 style. So, in case we have to process the former representation, we can work around it like we did in the row # 8. We substituted the square brackets with empty strings using the SUBSTITUTE formula.<\/p>\n<p>Will the INDIRECT formula result in errors? Yes, of course!<\/p>\n<p>The following screenshot illustrates the outcome when we try to input A1 style address notation for <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>cell_reference_as_string<\/strong><\/span> and indicate FALSE for the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>is_A1_notation<\/strong><\/span> parameter. Doing this will obviously leave the INDIRECT formula looking for R1C1 style notation, and it doesn't find one. Hence the error!<\/p>\n<p><img class=\"aligncenter size-full wp-image-3600\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/indirect2.png\" alt=\"INDIRECT Formula - Illustration 2\" width=\"790\" height=\"242\" \/><\/p>\n<p>The vice versa is also true, as indicated in the snapshot below.<\/p>\n<p><img class=\"aligncenter size-full wp-image-3601\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/indirect3.png\" alt=\"\" width=\"790\" height=\"243\" \/><\/p>\n<p>Now the worst case scenario. We try and input a text form that is neither A1 representation nor the R1C1 representation, but just some dummy text. And, of course it should throw up an error!<\/p>\n<p><img class=\"aligncenter size-full wp-image-3602\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/indirect4.png\" alt=\"INDIRECT Formula - Illustration 4\" width=\"790\" height=\"242\" \/><\/p>\n<p>Another useful formula for the Google Sheets is ROW formula. Learn more about it in the blog post: \"<strong><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/row-formula-google-sheets\/\">How to use the ROW formula in Google Sheets<\/a><\/strong>\"<\/p>\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph -->","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-3598","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\/3598","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=3598"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/3598\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/27671"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=3598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=3598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=3598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}