{"id":3869,"date":"2020-12-17T16:42:27","date_gmt":"2020-12-17T15:42:27","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=3869"},"modified":"2026-10-15T15:48:58","modified_gmt":"2026-10-15T13:48:58","slug":"formula-de-filtro-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/es\/blog\/google-sheets-formulas\/filter-formula-google-sheets\/","title":{"rendered":"C\u00f3mo utilizar la funci\u00f3n FILTRO en Google Sheets"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#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.24.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\/3093197?hl=en\" target=\"_blank\" rel=\"noopener\">FILTER<\/a> function in Google Sheets helps you filter and return rows in a range that meet specified criteria. You can also add multiple criteria across columns. The FILTER function generates a new set of data while keeping the original data intact.<\/p>\n<p>Looking for the filter button or filter views rather than a formula? See how to <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-features\/filter-google-sheets-without-affecting-other-users\/\">filter Google Sheets without affecting other users<\/a>.<\/p>\n<p>If you do not find the information you are looking for in this post, you can check out <a href=\"https:\/\/www.sheetgo.com\/blog\/excel-features\/100-functions-formulas-for-google-sheets-excel-basics\/\">100+ Functions &amp; Formulas for Google Sheets &amp; Excel Basics<\/a>.<\/p>\n<p>Working in Excel instead? The <a href=\"https:\/\/www.sheetgo.com\/blog\/excel-functions\/excel-filter-function\/\">Excel FILTER function<\/a> follows the same logic and adds an optional argument for what to show when nothing matches.<\/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><strong>What is the syntax of the filter function?<\/strong><\/h2>\n<p><strong><span style=\"font-weight: 400;\">This is the basic structure of the filter function:<\/span><\/strong><\/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;]=FILTER(range, condition1, [condition2, \u2026])[\/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<ul>\n<li><b>range<\/b> \u2013 a reference to the range of cells that the function filters.<\/li>\n<li><b>condition1<\/b> \u2013 an array, row or column equal in length or width as that of the corresponding first row or column of <b>range<\/b> respectively. It contains evaluated TRUE or FALSE values.<\/li>\n<li><b>condition2 \u2026<\/b> \u2013 optional and additional arrays, rows or columns containing evaluated TRUE or FALSE values to specify if the corresponding row or column within the <b>range<\/b> needs consideration for the filtering process.<\/li>\n<\/ul>\n<p>Please note that you can\u2019t use both row and column conditions in the same function. All conditions should be either columns or rows, and the FILTER function doesn\u2019t let you mix them.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;how-to-use-the-FILTER-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<h3>How to use the FILTER function<\/h3>\n<p>Below is the sample data on which I will try various combinations of the FILTER function to demonstrate its behaviour.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-1-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 sample food data with Category, Food, Energy (Kcal), and Fat (g) in A1:D10&#8243; title_text=&#8221;Sample food data with Category, Food, Energy (Kcal), and Fat (g) in A1:D10&#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 module_id=&#8221;case-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;]<\/p>\n<h3>Case 1: FILTER with one condition<\/h3>\n<p>In this first Google Sheets FILTER example, I will use just one condition and see how it works. This is the formula I will use:<\/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><b>=FILTER(A2:D10,A2:A10=\u201dVegetables\u201d)<\/b><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#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>The condition to filter on the first column is \u201cVegetables\u201d. So the FILTER function fetches all those rows where the first column has the value \u201cVegetables\u201d.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;case-1&#8243; _builder_version=&#8221;4.20.2&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-2-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 the four Vegetables rows returned from F1 by a one-condition filter&#8221; title_text=&#8221;The four Vegetables rows returned from F1 by a one-condition filter&#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.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>I placed the function in cell F1, and accordingly the returned data flows from F1 towards the right and further down. The number of columns the function matches that of the input range. However, the number of rows might vary based on the filter conditions.<\/p>\n<p>So, it is very important to keep cells free of data where you expect the data to flow. Otherwise, the function returns a #REF! Error as demonstrated in the screenshot below.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-3-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 #REF! error in F1 because a dummy value in F4 blocks the results&#8221; title_text=&#8221;#REF! error in F1 because a dummy value in F4 blocks the results&#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 module_id=&#8221;case-2&#8243; _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Case 2: Filter with two conditions<\/h3>\n<p>Let\u2019s add one more filter condition and see what happens.<\/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>\u00a0<b>=FILTER(A2:D10,A2:A10=\u201dVegetables\u201d,C2:C10&gt;20)<\/b><\/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>I essentially asked Google Sheets to show those rows that belong to the \u201cVegetables\u201d category and whose energy is greater than 20 Kcal, and the FILTER function obliged!<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-4-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 Broccoli, Cabbage, and Cauliflower, vegetables above 20 Kcal&#8221; title_text=&#8221;Broccoli, Cabbage, and Cauliflower, vegetables above 20 Kcal&#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 module_id=&#8221;case-3&#8243; _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Case 3: Google Sheets FILTER, multiple conditions<\/h3>\n<p>I will add one more condition and see the outcome.<\/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><b>=FILTER(A2:D10,A2:A10=\u201dVegetables\u201d,C2:C10&gt;20,D2:D10&lt;0.3<\/b>)<\/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>And it works like a charm!<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-5-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 Cabbage and Cauliflower meet all three conditions&#8221; title_text=&#8221;Cabbage and Cauliflower meet all three conditions&#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 module_id=&#8221;case-4&#8243; _builder_version=&#8221;4.24.1&#8243; custom_padding=&#8221;11px|||||&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Case 4: Filter with &#8220;or&#8221; condition<\/h3>\n<p>So far all the examples have been using \u201cand\u201d conditions \u2013 that is, the data has to meet all the conditions specified in order for it to pass the filter.<\/p>\n<p>However, there is another option \u2013 you can use \u201cor\u201d conditions that will work for data that meets any one of multiple conditions. The example below demonstrates this.<\/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><b>=FILTER(A2:D10,(A2:A10=\u201dVegetables\u201d)+(D2:D10&lt;0.3))<\/b><\/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>As you can see, the filter here is finding any item that is a vegetable OR has less than 0.3g of fat. Because only one condition needs to be met, Apple and Broccoli are both included even though an apple is not a vegetable, and broccoli has more than 0.3g of fat.\u00a0<\/p>\n<p>In order to use an OR condition, all you need to do is put the conditions in brackets and add them together with a plus sign, instead of separating them by a comma.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-6-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 OR condition returns Apple along with the vegetables&#8221; title_text=&#8221;OR condition returns Apple along with the vegetables&#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 module_id=&#8221;case-5&#8243; _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>Case 5: Largest values<\/h3>\n<p>Another helpful way of using the FILTER function is to find the top few items in any category.<\/p>\n<p>In the example below, I\u2019ve filtered the data to find the three foods with the largest amount of calories.<\/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><b>=FILTER(A2:D10,(C2:C10&gt;=LARGE(C2:C10,3)))<\/b><\/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>This is achieved by using the FILTER function in combination with the LARGE function, which identifies the largest numbers in a dataset.<\/p>\n<p>I\u2019ve used the LARGE function to identify the three largest calorie numbers, and then filtered the data according to these. You can use this method to filter for any number of the largest or smallest values.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-7-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 Almonds, Avocado, and Walnuts, the three highest-calorie foods&#8221; title_text=&#8221;Almonds, Avocado, and Walnuts, the three highest-calorie foods&#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 module_id=&#8221;case-6&#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>Case 6: Sorting filtered results<\/h3>\n<p>In the previous example, I found the top 3 foods with the most calories. But as you could see, the results weren\u2019t shown in order from most calorie-dense to least.<\/p>\n<p>To sort the results of the FILTER function, you can combine it with the SORT function.<\/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><b>=SORT(FILTER(A2:D10,(C2:C10&gt;=LARGE(C2:C10,3))),3,FALSE)<\/b><\/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>All I\u2019ve done here is added the SORT function in front of the FILTER function, then told the SORT function to sort based on column 3 in descending order (by indicating False).<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-8-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 SORT lists the top three by energy, Walnuts first&#8221; title_text=&#8221;SORT lists the top three by energy, Walnuts first&#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 module_id=&#8221;case-7&#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>Case 7: What if there is no match?<\/h3>\n<p>Of course, not getting any matches generates an error. This is what it looks like.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-9-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 #N\/A error: No matches are found in FILTER evaluation&#8221; title_text=&#8221;#N\/A error: No matches are found in FILTER evaluation&#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 module_id=&#8221;case-8&#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>Case 8: Breaking the rules<\/h3>\n<p>You already know you can\u2019t input row and column type conditions within a single FILTER function. I\u2019ll try that anyway and see what Google Sheets has to say.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2020\/12\/Filter-image-10-1.png&#8221; alt=&#8221;Google Sheets FILTER function \u2014 mismatched range sizes error from mixing a row and a column condition&#8221; title_text=&#8221;Mismatched range sizes error from mixing a row and a column condition&#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 module_id=&#8221;how-to-filter-on-multiple-conditions-in&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>How to filter on multiple conditions in Google Sheets<\/h2>\n<p>Cases 2 to 4 above show the two ways to combine conditions in the Sheets FILTER function. Separate the conditions with commas when a row has to meet all of them (AND logic). Put each condition in parentheses and add them together with a plus sign when meeting any one of them is enough (OR logic).<\/p>\n<p>The examples below use a sales table in A2:H1001, with the amount in column F, the sales agent in column G, and the date of the sale in column H.<\/p>\n<h3>Filter by a date range<\/h3>\n<p><strong>1.<\/strong> In an empty cell, type the FILTER function and select the range.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-date-range-select-range.webp&#8221; alt=&#8221;Google Sheets filter by date range \u2014 FILTER(A2:H1001, typed in J1 with the syntax tooltip&#8221; title_text=&#8221;FILTER(A2:H1001, typed in J1 with the syntax tooltip&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Add the condition \u2013 column H must be between June 1st and June 30th of 2022 \u2013 and close the parenthesis. Type the ISBETWEEN function and use the date column as the first parameter.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-date-range-isbetween.webp&#8221; alt=&#8221;Google Sheets filter by date range \u2014 ISBETWEEN on H2:H1001 added with its argument tooltip&#8221; title_text=&#8221;ISBETWEEN on H2:H1001 added with its argument tooltip&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> For the second argument, use the DATE function to provide the start date: 2022, 6, 1. For the third argument, do the same with the end date: 2022, 6, 30.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-date-range-date-function.webp&#8221; alt=&#8221;Google Sheets filter by date range \u2014 full formula with DATE(2022,6,1) and DATE(2022,6,30)&#8221; title_text=&#8221;Full formula with DATE(2022,6,1) and DATE(2022,6,30)&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Skip the third and fourth parameters to ensure the filter includes the start and end dates. Close the parentheses and press &#8216;Enter&#8217; to see the results.<\/p>\n<p>The finished formula is =FILTER(A2:H1001,ISBETWEEN(H2:H1001,DATE(2022,6,1),DATE(2022,6,30))), and it returns every sale dated in June 2022. For more ways to build dates inside a formula, see how to use the <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/date-formula-google-sheets\/\">DATE function in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-date-range-result.webp&#8221; alt=&#8221;Google Sheets filter by date range \u2014 returned rows dated 6\/1\/2022 onward highlighted in column Q&#8221; title_text=&#8221;Returned rows dated 6\/1\/2022 onward highlighted in column Q&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>AND logic: match every condition<\/h3>\n<p><strong>1.<\/strong> Type the FILTER function and select the range.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-multiple-conditions-range.webp&#8221; alt=&#8221;Google Sheets filter multiple conditions \u2014 FILTER(A2:H1001, typed in J1 with the syntax tooltip&#8221; title_text=&#8221;FILTER(A2:H1001, typed in J1 with the syntax tooltip&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>2.<\/strong> Add the first condition: values in column G must equal &#8220;Agent1&#8221;.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-multiple-conditions-first.webp&#8221; alt=&#8221;Google Sheets filter multiple conditions \u2014 first condition G2:G1001 equals Agent1 added&#8221; title_text=&#8221;First condition G2:G1001 equals Agent1 added&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>3.<\/strong> Add the second condition: values in column H must be on or after March 15, 2022. Use the DATE function for the date, as in DATE(2022,3,15). If you type 3\/15\/2022 straight into the formula, Sheets reads it as 3 divided by 15 divided by 2022, so every date passes the condition.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-multiple-conditions-second.webp&#8221; alt=&#8221;Google Sheets filter multiple conditions \u2014 second condition on the date column H2:H1001 added&#8221; title_text=&#8221;Second condition on the date column H2:H1001 added&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><strong>4.<\/strong> Close the parenthesis and press &#8216;Enter&#8217; to see the results. The finished formula is =FILTER(A2:H1001,G2:G1001=&quot;Agent1&quot;,H2:H1001&gt;=DATE(2022,3,15)), and it returns only Agent1&#8217;s sales from March 15, 2022 onward.<\/p>\n<p>You can write the same AND filter with an asterisk instead of a comma: =FILTER(A2:H1001,(G2:G1001=&quot;Agent1&quot;)*(H2:H1001&gt;=DATE(2022,3,15))). Each condition returns TRUE or FALSE, and multiplying them keeps only the rows where both are TRUE.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2026\/10\/google-sheets-filter-multiple-conditions-result.webp&#8221; alt=&#8221;Google Sheets filter multiple conditions \u2014 Agent1 rows dated 3\/16\/2022 and later highlighted&#8221; title_text=&#8221;Agent1 rows dated 3\/16\/2022 and later highlighted&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.22.2&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>OR logic: match any condition<\/h3>\n<p>To keep rows that meet at least one condition, put each condition in parentheses and add them together with a plus sign, as in Case 4. This formula returns every sale made by Agent1 or Agent3:<\/p>\n<p><b>=FILTER(A2:H1001,(G2:G1001=&#8221;Agent1&#8243;)+(G2:G1001=&#8221;Agent3&#8243;))<\/b><\/p>\n<p>Each condition returns 1 for TRUE and 0 for FALSE, so a row passes when the sum is 1 or more. You can mix both kinds of logic in one formula. This one returns sales of $1,000 or more made by either agent:<\/p>\n<p><b>=FILTER(A2:H1001,((G2:G1001=&#8221;Agent1&#8243;)+(G2:G1001=&#8221;Agent3&#8243;))*(F2:F1001&gt;=1000))<\/b><\/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>Google Sheets FILTER not working?<\/h2>\n<p>Let\u2019s go over a short checklist to help you troubleshoot common issues with the filter function:<\/p>\n<ol>\n<li><b>Check the syntax<\/b> of your filter function. Ensure that you&#8217;ve correctly specified the range of data you want to filter and that the conditions or criteria are accurately defined.<\/li>\n<li><b>Verify that your data range is correct <\/b>and points to the intended rows and columns.<\/li>\n<li><b>Ensure there are no hidden rows or columns<\/b> within your data range, this can affect the outcome of the filter function.<\/li>\n<li><b>Examine the filtering criteria<\/b> you&#8217;ve set for filtering your data.<\/li>\n<\/ol>\n<p>If this doesn\u2019t work, AI might be the answer. For a great prompt to troubleshoot spreadsheet functions check out <a href=\"https:\/\/www.sheetgo.com\/blog\/spreadsheets-tips\/awesome-chatgpt-prompts-for-spreadsheet-users\/\">15 awesome Chat GPT prompts for spreadsheet users<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.24.1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>You are officially a FILTER builder!<\/h2>\n<p>That\u2019s how to get started with the Google Sheets FILTER function. Looking for more spreadsheet tutorials and tips? Check out our other posts below!<\/p>\n<p>The UNIQUE\u00a0function in Google Sheets can be of great help to you as well. Check it out in our blog post: <a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/unique-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to use the UNIQUE function in Google Sheets.<\/a><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The FILTER function in Google Sheets helps you filter and return rows in a range that meet specified criteria. You can also add multiple criteria across columns. The FILTER function generates a new set of data while keeping the original data intact. Looking for the filter button or filter views rather than a formula? See [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":42182,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"The <a href=\"https:\/\/support.google.com\/docs\/answer\/3093197?hl=en\" target=\"_blank\" rel=\"noopener\">FILTER<\/a> formula in Google Sheets helps us filter and return the rows in a range that meet specified criteria. And, we can add multiple criteria across columns. Accordingly, we will be able to generate a new set of data while the original data remains intact.\n<h3>Syntax<\/h3>\n<span style=\"font-family: courier new,courier,monospace; font-size: 14pt;\"><strong>FILTER(range, condition1, [condition2, ...])<\/strong><\/span>\n<ul>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>range<\/strong><\/span> - is the address reference to the range of cells that the formula filters.<\/li>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>condition1<\/strong><\/span> - is an array, row or column equal in length or width as that of the corresponding first row or column of <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>range<\/strong><\/span> respectively. It contains evaluated TRUE or FALSE values.<\/li>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>condition2<\/strong><strong> ...<\/strong><\/span> - these are optional and additional arrays, rows or columns containing evaluated TRUE or FALSE values to specify if the corresponding row or column within the <span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>range<\/strong><\/span> needs consideration for the filtering process.<\/li>\n<\/ul>\nPlease note that we cannot use both row and column conditions in the same formula. Either all the conditions should be of column type or row type, and the FILTER formula doesn't allow mixing them.\n<h3>Usage: FILTER Formula<\/h3>\nHere is the sample data on which we will try various combinations of the FILTER formula, and understand its behavior.\n<h5><img class=\"aligncenter size-full wp-image-3878\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-42.png\" alt=\"FILTER Formula - Illustration 1\" width=\"451\" height=\"266\" \/><\/h5>\n<h5>Case 1: FILTER(range, condition1)<\/h5>\nIn this example, we will use just one condition and see how it works.\n\n<img class=\"aligncenter size-full wp-image-3879\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-43.png\" alt=\"FILTER Formula - Illustration 2\" width=\"855\" height=\"290\" \/>\n\nIn the above example, our condition to filter on the first column is \"Vegetables\". So the FILTER formula fetches all those rows where the first column has the value \"Vegetables\".\n\nPlease note that we have keyed in the formula in the cell E1, and accordingly the returned data flows from E1 towards the right and further down. The number of columns the formula returned is same as that of the input range. However, the number of rows might vary based on the filter conditions. 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-3880\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-44.png\" alt=\"FILTER Formula - Illustration 3\" width=\"856\" height=\"291\" \/>\n<h5>Case 2: FILTER(range, condition1, condition2)<\/h5>\nLet us add one more filter condition and see what happens.\n\n<img class=\"aligncenter size-full wp-image-3881\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-45.png\" alt=\"FILTER Formula - Illustration 4\" width=\"856\" height=\"291\" \/>\n\nWe essentially asked Google Sheets to show those rows that belong to Vegetables food category and whose energy is greater than 20 Kcal, and the FILTER formula obliged!\n<h5>Case 3: FILTER(range, condition1, condition2, condition3)<\/h5>\nWe will add one more condition and see the outcome.\n\n<img class=\"aligncenter size-full wp-image-3882\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-46.png\" alt=\"FILTER Formula - Illustration 5\" width=\"856\" height=\"290\" \/>\n\nAnd it works like a charm!\n<h5>Case 4: When there is no match!<\/h5>\nWhat would happen if it doesn't find any rows that match the filter conditions? Of course, it throws up an error!\n\n<img class=\"aligncenter size-full wp-image-3883\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-47.png\" alt=\"FILTER Formula - Illustration 6\" width=\"855\" height=\"290\" \/>\n<h5>Case 5: When we mix things up!<\/h5>\nWe already know we can't input row and column type conditions within a single FILTER formula. Let us try that anyway and see what Google Sheets has to say.\n\n<img class=\"aligncenter size-full wp-image-3884\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/10\/frame-generic-48.png\" alt=\"FILTER Formula - Illustration 7\" width=\"855\" height=\"290\" \/>\n\n&nbsp;","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-3869","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/3869","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\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/comments?post=3869"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/posts\/3869\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media\/42182"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/media?parent=3869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/categories?post=3869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/es\/wp-json\/wp\/v2\/tags?post=3869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}