Vba

Lowggy

New Member
Joined
Mar 3, 2018
Messages
39
I have a file of 160 golfers. There are 80 couples with varying levels of handicaps from as low as 4 to a high of 17. I want to be able to make 40 teams keeping the spouses together so that the resulting total handicaps per 4some is around 50. Unfortunately there are some couples that each have low handicaps and even pairing them with the highest couple with a 16 and a 17 will not be close to 50. There was a thread started in another section and a member was able to do some great work with it but says VBA code is required to do the job.
The file I will provide the link to has VBA code by another gentlemen that allowed me to make 40 teams with total handicaps close to 50 but it did not keep the spouses together. Maybe a good VBA coder can modify his code to generate the output I need ie 4somes keeping couples together with total handicaps as close as possible.

https://www.dropbox.com/s/7b8gy5e3ten60mx/latesttestof40couples -FORMREXCEL- Copy.xls?dl=0
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top