excel切片器显示错误

In most cases, it's best if you keep people away from your data in Excel. It's too easy to mess things up! Instead, set up a worksheet where they can use Slicers to set filter criteria in Excel.

在大多数情况下,最好让人们远离Excel中的数据。 搞砸太容易了! 而是,设置一个工作表,他们可以在其中使用切片器在Excel中设置过滤条件。

Then click a button, and a macro dumps the data onto the worksheet. In the screen shot below, you can see how it works – easy, quick, and safe!

然后单击一个按钮,宏将数据转储到工作表上。 在下面的屏幕截图中,您可以看到它的工作方式–简单,快速和安全!

使用切片器在Excel中设置过滤条件 (Use Slicers to Set Filter Criteria in Excel)

Here's a quick demo of the setup. Click the Slicers,  then click the Get Data button. You can even change the fields if you want to.

这是设置的快速演示。 单击切片器,然后单击获取数据按钮。 您甚至可以根据需要更改字段。

You can download the sample file (link at the bottom of this page), to see how it's built. There are full instructions on my website, and a quick overview below.

您可以下载示例文件(此页面底部的链接),以查看其构建方式。 我的网站上有完整的说明 ,下面是快速概述。

这个怎么运作 (How It Works)

There are 4 key pieces in the setup to use Slicers to set filter criteria in Excel:

设置中有4个关键部分,可使用切片器在Excel中设置过滤条件:

  • Sales data table 销售数据表
  • Pivot table with filters 带有过滤器的数据透视表
  • Worksheet with Slicers and an output area 带切片器和输出区域的工作表
  • Macro that runs an Advanced Filter

    运行高级筛选器的宏

销售数据表 (Sales Data Table)

On the SalesData sheet, there is a formatted Excel table, named Sales_Data. This sheet can be hidden, and kept away from accidental damage.

在SalesData工作表上,有一个格式化的Excel表 ,名为Sales_Data。 这张纸可以隐藏起来,并避免意外损坏。

带有过滤器的数据透视表 (Pivot Table with Filters)

On another sheet that could be hidden away, there is a pivot table based on the Sales data table. There are only 3 fields in the pivot table, and they are in the filter area. Three Slicers were connected to this pivot table – one for each of the pivot table filters.

在另一个可以隐藏的工作表上,有一个基于Sales数据表的数据透视表。 数据透视表中只有3个字段,它们位于过滤器区域中。 三个切片机连接到该数据透视表–每个数据透视表过滤器一个。

输出表 (Output Sheet)

The main sheet has the Slicers (cut and pasted from the pivot table sheet) . There is also an output area (the Extract range for the Advanced Filter).

主工作表具有切片器(从数据透视表工作表剪切并粘贴)。 还有一个输出区域(“高级过滤器”的“提取”范围)。

There are drop down lists in the output area, where you can select the fields that you want to see in the results.

在输出区域中有下拉列表 ,您可以在其中选择要在结果中查看的字段。

高级过滤条件范围 (Advanced Filter Criteria Range)

The macro runs an Advanced Filter, so there is a criteria range, on the Pivot Table sheet.

该宏运行“高级筛选器” ,因此“数据透视表”页面上有一个条件范围。

The criteria cells have formulas, and they show the item selected in each Slicer. If a Slicer is cleared, its criteria cells shows a wildcards character.

条件单元格具有公式,并且它们显示在每个“切片器”中选择的项目。 如果清除了切片器,则其条件单元格将显示通配符。

For example, here's the result, after selections are made in the Category and Orderyr Slicers, and the Region Slicer is cleared. The Advanced Filter would return all the records for Snacks sales in 2016, for any Region.

例如,这是在“类别”和“ Orderyr切片器”中进行选择并清除“区域切片器”后的结果。 “高级过滤器”将返回任何地区2016年零食销售的所有记录。

运行高级筛选器宏 (Run the Advanced Filter Macro)

There is a Get Data button on the Output sheet, and it runs the Advanced Filter macro.

在“输出”页上有一个“获取数据”按钮,它运行“高级筛选器”宏。

To run that macro, select an item from each Slicer (or clear the Slicers), then click the Get Data button. You should see the matching records in the Output area.

要运行该宏,请从每个“切片器”中选择一个项目(或清除“切片器”),然后单击“获取数据”按钮。 您应该在“输出”区域中看到匹配的记录。

