

Randomized data in Excel isn’t limited to just numbers or dates. Now, all of your random numbers should look like dates. Press “OK” once you’re done (or “Enter” on the keyboard). Right-click and select “Format Cells” from the menu.įrom here, choose the “Date” option and then choose the format you prefer from the available list. Once done, highlight all of the data in the column. Just like in the previous section, we’re going to click the “+” sign at the bottom right of the cell and drag it down as far as needed to add additional randomized data. You’ll notice that this doesn’t look anything like a date yet.
/GettyImages-627412588-5be9cb95c9e77c0026b8fa3c.jpg)
Press “Enter” on the keyboard or click the “Green” arrow to the left of the Formula bar to apply the formula. Our sample is set to pick a random date in 2020. You can change anything in parenthesis to fit your needs. If your sole purpose is to return a single decimal value just type RAND () and press the Enter button. RANDARRAY (Excel 365, Excel 2021) The RAND function returns a random number between 0 and 1. Select your starting cell and then copy and paste the following formula into Excel’s Formula bar. There are multiple functions to generate random numbers in Excel: RAND. Finding the number for the date you need isn’t so straightforward, but we’ve got you covered. Press “Enter” on the keyboard to finish.Įxcel’s built-in calendar treats each date as a number, with the number one being January 1, 1900. Next, choose “Currency” under the “Category” menu and then select the second option under the “Negative Numbers” option. Start by right-clicking inside the cell, and selecting “Format Cells.” Once done, you’ll need to clean up the data just a little. In this case, we’re choosing a random number between $1 and $1,000. Just change the dates in parenthesis to meet your needs. By default, RANDBETWEEN only returns whole numbers, but we can change that by using a slightly modified formula. You can use the same formula for monetary values with a simple tweak. Click and drag it to the last cell in the column where you want to apply the formula. In the lower-right corner, hover over the cell until the “+” icon appears. Press “Enter” on the keyboard or click the “Green” arrow to apply the formula. This formula picks a random number between one and 1,000. You can change the number inside the parenthesis to fit your needs. Copy the following formula and paste it into Excel’s Formula bar.
