I have a data in 3 columns & 17 Rows (F8:H35) Column Headers are: F= Offense score / G= Defensive score / H= Team Name
I want to show the team name from (H) with the Max Difference between Offense & Defense (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)? I tried: Index Match Max If but I'm getting too few 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).
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.