Results 1 to 5 of 5

Help create code to pair like items at random

Threaded View

  1. #1
    Registered User
    Join Date
    01-25-2011
    Location
    USA
    MS-Off Ver
    Excel 2011 OSX, 2010, 2007, & 2003
    Posts
    4

    Red face Help create code to pair like items at random

    Hello and thank you to anyone that can try to help me.

    I have some experience with excel and consider myself a little above an average user, but I have never really programmed macros/vba before.

    What I am trying to do is create a list that will pair two dogs at random, but they need to be within 3 lbs of each other, not from the same owner, and they can only be shown once. Each owner will have between 1-3 dogs to show and there could be up to 20 owners per show.

    I have included a quickly thrown together example of what I am trying to do. I locked it because I only want to allow entry into columns C, D, & I, but there are no passwords so you can remove it to make changes.

    If possible I would like a macro/vba button to calculate column I after I manually enter C and D and a second button to clear columns C, D, & I after I have the results so I can do it again.

    I hope this was all clear enough, thanks again to anyone who will help me.

    Scott Adams
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1