+ Reply to Thread
Results 1 to 1 of 1

Multi-Stage Random Sampling with VBA

  1. #1
    Registered User
    Join Date
    06-25-2015
    Location
    Baltimore, MD, USA
    MS-Off Ver
    2010
    Posts
    1

    Multi-Stage Random Sampling with VBA

    Hello,

    I have a dataset which includes following fields in it (I have attached a sample dataset.):
    • ID: an integer number from 1 to 4368
    • Facility: 4 values (RF4, RF6, UF4, and UF6)
    • 2008_SV_FI: an integer value from 0 to 5
    • 2008_SV_PDO: an integer value from 0 to 5
    • 2008_MV_FI: an integer value from 0 to 5
    • 2008_MV_PDO: an integer value from 0 to 5
    • 2009_SV_FI: an integer value from 0 to 5
    • 2009_SV_PDO: an integer value from 0 to 5
    • 2009_MV_FI: an integer value from 0 to 5
    • 2009_MV_PDO: an integer value from 0 to 5
    • 2010_SV_FI: an integer value from 0 to 5
    • 2010_SV_PDO: an integer value from 0 to 5
    • 2010_MV_FI: an integer value from 0 to 5
    • 2010_MV_PDO: an integer value from 0 to 5

    I need to have a subset of each facility type (i.e., RF4, RF6, UF4, and UF6) which meets:
    1. The minimum size for the subset is 30.
    2. At least summation of 100 for the all following fields (i.e., 2008_SV_FI, 2008_SV_PDO, 2008_MV_FI, etc.).

    I appreciate any comments/assistance.
    Attached Files Attached Files
    Last edited by Ehsan1981; 07-01-2015 at 04:33 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Random Sampling using vba. Please help me
    By jathind in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2015, 03:29 PM
  2. Random Sampling - please help
    By zakajam1980 in forum Excel General
    Replies: 4
    Last Post: 08-03-2013, 01:31 AM
  3. Help with random sampling, please.
    By tjroby in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2013, 01:31 PM
  4. [SOLVED] multi stage list box
    By mkmed in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-04-2012, 10:27 AM
  5. Random Sampling
    By orangeIV in forum Excel General
    Replies: 2
    Last Post: 03-26-2007, 11:59 PM

Tags for this Thread

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