{"id":3860,"date":"2017-04-13T17:24:15","date_gmt":"2017-04-13T15:24:15","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=3860"},"modified":"2017-04-13T17:24:15","modified_gmt":"2017-04-13T15:24:15","slug":"formule-de-transposition-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-formulas\/transpose-formula-google-sheets\/","title":{"rendered":"Comment utiliser la formule TRANSPOSE de Google Sheets ?"},"content":{"rendered":"\n[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>In Google Sheets, if you ever need to flip the columns and rows of an array or a data range,<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3094262?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">TRANSPOSE<\/a><span>\u00a0<\/span>Google Sheets function is the one to go with. It swaps\u00a0\u2014 or transposes \u2014 the rows and columns, changing the orientation of your spreadsheet data from horizontal to vertical or vice versa.<\/p>\n<p>This can be useful for presentation purposes or to make your table easier to read, for example if your dataset has grown to a large size and the number of columns means it&#8217;s very wide, or very long. TRANSPOSE is a handy alternative to copy-pasting, allowing you to switch rows and columns in Google Sheets instantly without errors.<\/p>\n<h3>Syntax<\/h3>\n<p><span><strong>TRANSPOSE(array_or_range)<\/strong><\/span><\/p>\n<p><span><strong>array_or_range<\/strong><\/span><span>\u00a0<\/span>\u2013 the array or the reference to the range of columns and rows you want to swap or transpose.<\/p>\n<p>&nbsp;<\/p>[\/et_pb_text][et_pb_text admin_label=&#8221;Connections T &#8211; Automate beyond importrange &#8211; Horizontal&#8221; module_class=&#8221;sheetgo-post-no-shadow-img md2-contained-button-light vertical-banner-container&#8221; _builder_version=&#8221;4.27.2&#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; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;50462&#8243; theme_builder_area=&#8221;post_content&#8221;]<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2024\/09\/Add-on-sm_sheets-connected-new-connection.webp\" width=\"250\" height=\"168\" alt=\"\" \/>\n\n<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\" \/>\n\n<span style=\"font-size: 22px; font-weight: 600;\">Automate data transfers beyond Importrange<\/span>\n\n<a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<h3>How to use TRANSPOSE Google Sheets function<\/h3>\n<p>This is one of the simplest formulas in Google Sheets. Take a look at the following examples:<\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/TRANSPOSE-google-sheets-1.png&#8221; alt=&#8221;TRANSPOSE google sheets 1&#8243; title_text=&#8221;TRANSPOSE google sheets 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><span>My sample data fills cells A1 to C7. At present, my list of Employee ID numbers (Emp ID#) runs vertically along the left hand side of spreadsheet, in a column. Instead, I want to see my Employee ID list horizontally, along the top of my spreadsheet. <\/span><\/p>\n<p><span>To do this, I enter a TRANSPOSE formula into cell D1:\u00a0<\/span><\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/TRANSPOSE-google-sheets-2.png&#8221; alt=&#8221;TRANSPOSE google sheets 2&#8243; title_text=&#8221;TRANSPOSE google sheets 2&#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><span>You can see that my original data range has been inverted. The rows and colums from the input\u00a0<strong>array_or_range\u00a0<\/strong>have been swapped and the new (flipped) dataset starts in cell D1.\u00a0<\/span><\/p>\n<p><span>Remember to leave enough space in your spreadsheet for the new table of data. Otherwise, the formula returns\u00a0<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/spreadsheets-tips\/ref-error-spreadsheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">#REF! error:<\/a><\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/TRANSPOSE-google-sheets-3.png&#8221; alt=&#8221;TRANSPOSE google sheets 3&#8243; title_text=&#8221;TRANSPOSE google sheets 3&#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>Another option is to enter an <strong>array<\/strong> instead. Here&#8217;s an example:<\/p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2021\/10\/TRANSPOSE-google-sheets-4.png&#8221; alt=&#8221;TRANSPOSE google sheets 4&#8243; title_text=&#8221;TRANSPOSE google sheets 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_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<p>When entering the array, use semi-colons to separate each individual row value in the input range. For individual column values, use commas. As before, you need to ensure that there is enough empty space in your spreadsheet for the new, transposed table of data.<\/p>\n<h4>How to replace the old table<\/h4>\n<p>If you want to delete the original table of data and replace it with the transposed data<\/p>\n<ol>\n<li>Copy the new table (the data you have transposed).<\/li>\n<li>Go to <strong>Edit<\/strong> &gt; <strong>Paste Special &gt; Paste values only. <\/strong><\/li>\n<li>Paste directly over the original table.<\/li>\n<\/ol>\n<h4>Transpose and keep formatting<\/h4>\n<p>You might notice that your formatting is lost when you transpose the data in Google Sheets. In this case, use the copy-paste method:<\/p>\n<ol>\n<li>Select the cells you want to transpose.<\/li>\n<li>Copy the cells.<\/li>\n<li>Click inside the cell where you want the new table of inverted data to start.<\/li>\n<li>Go to Edit &gt; Paste special &gt; Paste transposed.<\/li>\n<\/ol>\n<h4>Work more efficiently in Google Sheets<\/h4>\n<p>That&#8217;s how to quickly switch your data from vertical to horizontal, or rows to columns. Looking for more time-saving tips and tricks in Google Sheets? Learn how to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/filter-google-sheets-without-affecting-other-users\/\" target=\"_blank\" rel=\"noopener noreferrer\">filter Google Sheets without affecting other users<\/a> or disover how to <a href=\"https:\/\/www.sheetgo.com\/blog\/how-to-solve-with-sheetgo\/how-to-connect-google-sheets-automatically\/\" target=\"_blank\" rel=\"noopener noreferrer\">connect Google Sheets automatically<\/a>.<\/p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.27.2&#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.27.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][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.2&#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;50458&#8243; theme_builder_area=&#8221;post_content&#8221;]<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=\"\" \/>\n\n<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\" \/>\n\n<span style=\"font-size: 22px; font-weight: 600;\">One tool to merge, split, and filter all your spreadsheet data<\/span>\n\n<a href=\"https:\/\/www.sheetgo.com\/connections\/\" target=\"_blank\" rel=\"noopener\">Find out how<\/a>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>In Google Sheets, if you ever need to flip the columns and rows of an array or a data range,\u00a0TRANSPOSE\u00a0Google Sheets function is the one to go with. It swaps\u00a0\u2014 or transposes \u2014 the rows and columns, changing the orientation of your spreadsheet data from horizontal to vertical or vice versa. This can be useful [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":4024,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"In Google Sheets, if we ever need to flip (or transpose) the columns and rows of an array or a data range, <a href=\"https:\/\/support.google.com\/docs\/answer\/3094262?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">TRANSPOSE<\/a> Google Sheets formula is the one to go with.\n<h3>Syntax<\/h3>\n<span style=\"font-family: courier new,courier,monospace; font-size: 14pt;\"><strong>TRANSPOSE(array_or_range)<\/strong><\/span>\n\n<span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>array_or_range<\/strong><\/span> - the array or the address reference to the range whose columns and rows we need to be swapped or transposed.\n<h3>Usage: TRANSPOSE Google Sheets formula<\/h3>\nThis is one of the simplest formulas we encounter while using the Google Sheets spreadsheet application. Let us explore its working with help of a few examples, and we will use the following sample data.\n\n<img class=\"aligncenter size-full wp-image-3864\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-27.png\" alt=\"TRANSPOSE Formula - Illustration 1\" width=\"350\" height=\"194\" \/>\n\nThe test data spans from cells A1 through to C7. So, we will key in the formula in the cell D1 as illustrated in the snapshot below, and try to understand its behavior.\n\n<img class=\"aligncenter size-full wp-image-3862\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-28.png\" alt=\"TRANSPOSE Formula - Illustration 2\" width=\"1057\" height=\"219\" \/>\n\nWe\u2019ll see the returned data flows from D1 towards right and further down.\u00a0The number of columns and rows returned by this formula is same as the rows and columns of the input <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>array_or_range<\/strong><\/span> respectively. So, it is very important that we keep the cells, where we expect the data to flow, clear of any values. Otherwise, the formula returns #REF! error. This is demonstrated in the screenshot below.\n\n<img class=\"aligncenter size-full wp-image-3865\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-29.png\" alt=\"TRANSPOSE Formula - Illustration 3\" width=\"756\" height=\"220\" \/>\n\nGoing back to the second image, we will notice that the rows in the source range changes to columns and vice versa.\n\nWe have witnessed the working of the TRANSPOSE formula when we keyed in the address reference as its input parameter. Let us now try to input an array instead, as illustrated in the image below.\n\n<img class=\"aligncenter size-full wp-image-3866\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-30.png\" alt=\"TRANSPOSE Formula - Illustration 4\" width=\"552\" height=\"119\" \/>\n\nThe semi-colons separate each individual row values in the input range. Whereas commas separate each individual column values. Such an input is now transposed as shown in the image above. Just like in the previous case, the expected real estate for this formula should be free from any other values. Otherwise, it returns an #REF! error.\n\n<small><a href=\"http:\/\/www.freepik.com\/free-photo\/triangle-shape-building-floating_883579.htm\">Image by Freepik<\/a><\/small>","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[55,39,28],"class_list":["post-3860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-ben-collins","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/3860","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=3860"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/3860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/4024"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=3860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=3860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=3860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}