Help with weighted random sample in excel

4theloveofhorsz

New Member
Joined
Sep 23, 2014
Messages
2
I have a list of 14,561 people. We need to do a survey and we want to include about 5,000 random people total, but weighted based on the group they belong to (defined by L4 leader).
I calculated really quickly that if I include about 35% of people for each L4 I get to the 5,000ish I need. So if an L4 group has 1,000 people I include a random list of 350 people from that L4 group. If a group has 100 people I include 3 random people from that group.

How can I write some formula that lets me choose a certain number of random people from each L4 group?

I have a table with how many people each L4 has (L4 name frequency), and how many the 35% would be (desired size of each random sample). I have 50 L4s.

This does not need to be exactly perfect, but the sample really needs to be representative of the population of each group. Any ideas?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,601
Messages
5,838,281
Members
430,536
Latest member
Manoj Gaidhankar

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