{"id":49575,"date":"2024-05-24T21:03:51","date_gmt":"2024-05-24T19:03:51","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=49575"},"modified":"2026-05-04T22:42:36","modified_gmt":"2026-05-04T20:42:36","slug":"filtro-importrange","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/filter-importrange\/","title":{"rendered":"Como filtrar IMPORTRANGE"},"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.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;\">There are many reasons to filter IMPORTRANGE results. You may want to share only some data and not an entire spreadsheet. You may need to transfer information to carry out an analysis. Whatever the case, this post will teach just how to combine these two functions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Read on to learn how to use Google Sheets FILTER on data from another sheet.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;importrange&#8221; _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;\">Understanding IMPORTRANGE<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The IMPORTRANGE function in Google Sheets allows you to import a range of cells from one spreadsheet into another.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is particularly useful for sharing specific data across different sheets or with different users without giving access to the entire document.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This function is pretty straightforward. All you need is the URL of the source spreadsheet and the range within it that you want to import. Keep in mind that both of these things have to be expressed in quotation marks.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _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;\">=IMPORTRANGE(spreadsheet_url, range_string)<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span style=\"font-weight: 400;\">If you want to know the ins and outs of this function, <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/importrange\/\"><span style=\"font-weight: 400;\">check out our detailed guide on IMPORTRANGE<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;filter&#8221; _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;\">Basics of the FILTER Function<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The FILTER function in Google Sheets allows you to return cells within a certain range that match a certain condition. This function is great for data analysis, as it lets you work with specific subsets of data.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can use FILTER to display only the rows where a certain column meets a specific criterion. For example, you could use it to show only sales data for a particular region.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To use the FILTER you have to determine the data range to be filtered and one or more conditions to evaluate.\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _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;\">=FILTER(range, condition1, [condition2, &#8230;])<\/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<p><span style=\"font-weight: 400;\">To learn more about this function, <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/filter-formula-google-sheets\/\"><span style=\"font-weight: 400;\">check out our in-depth post on how to use FILTER<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;combining&#8221; _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;\">Combining IMPORTRANGE with FILTER<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">There are three basic ways to work with these two functions and filter importrange results with multiple criteria. Let\u2019s go over each one and talk about their pros and cons.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As clearly stated in Google Sheets documentation, it\u2019s better to filter data on the source spreadsheet before importing it. We will start out with that approach and will work our way towards alternatives.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;method1&#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;]<\/p>\n<h3><span style=\"font-weight: 400;\">Filter first, import later<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">This is the best way to go about using these functions in tandem. First filter in the source spreadsheet, then import the data to the destination spreadsheet.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Think about this like having to return books to the library. It is a lot more efficient to select the books you have to return and then go to the library. Naturally, you wouldn\u2019t take all the books you find in your house to return only some of them.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Likewise, filtering and then importing greatly reduces the processing load and will help your spreadsheets run smoothly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, there are cases where this isn\u2019t an option. For example, if you only have view access to the data source. And this is where the next options will work best.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;method2&#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;]<\/p>\n<h3><span style=\"font-weight: 400;\">Import and filter at the same time<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">You could use IMPORTRANGE and FILTER within a single formula to transfer only the information you need. The basic formula would look like this:<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _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;\">=FILTER(IMPORTRANGE(spreadsheet_url, range_string), condition1)<\/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<p><span style=\"font-weight: 400;\">When doing this, within FILTER you have to use IMPORTRANGE both for the range and for the conditions. This would be a sample formula which imports sales data and filters it to bring only items which cost more than $20.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_class=&#8221;spreadsheet-function&#8221; _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;\">=FILTER(IMPORTRANGE(<\/span><span style=\"font-weight: 400;\">&#8220;10-nOeSObSzpWmXhsBnCRHr3yQOr4-z9R2SMb6jD1vWE&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;sales_data!A:F&#8221;<\/span><span style=\"font-weight: 400;\">), IMPORTRANGE(<\/span><span style=\"font-weight: 400;\">&#8220;10-nOeSObSzpWmXhsBnCRHr3yQOr4-z9R2SMb6jD1vWE&#8221;<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">&#8220;sales_data!A:A&#8221;<\/span><span style=\"font-weight: 400;\">) &gt; <\/span><span style=\"font-weight: 400;\">20<\/span><span style=\"font-weight: 400;\">)<\/span><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<p><span style=\"font-weight: 400;\">Since you have to use IMPORTRANGE for every condition, this approach can slow down the time it takes to get results.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Another issue with this approach is that you will filter out the header in the process. To solve that you could import that one line above the filtered results. Alternatively, if the source spreadsheet isn\u2019t likely to change you could just copy-paste it.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;method3&#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;]<\/p>\n<h3><span style=\"font-weight: 400;\">Import first, filter later<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">The previous approach results in complicated formulas that are hard to keep track of. This can be easily solved by importing data to one sheet within your file and then filtering it on another one.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;common&#8221; _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;\">Common use cases<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Using IMPORTRANGE and FILTER together can optimize various Google Sheets tasks. Here are some common use cases:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Departmental Reports:<\/b><span style=\"font-weight: 400;\"> Import and display only the necessary information for each department.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Sales Data Analysis:<\/b><span style=\"font-weight: 400;\"> Import sales data from different sheets into a central dashboard, then use FILTER to analyze data based on specific criteria.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Project Management: <\/b><span style=\"font-weight: 400;\">Import task data from various team spreadsheets and filter it to show only pending tasks.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">These are just some of the scenarios where this combination of functions can be really helpful.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;sheetgo&#8221; _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;\">Sheetgo as an alternative solution<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Using the IMPORTRANGE and FILTER functions in Google Sheets can be useful but often results in slow and cumbersome spreadsheets, especially with large datasets.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Sheetgo offers a streamlined alternative that allows you to transfer and filter data efficiently, without the hassle of managing complex formulas.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Benefits of Using Sheetgo:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Efficiency<\/b><span style=\"font-weight: 400;\">: Import and filter data simultaneously without performance issues.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Flexibility<\/b><span style=\"font-weight: 400;\">: Automate data transfers as often as needed, ensuring up-to-date information.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Ease of Use<\/b><span style=\"font-weight: 400;\">: User-friendly interface with no need for complex formulas.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">For a detailed step-by-step guide on how to import and filter data using Sheetgo, please refer to <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/how-to-solve-with-sheetgo\/automatically-import-filtered-data-google-sheets\/\"><span style=\"font-weight: 400;\">our comprehensive tutorial<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;conclusion&#8221; _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;\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">IMPORTRANGE and FILTER functions can work well together for certain tasks. But they often lead to performance issues and unnecessary complexity.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Sheetgo offers an efficient and user-friendly alternative, enabling you to import and filter data seamlessly, without the hassle of managing intricate formulas or experiencing slow spreadsheet performance.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For more advanced techniques on managing data in Google Sheets, check out our post on<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/combine-query-with-importrange-in-google-sheets\/\"><span style=\"font-weight: 400;\"> how to combine QUERY with IMPORTRANGE in Google Sheets<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For an approach that doesn&#8217;t depend on IMPORTRANGE at all \u2014 useful when filtering breaks under volume \u2014 see the <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/how-to-solve-with-sheetgo\/importrange-alternative\/\"><span style=\"font-weight: 400;\">scalable IMPORTRANGE alternative<\/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>There are many reasons to filter IMPORTRANGE results. You may want to share only some data and not an entire spreadsheet. You may need to transfer information to carry out an analysis. Whatever the case, this post will teach just how to combine these two functions. Read on to learn how to use Google Sheets [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":44470,"comment_status":"closed","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":[54],"tags":[39,28],"class_list":["post-49575","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\/pt\/wp-json\/wp\/v2\/posts\/49575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=49575"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/49575\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/44470"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=49575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=49575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=49575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}