Hi,
I use Access a lot to split large data files into groups, for versioning purposes.
Each group will receive its own creative version at the letter shop.
Currently, I use the following formula to do a 50/50 split on my data:
I populate a field with all 1, then run the following update Query to change 50% of that field to a 2:
([ID]/2)-Round([ID]/2,0) with a criteria of 0
This works well for a 50/50 split of data with a sequential unique ID, problem is I dont always have an ID and I dont just need 50/50 splits.
Is there may be a Macro or some good code to do random splits of data on a percentage basis, and not just two, but possibly 3 way split? (I.e 35%/65% or 45%/33%/22% splits)
Thanks.