跳到主要内容

根据单元格值使用Excel中的多个条件快速过滤数据

Kutools for Excel

提升 Excel 300+
强大的功能

使用Excel中的“筛选”功能,可以轻松地按一个条件筛选数据。 而且,当您要基于两个或多个多个条件过滤日期时,可以使用“高级过滤器”,但是这种方法不易使用。 用 Kutools for Excel超级筛选 实用程序,只需单击几下即可基于具有多个条件的单元格值过滤数据。

基于单元格值和一个条件的文件数据

根据具有多个条件的单元格值过滤数据

根据年/月/日/周/季度过滤数据

根据文字长度/字符数过滤数据

过滤单元格文本,区分大小写(仅大写/小写或包含大写/小写)

过滤所有错误或一个特定错误的单元格值

将过滤器条件另存为方案,以备下次使用


点击 Kutools 加 >> 超级筛选。 查看屏幕截图:

  -2 射出超级过滤器数据1

基于单元格值和一个条件的文件数据

假设您有一个工作表,如下面的屏幕快照所示,则可以使用 超级筛选 实用程序如下:

射击2

在此演示中,我们将根据 产品= KTE.

1。 应用实用程序(点击 Kutools 加 > 超级筛选).

2。 应用设置中的 超级筛选 如屏幕截图所示。

射击3 1。 检查 射击超级过滤器2修复选择,然后单击 射击按钮1 按钮选择要过滤的范围。
2。 在一般 关系 下拉列表选择 OR or AND 您需要的关系。
3。 通过单击选择组关系 小组关系 下拉列表。
4。 单击关系旁边的水平线 AND,它将出现一些条件框,单击条件框
然后根据需要选择一个接一个的条件。
5。 然后输入您要使用的条件,在这种情况下, 韩国电信。 然后点击 Ok 按钮添加条件

3。 然后点击 筛选器 按钮。 您将在工作表中看到过滤器结果,如下所示:

射出超级过滤器数据2


根据具有多个条件的单元格值过滤数据

如果要根据以下条件过滤数据:

  • (1。) 产品= KTE国家=美国
  • (2。) 产品= KTO没有。 ≥10

在这两个标准之间的关系是 or.

您可以按照以下步骤快速过滤所需的数据:

1。 通过单击应用此实用程序 Kutools 加 > 超级筛选.

2。 应用设置中的 超级筛选 对话框,如屏幕截图所示:

  • (1.)两个条件之间的关系为或,因此您需要选择 OR 从一般 关系 下拉列表。
  • (2.)根据需要创建条件,然后单击 添加过滤器 or 新增按钮 添加新的条件组。
  • (3)然后点击 筛选器 过滤数据

射出超级过滤器数据3


根据年/月/日/周/季度过滤数据

在Excel中,如果您要根据日期的年,月,日,周或季度来过滤行,则 超级筛选 也可以帮助您处理此任务。 在此示例中,我要过滤第3季度中的数据,您可以执行以下操作:

1。 通过单击应用此实用程序 Kutools 加 > 超级筛选.

2。 然后在出现 超级筛选 对话框中,设置以下选项:

  • (1.)检查 射击超级过滤器2修复选择,然后单击 射击按钮1 按钮以选择要过滤特定行的选择。
  • (2.)一般 关系 下拉列表选择 OR or AND 您需要的关系。
  • (3.)通过单击选择组关系 小组关系 下拉列表。
  • (4.)单击关系旁边的水平线 AND,它将显示一些条件框,单击条件框并根据需要一个接一个地指定条件。
  • 完成设置后,单击 筛选器 按钮,并且已滤除第3季度的日期的行。

射出超级过滤器数据8

备注:您可以根据需要按月,年,日,周过滤数据。


根据文字长度/字符数过滤数据

例如,如果要按列之一的文本长度过滤行,则过滤文本长度大于15个字符的所有行。 你该怎么办? 的 超级筛选 实用程序可以快速轻松地解决此任务。

1。 通过单击应用此实用程序 Kutools 加 > 超级筛选.

2。 在 超级筛选 对话框中,设置以下选项:

  • (1.)点击 射击按钮1 按钮选择要过滤特定行的数据范围。
  • (2.)在“常规关系”下拉列表中选择 OR or AND 您需要的关系。
  • (3.)通过单击选择组关系 关系 在组下拉列表中。
  • (4.)单击关系旁边的水平线 AND,它将显示一些条件框,单击条件框并根据需要一个接一个地指定条件。
  • 然后点击 筛选器 按钮,文本长度大于15个字符的行已被过滤掉。

射出超级过滤器数据4

