This tutorials will teach you to use the excel random number generator to get random sample data from a spreadsheet. There are several approaches to this. Here is one way to accomplish this. Let's say that your 50 numbers are in cells A2:A51. Highlight cells B2:B51. Enter the formula =RAND() and hit Ctrl+Enter. This will enter the formula in all 50 cells at once. Copy B2:B51 with Ctrl+c. PasteSpecial the formulas into values by using Edit - PasteSpecial - Values - OK. You have now assigned a random number to each row. You could sort by column B and take the top 5, the bottom 5, whichever you prefer. If for some reason you can not sort the data, you could use column C and enter a Rank function. |