是否有一种方法可以列出在另一张纸上触发有条件格式规则的单元格数?

发布于 2025-01-22 15:13:54 字数 137 浏览 0 评论 0原文

我正在寻找一种列出所有触发条件格式规则(将单元格红或黄色)列为另一个工作表的单元组的行数。这可能吗?我有一个180,000行,我必须缩小到10%,然后向下滚动以查看突出显示的单元格。 不需要寻找代码就适当耗时

,只是在正确的方向上寻找轻推。 谢谢

I'm looking for a way to list all the row numbers of cells that have triggered a conditionally formatting rule (that changes the cell colour red or yellow) into another worksheet. Is this possible? I have a 180,000 rows and I'm having to zoom out to 10% then scrolling down to see the highlighted cells. It's properly time consuming

Not looking for the code, just looking for a nudge in the right direction.
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆蝶 2025-01-29 15:13:54

有条件格式的180,000行,哇,需要一段时间才能刷新。

虽然您无法根据条件格式的输出创建公式,但您可以创建一个公式,该公式将相同的处理逻辑与条件格式相同。我会这样处理:

  • 使用原始数据在表格上添加一列,
  • 创建一个公式,该公式使用与条件格式相同的输入,但返回文本或数字,而不是
  • 在单独的纸上应用颜色,请使用新动态阵列滤波器函数通过新公式列的输出过滤数据。

filter()在此处记录:

新列的数据表可帮助定位满足/不符合公式列中条件的行。

180,000 rows with conditional formatting, wow, that will take a while to refresh.

While you cannot create a formula based on the output of conditional formatting, you CAN create a formula that incorporates the same processing logic as conditional formatting. I would approach it like this:

  • add a column to the sheet with the original data
  • create a formula that uses the same input as the conditional formatting, but returns a text or a number instead of applying a color
  • on a separate sheet, use the new Dynamic Array Filter() function to filter the data by the output of the new formula column.

Filter() is documented here: https://support.microsoft.com/en-us/office/filter-function-f4f7cb66-82eb-4767-8f7c-4877ad80c759

If you run an older version of Excel that doesn't have Filter, you can sort the data table by the new column to help locate the rows that meet/don't meet the condition in the formula column.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文