• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

6 rinks, 12 teams to play on different rounds -using formulas or macro

Tigermush

New Member
Hi had this problem for a while and its causing me sleepless nights. Say we have 6 rinks and 12 teams (a, b, c , etc) Each team has to play each other but are not allowed to play on the same rink twice, In addition, they can not play the same opponent on the same round. Ive done the first couple of rounds as an example but would love to know if there is a code or a formula(s) that could solve this, and produce random different results every time.
I realise this sounds confusing I apologise if I have not explained myself too clearly.
I attach the sample file

kind Regards Tony
 

Attachments

  • 12 teams to play each other on different rinks on seperate rounds.xlsx
    10 KB · Views: 18
Last edited:
@Tigermush
Ex A-team should play total 11 games - okay
but can use only once every 6 rinks - okay.
That means A-team should play
... against two teams in same time in 5 games.
Screen Shot 2017-03-30 at 10.18.34.png
So far no need formula nor macro?
 
Hi Mate,

I looked into your file and you have Two Control requirements as I can see
1. Team can't play on same ground again
2. No Same opponent in the same Round
Unfortunately as the matrix structure can't be same for both control requirement, this means you either need a VBA code or you need two control matrix. I have gone with the second approach.
Just an FYI Control for Team Duplication Match1 Column is blank as Fault can only happen from match 2 onwards. I hope this helps you a bit what you are looking for I did changed your data structure a little bit but that should not cause any problem
 

Attachments

  • Chandoo.xlsx
    13.4 KB · Views: 18
Hi Mate,

I looked into your file and you have Two Control requirements as I can see
1. Team can't play on same ground again
2. No Same opponent in the same Round
Unfortunately as the matrix structure can't be same for both control requirement, this means you either need a VBA code or you need two control matrix. I have gone with the second approach.
Just an FYI Control for Team Duplication Match1 Column is blank as Fault can only happen from match 2 onwards. I hope this helps you a bit what you are looking for I did changed your data structure a little bit but that should not cause any problem

Hi I think you've done it - you are a very clever man!! I Love Excel but I do struggle. Ive just done a quick test and I think it works.
 
@Tigermush
If case is really
there are 12 teams,
everyone plays to each other ...
that means 11 games per team - okay?
How many unique rinks have to be
if any team can use only once one rink?
 
Hi i think there is a little problem with one of the controls. I do think you have more or less solved the problem but im not sure if the Control for TEAM dupication is working, RiNK dupilcation seems fine - its still very good but love it if both controls were working .Any help would be great
Kind Regards Tony
 

Attachments

  • Chandoo (2).xlsx
    13.3 KB · Views: 8
@Tigermush
If case is really
there are 12 teams,
everyone plays to each other ...
that means 11 games per team - okay?
How many unique rinks have to be
if any team can use only once one rink?

Hi thanks for pointing this out . I think they will be on the same rink only twice
 
Hi I think you've done it - you are a very clever man!! I Love Excel but I do struggle. Ive just done a quick test and I think it works.
Hi Mate,

I looked into your file and you have Two Control requirements as I can see
1. Team can't play on same ground again
2. No Same opponent in the same Round
Unfortunately as the matrix structure can't be same for both control requirement, this means you either need a VBA code or you need two control matrix. I have gone with the second approach.
Just an FYI Control for Team Duplication Match1 Column is blank as Fault can only happen from match 2 onwards. I hope this helps you a bit what you are looking for I did changed your data structure a little bit but that should not cause any problem

Hi thanks so much for looking at this ... its just about exactly what i want , but i think one of the Controls is not working? I could be wrong.

i think there is a little problem with one of the controls. I do think you have more or less solved the problem but im not sure if the Control for TEAM dupication is working, RiNK dupilcation seems fine - its still very good but love it if both controls were working .Any help would be great
Kind Regards Tony
 

Attachments

  • Chandoo (2).xlsx
    12.9 KB · Views: 7
Tigermush ...
You think they will be on the same rink only twice ... hmm?
How do You think that six rinks and can use two times ...
Have You solved how many plays are there? 12?
 
Hi thanks so much for looking at this ... its just about exactly what i want , but i think one of the Controls is not working? I could be wrong.

i think there is a little problem with one of the controls. I do think you have more or less solved the problem but im not sure if the Control for TEAM dupication is working, RiNK dupilcation seems fine - its still very good but love it if both controls were working .Any help would be great
Kind Regards Tony
Hi Mate,
You need to show me where you encountered the problem, from there i can help
 
Back
Top