Excel - 在列中查找最大值 [英] Excel - Finding Max value in a column

查看:224
本文介绍了Excel - 在列中查找最大值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个摘要表设置数据设置如下 -

I have an Summary sheet set up data set up as follows-

         Cat A  Cat B  Cat C  Cat D  
Name 1       0      0      0      0  
Name 2       2      3      2      2  
Name 3       2      2      2      2  
Name 4       3      2      2      3  
Name 5       2      3      2      3  

然后我还为Name1到Name 5分别设置了标签。

I also then have separate tabs for each of Name1 through to Name 5.

摘要表包含每个选项卡的每个类别的最大值。因此,Cat A名称1上的单元格应显示Cat A列中Sheet(Name1)的最大值。

The summary sheet contains the maximum values for each category from each tab. So the Cell at Cat A Name 1 should show the maximum value on Sheet(Name1) in the Cat A column.

到目前为止这么好。但是,每个选项卡可能不包含相同的类别,因此,我希望通过对Cat名称进行搜索来查看每个列中的最大值。

So far so good. However each tab may not contain the same categories, so therefore I would like teh summary sheet to check the maximum value in each column by doing a search on the Cat name.

到目前为止,我有这个 -

So far I have this-

=MATCH(Overview!S$1,Name1!$C$1:$V$1,0)

哪个返回列号与正确的类别,在这种情况下13.所以我可以找到正确的柱。我正在努力的是现在找到列中的最大值。

Which returns the column number with the right Category, in this case 13. So I can find the right column. What I am struggling with is to now find the maximum value in the column.

任何人都可以帮助?

感谢

推荐答案

如果您的搜索范围进入第1000行:

IAssuming your search range goes to row 1000:

=MAX(INDEX(Name1!$C$2:$V$1000,0,MATCH(Overview!S$1,Name1!$C$1:$V$1,0)))

索引中的0行参数意味着选择整个列。

The 0 Row argument in Index means to select the entire column.

这篇关于Excel - 在列中查找最大值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