[英]Excel formula, INDEX MATCH MAX IF
I have a data in 3 columns & 17 Rows (F8:H35) Column Headers are: F= Offense score / G= Defensive score / H= Team Name我有 3 列和 17 行的数据 (F8:H35) 列标题是:F = 进攻得分 / G = 防守得分 / H = 球队名称
I want to show the team name from (H) with the Max Difference between Offense & Defense (FG)我想显示来自 (H) 的球队名称以及进攻和防守之间的最大差异 (FG)
I was able to find the Max Difference with this formula:我能够用这个公式找到最大差异:
=MAX(IF((F8:F35<>"")*(G8:G35<>""),F8:F35-G8:G35))
But how do I show the team name (H)?但是如何显示团队名称(H)? I tried: Index Match Max If but I'm getting too few arguments
我试过: Index Match Max If 但我得到的 arguments 太少了
Not Working:不工作:
=INDEX(H8:H35,MATCH(MAX(IF((F8:F35<>"")*(G8:G35<>""),F8:F35-G8:G35))*F8:H35))
I'm in over my head here, not sure if I'm close or really far off.我在这里不知所措,不确定我是近还是远。 Any and all help is greatly appreciated.
非常感谢任何和所有帮助。 It's worth noting that this is a filter list, the row order changes, base on offensive score (F).
值得注意的是,这是一个过滤列表,行顺序会根据进攻得分(F)发生变化。
This array formula appears to work这个数组公式似乎有效
=INDEX(H8:H35,MATCH(MAX(IF((F8:F35<>"")*(G8:G35<>""),F8:F35-G8:G35)),F8:F35-G8:G35,0))
Would be easier though if you added a helper column showing the difference.如果您添加一个显示差异的帮助列会更容易。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.