{"id":22109,"date":"2019-11-27T12:21:45","date_gmt":"2019-11-27T11:21:45","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=22109"},"modified":"2025-12-17T23:38:37","modified_gmt":"2025-12-17T22:38:37","slug":"comment-creer-un-tableau-croise-dynamique-dans-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/fr\/blog\/google-sheets-features\/how-to-create-a-pivot-table-in-google-sheets\/","title":{"rendered":"Comment cr\u00e9er un tableau crois\u00e9 dynamique dans Google Sheets ?"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; 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 _builder_version=&#8221;4.24.1&#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.24.1&#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.27.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3>What are pivot tables?<\/h3>\n<p>Pivot tables are a powerful tool for extracting and analyzing the information you need from a large dataset. They\u2019re an easy way to \u201cslice and dice\u201d data in spreadsheets: in other words, to filter and then group data. For example, you might want to examine sales for a specific year (slice) and then break it down by product category (dice).<\/p>\n<p>The significant advantage of pivot tables is that they are dynamic, quicker, and more reliable than manually typing formulas.<\/p>\n<p>Pivot tables enable different users to customize the structure and design of tables, allowing them to view the specific data they need. Within the same organization, each stakeholder is interested in different aspects of operations. Even within departments, coworkers use slightly different KPIs or filters to achieve the same goal.<\/p>\n<p>If you\u2019ve used Excel, you\u2019re probably already familiar with Pivot tables, and Google Sheets has the same tool.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2><span style=\"font-weight: 400;\">How to make a pivot table in Google Sheets<\/span><\/h2>\n<h3><span style=\"font-weight: 400;\">Step 1: Select the data source<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open a new spreadsheet in Google Sheets and click <\/span><b>File<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Open<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select a file from Google Drive or upload a new file in any spreadsheet format.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">In this example, I\u2019m using publically available data from Airbnb listings in Paris. This dataset has listed rooms and apartments in Paris, including indicators such as neighborhood, room type and price.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Step 2: Select the data range of the pivot table<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select all of the cells containing data.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In this case, I will select all columns to be included in the pivot table (a shortcut is to use Ctrl+A). Now I will customize and edit the variables\/KPIs I want to include.<\/span><\/li>\n<\/ul>\n<p><b>Note<\/b><span style=\"font-weight: 400;\">: your columns must have a named header in the top row to use the data in the pivot table.<\/span><\/p>\n<h3><span style=\"font-weight: 400;\">Step 3: Insert the pivot table<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to Data in the menu bar and select <\/span><b>Pivot table.<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">For a better overview, we will add the table to a new sheet. Click <\/span><b>Create<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A new spreadsheet called \u201cPivot Table\u201d opens. On the right-hand side you see the pivot table editor.<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2019\/11\/Create-pivot-table.jpg&#8221; alt=&#8221;how to create a pivot table in google sheets &#8211; 2&#8243; title_text=&#8221;Create pivot table&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; custom_margin=&#8221;30px||30px||true|false&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Step 4: Pivot table editor<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Google is smart so it automatically provides suggestions for how to analyze your data set.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In this example, the second suggestion is what we want to see: Airbnb listings in Paris by room type.<\/span><\/li>\n<\/ul>\n<h3><span style=\"font-weight: 400;\">Step 5: Customize the pivot table<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">I want my pivot table to show the average prices for each neighborhood in Paris. This is where Pivot tables are really useful as they allow you to analyze information quickly without having to.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the pivot table editor, under <\/span><b>Rows<\/b><span style=\"font-weight: 400;\">, click <\/span><b>Add<\/b><span style=\"font-weight: 400;\"> and choose \u201cneighborhood\u201d from the listings spreadsheet.<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Under <\/span><b>Values<\/b><span style=\"font-weight: 400;\">, click <\/span><b>Add<\/b><span style=\"font-weight: 400;\">, then select <\/span><b>price<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Summarize by<\/b><span style=\"font-weight: 400;\"> dropdown and select <\/span><b>Average.<\/b><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select Column B (price) and change the format to<\/span><b> currency<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2019\/11\/Pivot-table-airbnb-avg-price.jpg&#8221; alt=&#8221;how to create a pivot table in google sheets &#8211; 1&#8243; title_text=&#8221;Pivot table airbnb avg price&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; custom_margin=&#8221;30px||30px||true|false&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">Lets extract more data. Suppose I want to know how many days of the year these rooms are available.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Values<\/b><span style=\"font-weight: 400;\">, click <\/span><b>Add <\/b><span style=\"font-weight: 400;\">and select <\/span><b>availability_365<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Summarize by AVERAGE.<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2019\/11\/Availability-Airbnb-Paris-pivot-table.jpg&#8221; alt=&#8221;how to create a pivot table in google sheets &#8211; 3&#8243; title_text=&#8221;Availability Airbnb Paris pivot table&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; custom_margin=&#8221;30px||30px||true|false&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">That\u2019s it: these are the basic steps for creating a pivot table in Google Sheets.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this example, I\u2019ve created a pivot table that shows the average price for a room in each neighborhood of Paris and the number of days per year these rooms are available.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">From a huge data set containing more than 60,000 Airbnb listings, I can easily reach various insights:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Average price of accommodation in Paris is \u20ac118.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Average availability per accommodation is 80 days per year.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">There is a price deviation in the \u00c9lys\u00e9e neighborhood where a room costs \u20ac247 on average.<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.24.1&#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.24.1&#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.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2><span style=\"font-weight: 400;\">How to edit a pivot table in Google Sheets<\/span><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Add a filter to the pivot table<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You have already filtered your data by creating a pivot table, but you might want to break that information down into further categories. You can do that by adding an extra filter in the pivot table editor.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Go to Filter. Again, Google Sheets provides automatic suggestions based on your data.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you want to add a different filter, click Add. Next to Showing all items, click the \u23f7dropdown menu.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Filter by condition (e.g. text contains). You can then enter a value, a cell reference or a field.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Filter by value.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Note: if you apply a filter and then update your source data, you need to update your pivot table filter.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Looking at the Airbnb data, let\u2019s say I want to analyze my data by room type. First I add a column for room type. But I only want to see results for: hotel room, private room and shared room. <\/span><span style=\"font-weight: 400;\">Under Filter I select those rooms.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2019\/11\/Pivot-table-Airbnb-filtered-by-room-type.jpg&#8221; alt=&#8221;Pivot table Airbnb room types&#8221; title_text=&#8221;Pivot table Airbnb filtered by room type&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; custom_margin=&#8221;30px||30px||true|false&#8221; border_radii=&#8221;on|12px|12px|12px|12px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text module_id=&#8221;customize&#8221; _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<h3><span style=\"font-weight: 400;\">How to customize rows and columns<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">If Google\u2019s automatic suggestions don\u2019t match what data you need, you can adjust the Rows, Columns, Values, and Filter manually.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Deselect Google\u2019s default suggestions by clicking <\/span><b>X<\/b><span style=\"font-weight: 400;\">, then <\/span><b>Add<\/b><span style=\"font-weight: 400;\">, and selecting which row or column you want to pull data from.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can change the header names by clicking directly on a row or column.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span style=\"font-weight: 400;\">Add a custom formula<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">In the pivot table editor on the right-hand side, go to <\/span><b>Values <\/b><span style=\"font-weight: 400;\">&gt; <\/span><b>Add <\/b><span style=\"font-weight: 400;\">&gt; <\/span><b>Calculated field<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter your formula, then go to <\/span><b>Summarize by<\/b><span style=\"font-weight: 400;\">, and click <\/span><b>Custom<\/b><span style=\"font-weight: 400;\">. A new column appears called \u201cCalculated field 1.\u201d<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For help with writing formulas in Google Sheets, see Google\u2019s <\/span><a href=\"https:\/\/support.google.com\/docs\/table\/25273\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">full function list here<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2><span style=\"font-weight: 400;\">That\u2019s how to do a pivot table in Google Sheets<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">You\u2019ve now got an overview of how to create a pivot table in Google Sheets. Pivot tables have many uses and they can get quite complicated, hopefully this post helped you get started.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Looking for other quick ways to filter data in your spreadsheets? Check out our post on <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/spreadsheets-tips\/data-filters-and-sorting-in-google-sheets\/\"><span style=\"font-weight: 400;\">sorting and filtering data in Google Sheets<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What are pivot tables? Pivot tables are a powerful tool for extracting and analyzing the information you need from a large dataset. They\u2019re an easy way to \u201cslice and dice\u201d data in spreadsheets: in other words, to filter and then group data. For example, you might want to examine sales for a specific year (slice) [&hellip;]<\/p>\n","protected":false},"author":39,"featured_media":22290,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"<!-- wp:divi\/placeholder \/-->","_et_gb_content_width":"","footnotes":""},"categories":[37],"tags":[39,28],"class_list":["post-22109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-features","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/22109","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\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/comments?post=22109"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/posts\/22109\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media\/22290"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/media?parent=22109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/categories?post=22109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/fr\/wp-json\/wp\/v2\/tags?post=22109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}