Then, change the Slicer selection, or the extract range headings, and click the Get Data button again. You'll see different results in the output area.

然后,更改“切片器”选择或提取范围标题,然后再次单击“获取数据”按钮。 您将在输出区域中看到不同的结果。

为什么要使用高级过滤器? (Why Use an Advanced Filter?)

An Advanced Filter is a great way to pull data from an Excel table, for lots of reasons. For example, they:

出于多种原因,高级过滤器是从Excel表中提取数据的好方法。 例如,他们:

  • keep people away from source data 让人们远离源数据
  • are quick to run 运行快
  • allow you to limit the number of fields shown (and the drop down lists make it easy to change the fields) 允许您限制显示的字段数(下拉列表使更改字段变得容易)
  • return values, instead of formulas 返回值,而不是公式
  • make it easy to copy and paste to another location 使复制和粘贴到其他位置变得容易

为什么使用切片器选择标准? (Why Use Slicers to Select the Criteria?)

Even though Advanced Filters are awesome, their criteria range setup can be confusing. Slicers take away that confusion, because:

即使“高级过滤器”很棒,它们的标准范围设置也可能令人困惑。 切片器消除了这种混乱,因为:

  • you can set up the criteria range in the background, so other people can ignore that 您可以在后台设置条件范围,以便其他人可以忽略
  • after you select from one Slicer, other Slicers show related items at the top – you won't pick criteria combinations that don't exits 从一个切片器中选择后,其他切片器将在顶部显示相关项目–您不会选择不退出的条件组合

下载样本文件 (Download the Sample File)

To get the full instructions, and to download sample file, go to the How to Use Slicers With Excel Advanced Filter page on my website.

要获取完整的说明并下载示例文件,请转到我的网站上的“ 如何使用带有Excel高级筛选器的切片器”页面。

The zipped file is in xlsm format, so enable macros when you open the file.

压缩文件为xlsm格式,因此在打开文件时启用宏。

翻译自: https://contexturesblog.com/archives/2016/03/31/use-slicers-to-set-filter-criteria-in-excel/

excel切片器显示错误


http://www.taodudu.cc/news/show-2929710.html

相关文章:

  • 切片器可以设置日期格式?_Excel切片器,原来有这么多厉害的用法
  • excel 切片器 html,Excel切片器--数据智能展示的利器
  • excel切片器_不喜欢Excel自带的切片器样式,我一秒设置个性化切片器
  • excel切片器_数据可视化小助手EXCEL切片器
  • excel切片器_用Excel切片器做自动化表格,动态呈现,瞬间高大上
  • excel切片器_利用切片器制作动态交互图表
  • excel切片器_Excel切片器,让图表动起来
  • Excel数据透视表:切片器
  • Microsoft Excel 教程:如何在 Excel 中使用切片器筛选数据?
  • Excel切片器的使用
  • 英语五个时态
  • 英文最基本的五个时态
  • 核心单词 Word List 1
  • LeetCode 字符串(简单题)
  • 前端基础知识点-每天一个基本知识点(100+个前端小知识,你是否都知道?)
  • 春节假期我读过的那些书
  • 没有测试实践就没有发言权
  • 不错的每日站会的一个实践
  • 微服务架构下的软件测试实践
  • 20194311姜晨昊Exp2-后门原理与实践
  • 敏捷-细说敏捷建模思想与实践(转)
  • springcloud-oauth2实践
  • 计算机专业毕业典礼,计算机网络技术专业毕业典礼发言稿
  • 读书笔记-《像高手一样发言》
  • roads 用户体验标准_在你眼中的RoadMap,其实并没有那么难搞定
  • 敏捷实践不可忽略的环节
  • 云原生之容器编排实践-Kubernetes资源管理:标签选择器,注解以及命名空间
  • 网站降权根服务器有关系吗,导致网站降权或被k的原因有哪些?
  • 敏捷开发的Scrum晨会实践
  • 有调查就有发言权

