简体   繁体   English

如何在excel中使用另一列作为条件从一列中找到最大值

[英]How to find the maximum value from a column using another column as criteria in excel

I have a dataset with person and values.我有一个包含人和价值观的数据集。 I need to find the maximum value for each person.我需要找到每个人的最大值。 I wrote a function to find the maximum value for each person and gave 'ctrl+shift+Enter'.我写了一个函数来找到每个人的最大值并给出'ctrl+shift+Enter'。

=MAX(IF(A2:A34=A2,B2:B34))

When I drag this formula for all the person, the last few values for each person are not getting formulated correctly.当我为所有人拖动这个公式时,每个人的最后几个值没有得到正确制定。 Attached screenshot for reference.附截图供参考。 What is wrong that I am doing here?我在这里做什么错了? 数据集截图

Try it as,试试看,

=MAX(IF(A$2:A$34=A2, B$2:B$34))

... with CSE then drag down. ...使用 CSE 然后向下拖动。

See this for more information.有关更多信息,请参阅内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何根据 Excel 中的一列和另一列中的第 n 个值的条件查找列中的值? - How to find value in column based on criteria from one column and nth value in another column in Excel? 如何从Excel列中找到最大值? - How to find maximum value from an excel column? 如何使用Java在Excel工作表的列中找到最大值? - How to find maximum value in a column of an Excel sheet using java? 如何根据另一列查找最大值? - How to find the maximum value based on another column? Excel-CountIfs使用列标题和其他列的值作为条件? - Excel - CountIfs using column header and value from other column as criteria? Excel:如何设置条件以在Excel电子表格的另一列中搜索值 - Excel : How to set criteria for searching value in one column from another in excel spreadsheet 如何根据另一列的条件计算 Excel 中的 excel 数 - How to count the numbers of excels in Excel, based on a criteria from another column Excel,如何从另一列中查找给定值的最高列值 - Excel , how to find highest column value for a given value from another column 如何在Excel VBA中使用ComboBox值作为条件自动过滤列 - How to Auto Filter a column using ComboBox value as Criteria in Excel VBA 使用XLRD从Excel列获取最大值 - Get the maximum value from an excel column using XLRD
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM