erutherford
Active Member
- Joined
- Dec 19, 2016
- Messages
- 453
Over the years you folks have helped me to build a wonderful system has saved our club many hours every year at our annual concours (car show). For the first time the system didn't know what to do with a tie score.
2nd and 3rd place tied, the system showed the 2nd place finisher twice. My work around was after the tie breaker was settled, I added a point to 2nd place and then the system displayed perfectly. I would prefer it display the two that tied. Below is the code used.
- This displays 1st place
- This displays 2nd Place
- This displays 3rd Place
I am not opposed to a MsgBox popping up saying there is a tie if that's easier.
Many thanks to everyone at MrExcel!!!
2nd and 3rd place tied, the system showed the 2nd place finisher twice. My work around was after the tie breaker was settled, I added a point to 2nd place and then the system displayed perfectly. I would prefer it display the two that tied. Below is the code used.
VBA Code:
=INDEX(Pts,MATCH(MAX(IF(Div=A92,IF(Class=A93,Pts))),IF(Div=A92,IF(Class=A93,Pts)),0))
Code:
=INDEX(Pts,MATCH(LARGE(IF(Div=A92,IF(Class=A93,Pts)),2),IF(Div=A92,IF(Class=A93,Pts)),0))
Code:
=INDEX(Pts,MATCH(LARGE(IF(Div=A92,IF(Class=A93,Pts)),3),IF(Div=A92,IF(Class=A93,Pts)),0))
I am not opposed to a MsgBox popping up saying there is a tie if that's easier.
Many thanks to everyone at MrExcel!!!