excel切片器显示错误_使用切片器在Excel中设置过滤条件相关推荐

  1. excel切片器显示错误_带切片器的Excel弹出选择器工具

    excel切片器显示错误 Slicers make it easy to select from a list of items, but they take up valuable space on ...

  2. excel输入公式显示公式_快速输入复杂的Excel公式

    excel输入公式显示公式 On Chandoo's blog, Hui is running a series of articles with Excel Tips. There were som ...

  3. excel切片器显示错误_Office 2016中报表用户的新Excel切片器功能

    excel切片器显示错误 Whilst researching for the article Report filtering: Excel slicers vs SQL Server Report ...

  4. excel输入公式显示公式_在Excel 2013中使用FORMULATEXT显示公式

    excel输入公式显示公式 There is a new function in Excel 2013 – FORMULATEXT – that lets you show the text from ...

  5. python 网页上显示数据_怎么用python将excel数据写入网页中,python 网页上excel表格数据分析...

    用python读取excel,怎样显示要查找的数据? 感觉还是CSV格式的好一些,EXCEL的要装插件,以CSV为例,段代码 sqlserver char 对应c# import linecache ...

  6. excel表格末尾添加一行_七夕表白,用Excel试试!抖音爆红,一晚点赞破百万

    "Excel"对于我们来说是再熟悉不过了,毕竟谁没有过一段被表格折磨的岁月?稳住~ 但是但是!听到老外对你说"You excel me"--"你表格我 ...

  7. mag6000变送器怎么使用_变送器的迁移原理和故障分析

    一.差压液位计的工作原理 差压液位计是利用容器内的液位改变时,液柱产生的静压也相应变化的原理工作的,当差压变送器一端接液相,另一端接气相时,根据流体静力学原理计算P=ρgh(式中h为液位高度,ρ为被测 ...

  8. excel range 判断日期型_为什么精英都是Excel控?

    让你相见恨晚的Excel精髓攻略,吐血整理!三小时帮你提升90%的效率,这份Excel教程必须!(点赞收藏) Excel能够满足工作中绝大部分的数据分析需求,很多小细节的设计会节省下工作中非常多的时间 ...

  9. python写入excel表格数据绘制图表_(原创)xlsxwriter,python excel 写入数据\图表等操作_图表操作(二)...

    前面分享了使用xlsxwriter创建excel和写入数据GUC:(原创)xlsxwriter,python excel 写入数据\图表等操作_创建.写入(一)​zhuanlan.zhihu.com ...

最新文章

  1. UA MATH566 统计理论 推导卡方拟合优度检验
  2. DiscuzNT改造-远程内容自动采集-DNT2.5(定时采集、源码下载)
  3. pig:group by之后的其它统计方法一
  4. 剪枝综述论文阅读:Methods for Pruning Deep Neural Networks
  5. 兼容IE和火狐JS父窗口调用iframe里面的对象、函数的方法
  6. vue http get html模板,怎么用vue.js做异步请求?
  7. InDesign 2022 for mac排版布局和页面设计
  8. win10下安装mysql5.7_【详细】Win10 安装MySQL 5.7 详细教程
  9. 解决VMware 虚拟机中的网络连接出现”受限制或无连接“问题的方法
  10. 挪车码微信小程序开发(隐私保护通话)
  11. 闪电世界源码-闪电世界系统开发功能介绍
  12. 萌生to绽放 ▏2个月打造2亿销量的爆款理财产品
  13. 不要USB数据线调试Android开发
  14. windows查看tomcat版本信息
  15. python全栈生鲜电商_Django REST framework+Vue 打造生鲜电商项目(笔记一)
  16. 计算机组装模拟网址,装机模拟器PC Building Simulator-电玩之家
  17. 算法:每个元音包含偶数次的最长字符串
  18. delphi excel
  19. 蓝桥杯历届-巧排扑克牌
  20. 基于JAVA基于的智慧小区计算机毕业设计源码+系统+lw文档+部署

热门文章

  1. 2019届校招实习生惨痛经历
  2. http1,http1.1,http2及http3
  3. 我国企业履行社会责任的措施
  4. python阶梯图_不会你还不懂怎么用Python制图吧?师兄教你如何学会绘制漂亮的阶梯图...
  5. 蓝牙解析(part5):BLE的广播通信
  6. 大数据内功修炼到企业实战2.0
  7. C语言math.h库函数中atan与atan2的区别
  8. Java面试题汇总(一)
  9. 排序法学习之插入排序(python3实现)
  10. c语言中有自己的bool类型