Urgent Help needed

jamilm

Well-known Member
Joined
Jul 21, 2011
Messages
740
Gurus,

i have the below worksheet. what i need help is the statistical selection that for each group there is equal chance of selection of cities based on the Ethnicity. each group need to have diverse selection meaning at least one from each athnicity and when in the last groups when some ethnicities are out of number then it is okay to have two or more from each ethnicity for example Asian is more and therefore in the later groups if there are two asian or three in a group then it is okay.


Excel 2012
ABCDE
1Current CityEthnicityGroupsneeded sulotion Current City
2ShanghaiBlackA-1Baghdad
3So PauloAsianA-1Riyadh
4BogotHispanicA-1Guangzhou
5JaipurAmerican IndianA-1Johannesburg
6DelhiHispanicA-1Tianjin
7BaghdadWhiteA-2
8Hong KongAsianA-2
9AhmedabadHispanicA-2
10RiyadhAsianA-2
11GuangzhouBlackA-2
12JohannesburgAmerican IndianA-3
13New York CityWhiteA-3
14BangkokAmerican IndianA-3
15AlexandriaAmerican IndianA-3
16LondonAsianA-3
17HyderabadWhiteA-4
18JakartaAsianA-4
19TianjinBlackA-4
20YokohamaWhiteA-4
21Los AngelesAsianA-4
22SingaporeWhiteA-5
23Rio de JaneiroAsianA-5
24CairoHispanicA-5
25LahoreHispanicA-5
26KolkataHispanicA-5
27BusanWhiteA-6
28KanpurAsianA-6
29NairobiAmerican IndianA-6
30TehranAsianA-6
31SeoulAmerican IndianA-6
32SantiagoHispanicA-7
33Mexico CityWhiteA-7
34MoscowAsianA-7
35KarachiBlackA-7
36AbidjanAsianA-7
37AnkaraBlackA-8
38ShenyangHispanicA-8
39TokyoAsianA-8
40LimaAsianA-8
41Saint PetersburgWhiteA-8
42Ho Chi Minh CityAsianA-9
43JeddahHispanicA-9
44BerlinAsianA-9
45ChennaiHispanicA-9
46YangonWhiteA-9
47ChongqingWhiteA-10
48BeijingHispanicA-10
49WuhanAsianA-10
50MumbaiAsianA-10
51Buenos AiresAmerican IndianA-10
52DurbanAsianA-11
53DhakaWhiteA-11
54IstanbulBlackA-11
55KinshasaAmerican IndianA-11
56PyongyangWhiteA-11
57LagosAsianA-12
58Cape TownAsianA-12
59PuneAsianA-12
60MadridAmerican IndianA-12
61BangaloreAsianA-12
Sheet1
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

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