We need to use the DATE function to create the Date inputs for the bottom and top Dates.. Step 3: We just need to drag fill handle down to create more random times. For this, we will be needing the use the following functions: Now we will make a formula out of these functions. How to select random rows with no repeats in Excel 365; How to do random sampling in Excel 2010 - 2019; How to prevent Excel random sample from changing; Random selection in Excel 365 - Excel 2010: rows, columns or cells; Excel random selection from list with no duplicates. You can also generate a random time. And then, you should format the numbers to date format, please select the cell, and right-click, choose Format Cells from the context menu. Now we will be using the formula to generate the date values. Random Date Generator For various simulations, you may need to generate a random date. Step 1. In this worksheet, let's generate 20 random dates between May 1 and May 30, 2020. A simple guide on how to make the random name generator using Excel . In some special cases, we may want to generate random Yes or No in a range in Excel, here I will tell you some formulas to quickly generate random Yes or No in Excel. Just press a button and get your random calendar dates. One of the nice things about the RANDARRAY function is that it makes it easy to generate a list of random dates. Click Kutools > Insert > Insert Random Data, see screenshot: 3. In such cases, you can use excel’s RAND() and RANDBETWEEN() formulas [syntax and help] to pick a random date. Click OK, the numbers have been converted to the normal dates. Making plans without a set date? This website uses cookies so that we can provide you with the best user experience possible. Pick a total of random date (s) (maximum 25). Press a button, get random dates. Type or copy your list, each name comes into a separate row. Generate random data online and export to XLS, CSV. The generic syntax for RANDBETWEEN function is: =RANDBETWEEN(bottom, top) OR =RANDBETWEEN(date1, date2) In this example, we want to assign a random test date for a physical fitness test to a group of candidates. How to generate random date between two dates in Excel Excel How Tos, Shortcuts, Tutorial, Tips and Tricks on Excel Office. The returned number can be converted to date value via changing the format of the cell to a short date. This tool can be also used as random birthday generator. Here is a guide on how to do it yourself. The CHOOSE function returns error if the returned number by the RANDBETWEEN function exceeds the number of values. The RANDBETWEEN function returns numbers whcih are in fact the date value when converted to date format. Once you have received the verification code, you will be able to choose a new password for your account. Do you need a simple random name generator in Excel to quickly select winners offline? The RANDBETWEEN function returns an error, if the first number argument ( bottom ) is larger than the second number argument ( top ). Your email address will not be published. Generate Dates: You can generate a list of dates either random or in order with specific rules set by you. First is using it when the given list of date value is small. Enter the formula =RANDBETWEEN (DATE (2016,1,1),DATE (2017,12,1)) in cell A1 as shown below. Tips:To apply this Insert Random Date feature, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily. Step 1: Think of a start date and end date for your random dates. 2012-01-01 is 40909 and is also 40909 days later from the date 1900-01-01. For a new spreadsheet, numeric values, dates … Now, to use the RANDARRAY function for this, we're going to need a max and min value. It’s rather easy. Please share your query below in the comment box. After changing the cell to Short date format. Step 1: Refer to above parts, we can update the formula to get date and time properly. Now drag down or right to get as many number of date values. STEP 2: The Randbetween arguments: Enter the Start Date (bottom) and the End Date (top). Free random data generator - RANDAT.COM allows you to generate online a table with random personal information: name, age, occupation, salary, etc. The second example (rows 3 and 4) creates a formula that generates a random number between 1 and 10 and 1 and 100. Now drag down and right to generate as many number of date value as you want. As dates are stored as serial numbers in Excel, therefore we can generate a random date between two dates using RANDBETWEEN function. DATE (2019,1,1) returns the 1/1/2019 the first date of the year & DATE(2019,12,31) returns the 12/31/2019 the last date of the year. As dates are stored as serial numbers in Excel, therefore we can generate a random date between two dates using RANDBETWEEN function. 50 Excel Shortcut to Increase Your Productivity. DOWNLOAD EXCEL WORKBOOK . Excel RANDBETWEEN function generates a set of integer random numbers between the two specified numbers. The second formula RAND() … You can adjust all of your cookie settings by navigating the tabs on the left hand side. MS Access VBA Programming MS Excel VBA MS Word VBA VBA VBA Date/Time One response on “ VBA – Generate a Random Date Between Two Dates ” Les Thomas April 7, 2020 at 1:02 pm So next time you need a lot of random numbers, instead of heading to a website or another tool, fire up Excel! ROWS function will return the length of the list or data. We provide you with A - Z of Excel Functions and Formulas, solved examples for Beginners, Intermediate, Advanced and up to Expert Level. How to use the RANDBETWEEN Function in Excel . Step 3. Date values from a long list of data values. Google serves cookies to analyse traffic to this site. Please enter the email address for your account. Enter the formula below =WORKDAY (\$B\$1-1,RANDBETWEEN (1,NETWORKDAYS (\$B\$1,\$B\$2))) For this we can use either of the two formulas. =RANDBETWEEN(DATE(2019, 1, 1),DATE(2019, 10, 20)), Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by We will assist you. =RANDBETWEEN (date1,date2) 1-Click Thank You; Share with Friends; … teaching, learning MS Excel), for testing databases or for other purposes. In cell C6, I'll enter 20 since we want 20 dates total. RANDBETWEEN function returns a random integer in a range of integers. Information about your use of our site is shared with Google for that purpose. If with wildcards. Select a cell that you want to insert a random date, and enter this formula: To choose a random weekday between two dates A1 and A2, inclusive: =WORKDAY(A1-1,RANDBETWEEN(1,NETWORKDAYS(A1,A2))) To add a random number of non-weekend days to the previous date, with the previous date being in A1: =WORKDAY(A1,RANDBETWEEN(9,11)) You could put this in B1 and drag down for an arbitrary number of days. You're using an AdBlocker. To pick a date at random, start by specifying the start and end date (day, month, and year) of the period you want to select a random date from. Generate Random Numbers using RANDBETWEEN function in Excel. Part 3: Generate Random Date and Time in Excel. By combining these three awesome methods the unique ID is a breeze. The actual Syntax for the formula is: =RANDBETWEEN(bottom, top) When we tell the formula the top and the bottom values, the formula start giving us random numbers in the range. Step 2: Click Enter to get the result. So how do we do that? Periodic sampling: A periodic sampling method selects every nth item from the data set. Excel's RAND() functions generate random values between 0 and 1. 80%, Convert Between Cells Content and Comments, Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier, Insert Random (Integer) Numbers Between Two Numbers, Generate Random Character Strings In A Range. Today, I’d like to share with you an amazing formula trick to generate random letters in Excel. Learn How to Generate Random Text Values in Excel . As I said, there is no direct function in excel which can help you to get random letters/alphabets. Step 2: Customise your formula by changing the start date and end date in the formula =RANDBETWEEN(DATE… The first problem is where the two dates are given in as direct argument to the function. Hit enter and copy down the formula till the row which you want random dates to be generated. So we just need a formula where we can input dates as numbers and get the return result in date format. When you need a little more flexibility try RANDBETWEEN(). For example, enter =RAND() in cell A1. Free online random date generator for everyone. A verification code will be sent to you. RANDBETWEEN will generate a number between 1 to number of values in the list. Columns - the number of columns to fill with dates. Excel Random Selection: How to Get Random Sample From a Dataset, How to use the RANDBETWEEN Function in Excel, 50 Excel Shortcut to Increase Your Productivity, Convert Inches To Feet and Inches in Excel 2016, Your email address will not be published. In the example shown, the formula in B5 is: = RANDBETWEEN(DATE(2016,1,1),DATE(2016,12,31)) This formula is then copied down from B5 to B11. Possible conditions can be as follows. The CHOOSE function just returns the value as per index value. Now we need a bunch of random dates between the two given dates. I'm currently trying to use the function to generate a date that must be between today and two months ago, 13/10/2010 and 13/12/2010. Let’s see how to generate a list of random date between two dates in excel. As you can see in the above snapshot the outcomes of the formula. Popular Articles. For example 8:00:00 AM = 0.333333333333333 which is 8/24. Error if the value argument to the function is given as array. As you can see the formula returns the date value between the two given dates. And, the best part is it’s simple and easy to use. Here we have given two different dates in cell D3 & D4. 4. Date 1 is the starting date and Date 2 is the ending date and we would like to generate dates between these two. Download the Excel Random Student Name Generator by clicking below: Excel Random Student Name Generator. How to use Excel's DATE, RAND and RANDBETWEEN functions to create formulas for random numbers, for dates, for sets of random numbers and dates, and for series of dates in date order yet separated by random numbers of days. Verify that a random date and time is returned properly. Setting up the Data. … We will use the DATE function with the RANDBETWEEN function. RANDBETWEEN function returns data between bottom and top, DATE function returns a date. As you can see the formula returns all the date values from the given list of date values. By default, the RANDARRAY function generates random decimal numbers between 0 and 1. To generate a sequence of dates in Excel, set up the following arguments of the SEQUENCE function: SEQUENCE (rows, [columns], [start], [step]) Rows - the number of rows to fill with dates. If you want to generate random decimal numbers between 50 and 75, modify the RAND function as follows: RandArray. How it Works. It can be used as a lucky draw generator, raffle generator and you can randomize any items, not only select winners. Select a list of cells that you want to insert the random date. After installing Kutools for Excel, please do as this: 1. Now drag down and right to generate as many number of date value as you want. We can generate Random Text Values or Letters from a list by using the RANDBETWEEN and CHOOSE functions. Steps to G enerate Random Dates in Excel. By default the period is one calendar year starting from today. Using F9 to get non-updating numbers and Ctrl + Enter to generate many numbers at once just top it off. The RANDBETWEEN function returns error, if the argument to the function is non - numeric. It can be used with RANK to generate unique random numbers in Excel (as shown later in this tutorial). There are several methods to insert random numbers in a range as follows. To post as a guest, your comment is unpublished. RANDBETWEEN function returns data between bottom and top, DATE function returns a date. Random Lists. Date values from a small list of date values. How to select random rows with no repeats in Excel 365; How to do random sampling in Excel 2010 - 2019; How to prevent Excel random sample from changing; Random selection in Excel 365 - Excel 2010: rows, columns or cells; Excel random selection from list with no duplicates. However, it only gives random numbers between 0 and 1. Would you considering supporting the site in another way? On generating random Time, you need to understand first that excel stores time as a fractional portion of a 24 hour day. To generate a random list of all the dates in 2007 get Random.org’s Sequence Generator to make a list from 39083 to 39477. Find more articles on TEXT functions here. In Excel, you can mix the Randbetween and Date function to create random date, please do as follows: 1. Sometimes you may need to generate random strings in cells, such as different passwords. Generate random birthdays, event dates, etc. There are no ads, popups or nonsense, just a random calendar date creator. Actually, we can apply some formulas to insert random time into the worksheet. Even if you're organizing a party or event of a little less significance. Only works in the latest builds of Excel 365 that support dynamic arrays. = RANDBETWEEN (bottom, top) →→bottom (smallest integer) & top (largest integer) And since excel stores date as sequential serial numbers, we can use RANDBETWEEN to generate a random serial number which will be formatted as a date. Now for the fourth kind which is long list of date values. W. start with the CONCATENATE Function, the LEFT Function, and the COUNTIF Function. The tutorial shows how you can leverage the new SEQUENCE function to quickly generate a list of dates in Excel and use the AutoFill feature to fill a column with dates, workdays, months or years. In this article, we will learn to generate random date in Excel. If you want to generate random decimal numbers between 50 and 75, modify the RAND function as follows: RandArray. About the random date generator. Note: For sampling in Excel, It accepts only the numerical values. Absolute reference in Excel. STEP 1: We need to enter the Randbetween function =RANDBETWEEN . We have many users using our pick as day, month and year generator. This means that every time you visit this website you will need to enable or disable cookies again. The dates are basically serial numbers  in Excel. Hi all, I've quite new to the =randbetween function. Generating random numbers in Excel is very easy with the RAND function, and RANDBETWEEN gives you even more options. This wikiHow teaches you how to generate a random selection from pre-existing data in Microsoft Excel. Date AND Time. The CHOOSE function returns #VALUE! If you have Excel 365, you can use the magic RANDARRAY function. You can use the mentioned formula as a date randomizer too. Excel RANDBETWEEN function generates a set of integer random numbers between the two specified numbers. One way to generate random numbers in Excel is with the RAND function. Preface. All you have to do is go to the ‘Student Input’ tab and paste in the names of your students. Did you ever struggle with Excel on how to generate Random numbers in Excel, or how to generate random dates in Excel? Generate Random Phone Numbers. Only valid calendar dates will be … So, just how can we achieve this result. Here we will give the range to the INDEX function from where it can generate different values from the list. Then, click OK button, and the dates between the specific two dates have been inserted randomly. As you can see the formula returns all the date values from the given list of date values. So what's the Formula to Generate Random Letters in Excel? The array below consists of 5 rows and 2 columns. About the random date generator. If you disable this cookie, we will not be able to save your preferences. As long as you have a basic timeframe, this random date generator can make the decision for you, leaving little or ample time for you to quarrel about all of the other planning. Ad revenue keeps this dumb site alive. lapolisia te baneara esta pagina panchito huevonazo. Date 1 is the starting date and Date 2 is the ending date and we would like to generate dates between these two. Step 1: Think of a start date and end date for your random dates. 2. You need to specify the range that you want to insert a random date. Microsoft ® Excel Formulas for Random Numbers and Dates. Hope this article about how to generate random date values in Excel is explanatory. Generate random date between two dates in cells with formula. In the Format Cells dialog box, click Number tab, and select Date from the Category, then select a date format you need from the Type drop-down list. Select a cell that you want to insert a random date, and enter this formula: Note: in the function, (2019, 1, 1) is the starting date, and (2019, 10, 20) is the ending date, you can replace them as you need. And RAND() function returns random fractions between 0 and 1. As you can see the formula works fine and returns the random date values within year 2019. However, it only gives random numbers between 0 and 1. Enter the formula below In this article, I will show you how to generate random dates in Excel using RANDBETWEEN() and DATE(). Now drag down or right to get as many number of date values. To generate random dates between two dates, you can use the RANDBETWEEN function, together with the DATE function. If with conditional formatting. ****SUBSCRIBE***** to my Excel at Excel newsletter 3 FREE Excel Tips every 15 days http://www.howtoexcelatexcel.com Do you want become an expert in Excel?. Now we know how dates in Excel work, let's say you want to create a random number between 2012-01-01 and 2012-12-31. Algorithm generates pseudo-random values and should not be used for cryptographic purposes. Comment: Actually, you can also only use RAND function itself to get a random time here. Give me a random date. Until recently, there has been just one easy way to generate dates in Excel - the AutoFill feature. So next time you need a lot of random numbers, instead of heading to a website or another tool, fire up Excel! DATE (2019,1,1) returns the 1/1/2019 the first date of the year & DATE(2019,12,31) returns the 12/31/2019 the last date of the year. Continue by selecting if … This will generate whole numbers between -20 and 10. The applications/code on this site are distributed as is and without warranties or liability. STEP 1: We need to enter the Randbetween function =RANDBETWEEN . Open and create multiple documents in new tabs of the same window, rather than in new windows. You can also copy this formula to other cells to get more random times. You can even exclude some of the specific days like official holidays or your vacation. Now we switch to a third kind of formula which is generating random date values form the given list of date values. Continue by selecting if you want to exclude certain days of the week from the draw. Give a start and end date range and generate multiple random dates within that range. When you use an Excel file, sometimes you want to generate random date for some purpose, of course, you can enter the date manually one by one, but if you need to insert multiple dates, this method will be time-consuming and boring. Verify that a random time is displayed. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful. Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings. The index will be generated by the randbetween FUNCTION. well, you have a treat here. This formula will return a random date between 2019,1,1 and 2019,12,31. In Excel, in a common situation, most of us may need to insert random numbers, date or text strings as our desired. In cell E5, I'll enter the RANDARRAY function. Get latest updates from exceltip in your mail. By itself, RAND generates a limited range of random numbers, but by using it in formulas with other functions, you can expand the range of values so that: RAND can be made to return random numbers within a specified range, such as 1 and 10 or 1 and 100 by specifying the high and low … The rows … Use the formula: Example: Create a List of Random Dates Between Two Defined Dates. Here the solution to the problem depends on the condition. And the dates between the given two dates have been generated randomly. CHOOSE function returns the value from the list of values from the index returned by the randbetween function. The third example (row 5) generates a random integer between 1 and 10 using the TRUNC function. We are going to use three formulas or methods to do do this. Excel uses numbers as dates, called the 1900-system. Let's say we need random dates between two given dates for any given reason. How to use Excel's DATE, RAND and RANDBETWEEN functions to create formulas for random numbers, for dates, for sets of random numbers and dates, and for series of dates in date order yet separated by random numbers of days. We will write a simple formula in excel using RANDBETWEEN and NETWORKDAYS function in excel to generate random weekdays dates. We will write a simple formula in excel using RANDBETWEEN and NETWORKDAYS function in excel to generate random weekdays dates. For example, I want my set of dates to fall between 2019/3/4 to 2020/12/4. MS Access VBA Programming MS Excel VBA MS Word VBA VBA VBA Date/Time One response on “ VBA – Generate a Random Date Between Two Dates ” Les Thomas April 7, 2020 at 1:02 pm Last updated on 2020-05-26 by David Wallis. But first freeze the cell reference. 1. See screenshot: It seems that the above method is some troublesome, is there an easier and quicker way to solve this problem? The date value must be given as cell reference or using the DATE function or else the function return. The dates in serial number can be determined as shown below. Please enter or copy the below formula into a blank cell, then drag the fill handle to the cells that you want to insert the date and time. Enter the formula =TEXT(RAND()*(“1/1/2019 7:00:00” – “12/31/2019 13:00:00″)+”12/31/2019 13:00:00″,”MM/DD/YYYY HH:MM:SS”). But sometimes, have you ever tried to insert times randomly in a range of cells? Considering supporting the site in another way for the fourth kind which generating... Returned properly following functions: now we will be able to create date! We need to understand a random date generator excel more flexibility try RANDBETWEEN ( ) function returns error, if you want exclude... Number generated by the RANDBETWEEN function shown in … this will generate whole numbers 0! Experience possible get your random dates between these two RAND function, and reduces of! Code, you may need to understand a little more flexibility try RANDBETWEEN ( ) in. Error, if you have received the verification code, you can change start and end,. Different values from the date values exceeds the number of values in Excel to generate a date... Xls, CSV between -20 and 10 using the TRUNC function as start and. Of the cells to date format it ’ s simple and easy to random... The two given dates we 're going to need a lot of random dates result... Is one calendar year starting from today by random date between 2019,1,1 and 2019,12,31 if you choose 3. Above problems but for that first we need to enable or disable cookies again random Letters in Excel ). First is using it when the given list of random dates in cells, such as start date we... Of up to 1000 ’ tab and paste in the latest builds of 365..., modify the RAND function as follows: RANDARRAY be determined as below! And end date ( s ) ( maximum 25 ) as this 1..., Shortcuts, tutorial, Tips and Tricks on Excel Office sampling in Excel, then change the format the... Can input dates as numbers and Ctrl + enter to generate dates in cells C4 C5... Specify What you want to insert the random name generator by clicking below: Excel random Student generator. Random values between two given dates how dates in cells with formula 1 to number of date values in! Excel - the number generated by the RANDBETWEEN function may 30, 2020 formula till row. In cells with formula by navigating the tabs on the other hand the of! ’ tab and paste in the comment box new password for your random calendar date creator simply select one... The row which you want to generate dates between the these given numbers which then can be used with to! Only gives random numbers in Excel you to format those dates according to your standard (..., Click OK random date generator excel the RANDARRAY function generates a set of dates to be generated party or of... Your vacation range is already a fixed reference so assume we need random dates between two dates, and gives... Other purposes choose every 3 rd item in the latest builds of Excel 365 you... Of our site is shared with google for that purpose mix the RANDBETWEEN =RANDBETWEEN! Part 3: we need a little about the Excel RANDBETWEEN function.. Which then can be converted to the function is non - numeric that the above method is some,... Holidays ; Search Menu code, you will be using random date generator excel TRUNC function,,... Three formulas or methods to insert random numbers in Excel argument to function! Data between bottom and top, date function to reduce the number of data from a random time, will. Date generator tool, fire up Excel 50 %, and RANDBETWEEN gives even... Get as many number of date values within year 2019 form the random date generator excel! 1900-01-01 and it is represented by number 1 Specify the random date generator excel that you want to unique! Have given two different dates in Excel do is go to the ‘ input. Of date values from the index function from where it can generate a date! Used with RANK to generate random date that the above method is some troublesome, is there an and. Randbetween will generate whole numbers between the given two different dates in cells with,., together with the RAND function as follows to a website or another tool, fire Excel. Excel ), for testing databases or for other purposes the last (... Will show you how to generate random date values must be given as cell reference or using formula... Tool can be used with RANK to generate dates between these two the same window, rather than in windows... The formula returns all the date function generates date value is small 's say you want to unique. To create random date, please do as follows random letters/alphabets Student names ; Search.... The following functions: now we need a lot of random numbers between the specific days like holidays. Comment: Actually, you need a bunch of random date between two dates using function... Selecting random number between 1 and may 30, 2020 little more flexibility try RANDBETWEEN ( ) … Download Excel..., modify the RAND function, together with the best part is it s... Generator parameters such as different passwords your standard the normal dates the on. ) freezes the cell to a website or another tool, you can use is 1900-01-01 and is. … one way to generate as Text or date or numbers and Ctrl + to... A periodic sampling: a periodic sampling, CSV names ; time ; Months ; Vacations ; holidays ; Menu... ( e.g different dates in Excel, you may need to drag fill handle down to a! Want 20 dates total the data set quickly generate random dates in Excel once you have Excel 365, will... So the formula works fine and returns the value as per index value now the second formula (. Now drag down and right to get non-updating numbers and then Click on generate with Friends ; free! Your comment is unpublished the cell to a third kind of formula which is 8/24 ( bottom ) the. These three awesome methods the unique ID is a guide on how quickly. To exclude certain days of the nice things about the RANDARRAY function works and. To understand a little about the Excel RANDBETWEEN function generates a set dates., modify the RAND function, and reduces hundreds of mouse clicks for you every.. You choose every 3 rd item in the latest builds of Excel users generating. Date generator for various simulations, you can mix the RANDBETWEEN function returns a...., your comment is unpublished values from the data set the COUNTIF function the names of students... Example: create a random date, end date ( s ) ( maximum 25 ) way... A number between 2012-01-01 and 2012-12-31 achieve this result I 'll enter 20 since we 20... It off new password for your random calendar date creator: RANDARRAY whole numbers between 0 and 1 start... We would like to generate random date generator excel random numbers between the two dates have been to... Excel is very easy with the date values ; Search Menu ( date ( s ) ( maximum 25.... Now drag down or right to generate random date of the specific days official. Disable cookies again portion of a 24 hour day a small list data! To XLS, CSV formula out of these functions we switch to a third kind of formula is! They ’ ll appear as dates are stored as serial numbers in Microsoft?... Is … learn how to quickly generate random date values function =RANDBETWEEN year generator below: random... Tos, Shortcuts, tutorial, Tips and Tricks on Excel Office bottom ) the. Level of randomization is sufficient for all common needs either of the window... Used with RANK to generate random data, see screenshot: 3 with.. Holidays or your vacation an amazing formula trick to generate as many number of data values F9! Like to generate as Text or date or numbers and then Click on generate see screenshot it! Dates for any given reason, tutorial, Tips and Tricks on Excel.. Today, I 'll enter 20 since we want 20 dates total Refer... We just need to generate random date values from the list … one way to generate random Letters in.! The week from the index returned by the RANDBETWEEN function =RANDBETWEEN Download the Excel random Student generator. The dataset with repetition now drag down and right to generate random date between 2019,1,1 and 2019,12,31 as... The bottom and top, date function returns error, if you Excel! Bottom ) and the COUNTIF function F9 to get non-updating numbers and then Click on generate two. Data collection export to XLS, CSV in serial number can be used RANK. Feature will help you to format those dates according to your standard and function! = 0.333333333333333 which is long list of cells and Specify What you want to insert times in! Create the date value which can help you to format those dates according your. To a website or another tool, fire up Excel can save your preferences )! Popups or nonsense, just a random numeric value between two specified numeric values this set up in,... The argument to the function is given as cell reference Text or date or numbers and get your calendar. 50 %, and the COUNTIF function have many users using our pick as day, and. Excel random Student name generator using Excel else the function is given as cell reference using. Named range is already a fixed reference we 're going to need a little more flexibility try RANDBETWEEN (.!