Random name pairing, no duplicates, 12 months, auto email

men5j2s

Board Regular
Joined
Apr 26, 2016
Messages
59
Office Version
  1. 365
Platform
  1. Windows
Hi,

Tricky task, but I want to create a macro that randomly pairs all names in a column without any repeats, then it will draft and send email to each of those pairs.

but.. then I want to be able to perform this same action again a month later, but not have any repeats of the previous month, until all possible combinations are exhausted.

I have added an example worksheet with manually sorted lists and some comments to explain the order of actions.

Any clues on how to even start this? maybe it's worth solving the pairing aspect first, without the emailing - then add that later/separately?

Any help appreciated.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

GlennJ

New Member
Joined
Mar 26, 2018
Messages
42
Office Version
  1. 2016
Platform
  1. Windows
Example worksheet is missing
 

men5j2s

Board Regular
Joined
Apr 26, 2016
Messages
59
Office Version
  1. 365
Platform
  1. Windows
I've posted a screenshot instead of the file, as that's all I can seem to do. hope its helpful.
 

Attachments

  • 2021-01-08 09_47_21-Window.png
    2021-01-08 09_47_21-Window.png
    106.2 KB · Views: 6

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,475
Office Version
  1. 365
Platform
  1. Windows
I'm really struggling to figure out how to attach it. any clue?
You cannot attach/upload an Excel workbook in the forum.

However, MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

Also, I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 

Watch MrExcel Video

Forum statistics

Threads
1,129,405
Messages
5,636,099
Members
416,898
Latest member
imsorrymen

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
Top