热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

获取非隐藏单元格的最大值-Getthemaxvalueofun-hiddencells

Ihaveatablethathas20rowsandthetableun-hidestheamountofrowsspecifiedinthecellabov

I have a table that has 20 rows and the table un-hides the amount of rows specified in the cell above my table. so if I put in 5 into the cell, 5 of the 20 rows will be un-hidden. So now I would like to get the MAX of the say 5 cells that are now unhidden. How would I do this?

我有一个有20行的表,该表取消隐藏在我的表上方单元格中指定的行数。因此,如果我将5放入单元格,则20行中的5行将被取消隐藏。所以现在我想得到现在不隐藏的5个单元格的MAX。我该怎么办?

2 个解决方案

#1


3  

=SUBTOTAL(104,RANGE)

104 will give you the max of the unhidden cells. If you replace 104 with 4 it will operate as the normal MAX function UNLESS you are filtering the rows using the built in Excel table function.

104将为您提供最大的非隐藏单元格。如果将104替换为4,它将作为正常的MAX函数运行,除非您使用内置的Excel表函数过滤行。

#2


3  

Perhaps

也许

=SUBTOTAL(104,your_range)

推荐阅读
author-avatar
手机用户2502930417
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有