random

  1. K

    Random sampling

    I have a worksheet that has column A (state) and column B (individual ID #). I need to review 100% of AZ, FL, IA, TX. But only a random 15% for every other state (i.e. 15% of HI, 15% of NY, 15% of TN, not an overall 15% if the remaining states). Can someone help me to write a formula for this?
  2. S

    Random Sample to Pull One Record per User

    Scenario - I have 10 employees, who complete 10 sales per day. My data refreshes each day, so it's just prior day information. I would like to randomly pull 1 transaction per employee to perform an audit. I am comfortable creating a random sample, but not applying a one per user idea.
  3. C

    Creating VBA code to create random number and highlight cell result

    I am looking for some help to create the correct VBA code to use with my ActiveX Button to generate a random number between 1-24 ( These numbers will be in cells H4:H28) that would then highlight the corrosponding cell (using a light red background with bold black numbers) in the matching random...
  4. B

    Random Sampling Based on Weighted Criteria

    Hello, I'm trying to find a formula (Or VBA, but i have close to zero experience on that) that retrieves me a series of random samples based on a weighted criteria. Let's say i have the following Table <tbody> Jon 1 Mike 2 Jon 3 Jon 4 Jon 5 Mike 6 Mike 7 Zero 8 Zero 9 Jon...
  5. O

    generating random time entries before and after midnight Excel

    I am trying to generate random time entries Between two time limits in Excel. the problem i am facing is the generation works fine with the same day time calculation as soon as the time passes midnight, Excel gets confused and give me wrong values values. I need to generate random entries then...
  6. A

    How display random unique numbers from a list in column

    Hello again I wasted all day trying to resolve this problem without help but unfortunately unsuccessful. :confused: so here I am asking for help the great helpful community here. I have a column A with 10K numbers in ascending order and could be even more . I need to pick 500 random unique...
  7. I

    RAND Between

    hi guys, Two cells question with random numbers formula: In A1 I have random number generator in a range from 1 to 99. = RANDBETWEEN(1,99) In B1 I want to add formula which would fluctuate values from A1 but within a certain range. So I have in B1 this formula: =A1+RANDBETWEEN(-25,25)...
  8. K

    Odd Excel Date Issue

    Hi, I'm havin a problem finding the latest date in a column. In column B, I have an imported dataset which puts the date in DD-MMM-YY hh-mm-ss-aaaa... In column A, I have selected the first 9 digits using the LEFT function, and returned the DATEVALUE: =DATEVALUE(LEFT(B3, 9)). I have also...
  9. O

    IF function to distribute values randomly in a table

    I am working on a model of charging load of electric vehicle. I am attaching a link to an excel workbook for your better understanding. Column B contains random time values Column G to P represents houses and each house can have 1 car. So the each time values needs to be distributed in one...
  10. R

    Generate Large Random number (125 digits) without scientific E+ at end

    Hi All, Quick question. I want to generate a list of random numbers each 125 digits long, including zeros, with a full output - not reduced to an E+ number. Excel seems to have limit on the RAND and RANDBETWEEN after about 17 digits. Any suggestions appreciated. Thanks,
  11. J

    Random password selector

    I am trying to create a random password selector with the following parameters. I want to put a lot of passwords (around 5-10 columns with 100 passwords in each column) onto a worksheet and hide it I want the formula to say "when there is a value in B2, put one of the random passwords from the...
  12. P

    Random Selection in Column w/ No Repetition in Row

    I need help creating a schedule that generates random selections with limited repetitions. The selections will go down the column with limited repetitions down the row. I thought I was on the right track but I'm stuck...
  13. G

    Sum of rounded values to equal original value

    Hi all, I have a random monetary value that is divided by a random number between 2 and 12. For example £6,992.00 divided by 6 = 6 equal amounts (after using the ROUND formula) of £1,165.33. I need the sum of the rounded instalments to always equal the original value (in this case £6,992.00)...
  14. S

    Random number generator - vba

    I have found code online to generate a random number using VBA (on click of button) How do I get it to display a certain cell (H5) rather than in a msgbx? Sub random_num() 'Initialize the random number generator '=> Randomize : add this before you call the Rnd function to obtain...
  15. Jan Kalop

    adding loop in VBA

    I have already VBA for random numbers, but I would like to add loop for how many times the random is run and the number foe sample is in Z25 "Sub TwentyfiveRandOf25() Dim anArray(1 To 25) As Long Dim i As Long Dim randIndex As Long, temp As Long For i = 1 To 25...
  16. L

    filling cells with random numbers

    Hi I got run time error 1004 running the code below. Tried everything but no luck. Any help would be appreciated. It is just to fill a cells with random number Thanks Sub random1() Dim i As Integer Dim j As Integer For i = 0 To 10 For j = 0 To 3 Workbooks(1).Worksheets(1).Cells(i, j).Value =...
  17. R

    Non-repeating list of random numbers between 0001 and 9999, only need 2051 of the 9999

    Hi, I want to generate a list of non-repeating random numbers between 0001 and 9999, but I only need a total of 2051 of the 9999 I want to have 5 separate / individual columns, each with one set of non-repeating numbers. Any suggestions, comments, ideas welcome. Thanks
  18. C

    Excel 2016 - Cannot type in cell at random times

    I'm using Excel 2016. At Random times, I cannot scroll thru the sheet, nor can I type anything in a cell. Is there a fix or workaround? Thanks
  19. M

    Random cell?

    Hi, Hope this makes sense to someone. A1 = Question 1 A2 = Possible answer A A3 = Possible answer B A4 = Possible answer C A5 = Possible answer D In cells A6, A7, A8 & A9 I would like to display the contents of either A2, A3, A4 or A5 this must be in a random order as I wish to drag the...
  20. B

    Random binary string generation?

    Hi Peoples; - I require to generate a col string of random 0's or 1's - (no blank cells) effectively just a simple random binary data string. The appliance of weighting is not required... I would have thought this would be available as a simple Excel function but cannot locare it...? Thank...

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