Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个有 20 行的表格,并且表格取消隐藏表格上方单元格中指定的行数。因此,如果我将 5 放入单元格中,则 20 行中的 5 行将被隐藏。所以现在我想获得现在未隐藏的 5 个单元格的最大值。我该怎么做?
也许
=SUBTOTAL(104,your_range)
=SUBTOTAL(104,RANGE)
104 将为您提供最大的未隐藏单元格。如果将 104 替换为 4,它将作为正常的 MAX 函数运行,除非您使用内置 Excel 表函数过滤行。