erutherford
Active Member
- Joined
- Dec 19, 2016
- Messages
- 458
This might be difficult to explain, but I'll give it a shot.
Basic overview is a table where numerical scores are entered. The scores are ranked 1, 2, and 3 based on the "Div" (Division) and the Model of the car.
DIV is located in A68 and Model is Located in A67.
The code below is for first place (highest score ("Pts") So it returns the highest score and also pulls in the "FName". Same formula for LName etc.
<code>
=IFERROR(INDEX(FName,MATCH(MAX(IF(Div=A68,Pts)*(Model=A67)),Pts,0)),"x")
</code>
Here is the second line of code that its in conflict with the code above.
<code>
=IFERROR(INDEX(LName,MATCH(MAX(IF(Div=A75,Pts)*(Model=A74)),Pts,0)),"x")
</code>
Its DIV is located in A75 and Model is Located in A74.
If both cars receive the identical score, even though they are in different DIV, excel display the same name in both categories. Break the tie and it displays correctly.
Clear as mud???
Basic overview is a table where numerical scores are entered. The scores are ranked 1, 2, and 3 based on the "Div" (Division) and the Model of the car.
DIV is located in A68 and Model is Located in A67.
The code below is for first place (highest score ("Pts") So it returns the highest score and also pulls in the "FName". Same formula for LName etc.
<code>
=IFERROR(INDEX(FName,MATCH(MAX(IF(Div=A68,Pts)*(Model=A67)),Pts,0)),"x")
</code>
Here is the second line of code that its in conflict with the code above.
<code>
=IFERROR(INDEX(LName,MATCH(MAX(IF(Div=A75,Pts)*(Model=A74)),Pts,0)),"x")
</code>
Its DIV is located in A75 and Model is Located in A74.
If both cars receive the identical score, even though they are in different DIV, excel display the same name in both categories. Break the tie and it displays correctly.
Clear as mud???