+ Reply to Thread
Results 1 to 2 of 2

Selecting random samples from list of items without duplication

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    1

    Selecting random samples from list of items without duplication

    Hi,

    I have a population of items (for e.g 20 items) which I want to select 5 samples of (without repeating).

    For eg, I have the following items:

    1. apple
    2. apple
    3. banana
    4. banana
    5. orange
    6. apple
    7. pear
    8. mango
    9. orange
    10. apple
    11. pear
    12. apple
    13. banana
    14. grape
    15. durian
    16. papaya
    17. grape
    18. apple
    19. pineapple
    20. starfruit

    I would like to randomly choose a sample of 5 fruits without repeating from the list above (for e.g apple, starfruit, pineapple, orange, mango). What formulas or macros will be able to help me in the excel?

    Thanks
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Selecting random samples from list of items without duplication

    Quote Originally Posted by tanchiloong View Post
    Hi,

    I have a population of items (for e.g 20 items) which I want to select 5 samples of (without repeating).
    ...
    ...

    I would like to randomly choose a sample of 5 fruits without repeating from the list above (for e.g apple, starfruit, pineapple, orange, mango). What formulas or macros will be able to help me in the excel?

    Thanks
    put your population in Col A starting from A1 and try this macro
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1