+ Reply to Thread
Results 1 to 2 of 2

Creating bias when randomly selecting rows

  1. #1
    Registered User
    Join Date
    06-07-2018
    Location
    London
    MS-Off Ver
    2017
    Posts
    6

    Question Creating bias when randomly selecting rows

    Hi,

    I have created an example of a macro function below.

    • 1st sheet of the workbook would just be for inputting the bias "factor" in B1 and receiving the resulting average in B3.
    • 2nd sheet has first column with numbers listed 1 to 1000, but in reality this would be to any number so I don't want an upper cap on my "random_limit".
    • 3rd sheet starts blank and is for the macro to do its work in.

    The effect that changing the factor has on the resulting average is very gentle. I was wondering what a more sensible way would be to create a large bias towards picking smaller numbers.

    Please Login or Register  to view this content.
    Any help would be greatly appreciated, thanks.

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Creating bias when randomly selecting rows

    I will say it is unclear exactly what you are trying to achieve and some of the logic of your code.

    Can you use a normal distribution with appropriate modifications to the skewness or kurtosis to meet your bias towards smaller numbers?
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ 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. [SOLVED] Randomly selecting cells with text criteria
    By Brendan1991 in forum Excel General
    Replies: 4
    Last Post: 10-25-2017, 01:56 PM
  2. Randomly selecting words from text
    By Exceln00b95 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-13-2016, 12:38 PM
  3. Event Calculator and Randomly Selecting Attendees
    By Jay_hl in forum Excel General
    Replies: 1
    Last Post: 03-13-2014, 11:34 AM
  4. Time Series Smoothing No Look Ahead Bias
    By Hornstinger in forum Excel General
    Replies: 1
    Last Post: 08-19-2012, 02:38 PM
  5. Randomly selecting items from list under certain conditions
    By Excelleration in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-07-2009, 04:48 PM
  6. randomly selecting a cell from a range
    By snuiter in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2008, 12:35 AM
  7. Randomly Selecting a Value from a Range
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-29-2005, 10:59 AM

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