备注:您可以根据需要过滤文本长度为特定字符数或少于字符数的行。


过滤单元格文本,区分大小写(仅大写/小写或包含大写/小写)

要过滤文本字符串仅大写或小写的行,可以应用 超级筛选 方便地完成它。 请执行以下操作:

1.选择要过滤的数据范围,然后单击 Kutools 加 > 超级筛选超级筛选 对话框,在对话框中,单击关系旁边的水平线 AND,然后从第一个下拉列表中选择您要过滤的列名,然后从第二个下拉列表中选择 文本格式.

2。 然后从第三个下拉列表中选择条件,最后指定您需要的一个选项,然后单击 OK 按钮,您可以仅过滤大写/小写的文本,或包含大写/小写的文本,然后单击 筛选器。 看截图:

射出超级过滤器数据5


过滤所有错误或一个特定错误的单元格值

 选择要过滤的数据,然后单击 Kutools 加 > 超级筛选 要转到“超级过滤器”对话框,请在对话框中单击关系旁边的水平线 AND,然后从第一个下拉列表中选择您要过滤的列名,然后从第二个下拉列表中选择 误差。 然后从第三个下拉列表中选择条件,最后指定您需要的一个选项,然后单击 Ok 按钮,您可以过滤所有错误或一个特定错误,例如#N / A,#VALUE !,然后单击 筛选器。 看截图:

射出超级过滤器数据6

过滤错误


提示:

第一次使用此实用程序时,您可能会感到困惑,因此我们创建了一个内置示例供您参考和使用。

1.激活 超级筛选 实用程序,单击 创建新的过滤器设置方案 按钮> 示例场景 打开示例工作簿和默认条件。

射击13

2.并且已经设置了条件,您可以在应用此实用程序时模仿它们,单击 筛选器 按钮过滤数据,您将获得以下结果:

射击14
-1
射击超级过滤器12

3.所有超级过滤器功能都收集在下拉菜单中,如下图所示。 您可以根据需要从下拉菜单中使用它们。

射击16


将过滤器条件另存为方案,以备下次使用

超级筛选 实用程序,您可以将当前的过滤条件保存为方案,以备下次使用。

射击17:单击此按钮可以创建新的过滤器设置方案。 如果存在未保存的过滤器设置,则会弹出一个对话框提醒您。
射击18

:单击此按钮可以保存当前的过滤器设置,如果以前从未保存过当前的过滤器设置,则会弹出一个对话框供您命名此新的过滤器方案并指定应用比例。
射击19

:单击此按钮可将当前过滤器设置保存到新的过滤器方案中。

射击20:单击此按钮以关闭当前过滤器方案。

射击21单击此按钮以显示 打开保存的过滤器设置方案 对话框,然后在对话框的右窗格中选择一个方案以将其打开。
射击22

:点击此按钮, 管理过滤器设置方案 将显示一个对话框,您可以在左窗格中管理(添加,重命名,删除,打开,导入或导出)方案文件夹,也可以在右窗格中管理(添加,重命名,删除,打开,移动,导入或导出)场景文件夹。每个方案文件夹的方案。 看截图:
射击26


笔记:

1.您可以通过单击添加过滤器组 新增按钮 or  射击超级过滤器14 按钮,可以通过单击关闭或禁用所有条件和条件组 关闭 按钮或取消选中复选框。

2. 射击23点击 个人设置 按钮,您可以根据需要设置过滤条件的显示方式, Enabel自动折叠标准 复选框,然后从下拉列表中选择一种折叠类型。
射击24
您还可以根据需要选择方案保存类型 关闭工作簿时,未保存的方案 部分。

射击24

3。 点击 适用于 按钮可指定当前过滤器设置适用的比例。
射击25

4。 点击 清除 按钮取消过滤器并恢复数据。

5.如果您认为 超级筛选 该功能很有用,可以单击  镜头分享按钮按钮将其分享给您的朋友。
镜头分享


生产力工具推荐
以下工具可以极大地节省您的时间和金钱,哪一种适合您?
Office Tab: 在办公室中使用方便的选项卡,作为Chrome,Firefox和New Internet Explorer的方式。
Kutools for Excel: 超过300种Excel高级功能 2021、2019、2016、2013、2010、2007 和 Office 365。

Kutools for Excel

上述功能只是 Kutools for Excel 300 个强大功能之一。

专为 Excel(Office) 2021、2019、2016、2013、2010、2007 和 Office 365 设计。免费下载和使用 30 天。

Kutools for Excel 的屏幕截图

btn了解更多      btn下载     btn购买

