Forum Discussion
Tennis doubles win percentage table help
assuming you have excel 365 you should be able to do something like:
lets call table 1 "Data" and then in table 2 you have all the combinations listed (if you need a formula for that we can do that too), then I also suggest you might want to another column like # games so you can see if that 100% win is because they won 1 match or because they won 20/20 matches.
Formula options could be:
=SUM(--(LEN(FILTER(Data[Win / Loss],ISNUMBER(MATCH(Data[Player 1],Table2[@[Player 1]:[Player 2]],0)*MATCH(Data[Player 2],Table2[@[Player 1]:[Player 2]],0)),""))>2))and similar for the count of wins but instead of LEN(...)>2 just use ="Win"
see example attached.
Edited for a couple mistakes and to attach sample
- fensterbosNov 01, 2022Copper ContributorThis is a great start, thank you!
I played around with the example and it works well. We have almost 30 guys on our team, which could result in 100 different pairings, which could be difficult to manage in Table 2. Is there a way for Table 2 to create the pairings automatically when I create them in Data/Table 1?- mtarlerNov 01, 2022Silver Contributor
fensterbos I am attaching a new copy with a formula to automatically calc all combinations. I modified a code recently done for another recent post (challenge). In this example I used OliverScheurich 's approach as I think it may be cleaner but either works
EDIT: modified attached to use array formulas for the total matches and Win %