Divide a number over 23 columns based on variables

Viewed 20

Okay this might be very basic but here goes:

I have 23 "campaign" types, each of which contain a number of locales (UK, India, etc). Each of these, such as "Campaign 1, UK" are either "Open" or "Closed" and have a priority assigned to them. They also have a required client number, so "Campaign 1, UK" has a required client number of 5, "Campaign 1, India" has 7, "Campaign 2, UK" has 14 and so on and so forth.

If I have a list containing different locales client numbers such as 14 for "UK", 54 for "India", is it possible to:

If UK is "open", gather all of the campaign types and assign the 14 UK clients to different campaigns based on the priority and required client number?

I understand this probably makes no sense but can clarify if needed.

Thanks in advance!

0 Answers
Related