Comments (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Would love to add time as a criterion. I want to be able to filter a date column to weekdays and a time column to business hours. The date is easy but can't workout how to add the time in Super Filter.
This comment was minimized by the moderator on the site
Hello, Michael

Thank you for your suggestion.
We have forwarded your feedback to our developers. Should there be any updates to the feature, we will notify you immediately.😀
This comment was minimized by the moderator on the site
Is there a way to reverse the selected items in a dropdown list? For example, if I have a filter with 1 to 9 as the options to select and I have selected 1 to 5. Is there a way to unselect 1 to 5 and make the 6 to 9 selected?
This comment was minimized by the moderator on the site
Hi, Alan,
Sorry, at present, the Excel filter function can't do this operation.
Thank you!
This comment was minimized by the moderator on the site
When I try to type in the the condition that I want, instead the superfilter ui closes and inputs what I typed into the contents of the first selected cell in the range is changed. I have tried a few things to fix this, but I have a feeling that I have some setting or something that is interfering, and I really do not know what to do!
This comment was minimized by the moderator on the site
Hello, Atrebates
Which version of the Kutools you used? You can download and install the newest version of our product.
https://www.extendoffice.com/download/kutools-for-excel.html
If there still has the problem, please upload your workbook or the problem video here, so that we can check where the problem is.
Sorry for the inconvenient.
This comment was minimized by the moderator on the site
After rebooting, the problem disappeared. I was doing a lot of tabbing out and in. Perhaps somewhere in there I hit something odd since the alt key also activates the command selection keyboard interface in excel.
This comment was minimized by the moderator on the site
I appreciated the capabilities of Superfilter, a very cool tool!

By my sensations it lacks
the following:

1) The ability to copy the current filter settings from the Excel table (in one group with the AND condition).

2) Selection options from the data available after filtering in the selected column (as implemented in Excel).
Those, I need the ability to see the data that I can filter, and not search for them in the data table separately, and then configure the Superfilter.

3) Ability to pass as a filter criterion a named range or list of values ​​from the selected area in the table with:
a) the setting of relations between them before import (as in the advanced Excel filter)
b) condition like "in range/list", "not in range/list".
4) Possibilities to drag a group or a separate line into another group (drag'n'drop).

5) Ability to filter by the color of the text (including such conditions as "contains text with color", "does not contain text with color") or background. Suggest a choice from the list of colors in the selected column.

6) The ability to filter text with the terms "does not end with", "does not start with".

7) Additional conditions for the relations of the elements in the group: XOR, NOT.

8) Ability to filter by type of error in the cell, like # N / A, #REF !, #NULL !, # DIV / 0 !, #VALUE !, #NAME ?, ##### ERROR (cell formating).

Good luck to you and keep up the good development!
This comment was minimized by the moderator on the site
Hi, I Am working with kutool 7.8.0 in this superfilter saved Scenario is not opening and its Showing a Message " Before Opening a Filter setting scenario, you must open a workbook first".Can u give me the Solution for this...? [img]C:\Users\mallikharjunp\Desktop\ku_Problem.jpg[/img]
This comment was minimized by the moderator on the site
[quote]Hi, I Am working with kutool 7.8.0 in this superfilter saved Scenario is not opening and its Showing a Message " Before Opening a Filter setting scenario, you must open a workbook first".Can u give me the Solution for this...?By malli[/quote] Please open a workbook in your Excel. :-) The scenario cannot work without a workbook.
This comment was minimized by the moderator on the site
[quote]Hi, I Am working with Super Filter in this Version.In every new Filter setting Scenario, After some time the saved Scenario is not opening and its Showing a Message " Before Opening a Filter setting scenario, you must open a workbook first". after this again i am creating new scenario and working.Can u give me the Solution for this...?By Siva[/quote] Hello, please make sure you have installed the latest version. If the problem persists, please contact me at jaychivo#extendoffice.com with detailed information of the issue. Please replace # with @.
This comment was minimized by the moderator on the site
Hi, I Am working with Super Filter in this Version.In every new Filter setting Scenario, After some time the saved Scenario is not opening and its Showing a Message " Before Opening a Filter setting scenario, you must open a workbook first". after this again i am creating new scenario and working.Can u give me the Solution for this...?
This comment was minimized by the moderator on the site
Is there another way to edit or pre-populate the criteria for the super filter? Is there a limit to the number of criteria you can add for a single scenario?
This comment was minimized by the moderator on the site
[quote]Is there another way to edit or pre-populate the criteria for the super filter? Is there a limit to the number of criteria you can add for a single scenario?By Naested[/quote] There is no other way to edit the criteria. The number of criteria for a single scenario is no limitation.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations