  Get instant live expert help with Excel or Google Sheets “My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

# How to Get Random Times at Specific Intervals in Excel Read time: 20 minutes Figure 1. Random Times at Specific Intervals in Excel.

Let’s say we have to come up with random times within specific intervals in Excel, we must utilize the RAND and FLOOR functions.

## Generic Formula

`=FLOOR(RAND(),"0:15")`

The Excel RAND and FLOOR Formula requires no input parameters to generate random decimal numbers from time intervals between 0 and 1.

## How to use the RAND and FLOOR functions in Excel.

Simple numbers are used to define Excel dates, Where 1 = 1 day.

Therefore, we can simply the decimal value of time by 1 to obtain a value which corresponds to time as Excel sees it.

Follow the 2 simple steps discussed below to observe how we apply the RAND and FLOOR functions.

1. In our worksheet example below the RAND and FLOOR formula we have entered into cell A2 is as follows;

`=FLOOR(RAND(),"0:15")` Figure 2. Random Times at Specific Intervals in Excel.

In our worksheet example above, RAND() generates a decimal number between 1 and 0, then the FLOOR Function proceeds to round that decimal number down to the nearest interval which are then expressed as recognized time intervals.

1. Enter the RAND and FLOOR formula in cell A2 above into a few other cells in the RANDOM TIMES column to achieve other results. Figure 3. Random Times at Specific Intervals in Excel.

## Note

Each time we enter the RAND and FLOOR formula, Excel will generate a random time within 15-minute intervals.

## Instant Connection to an Expert through our Excelchat Service:

Our live Excelchat Service is here for you. We have Excel Experts available 24/7 to answer any Excel questions you may have. Guaranteed connection within 30 seconds and a customized solution for you within 20 minutes.

### Did this post not answer your question? Get a solution from connecting with the expert. Another blog reader asked this question today on Excelchat:
Related blogs
Solution examples I'm Apply a =RANDBETWEEN formula in one cells want to apply Formula to entire column and run formula when i hit the entire on the particular cell
Solved by M. S. in 20 mins Help! In a coin toss I have a 1 in 2 (fifty-fifty) chance of getting heads or tails. I need a formula to determine my chance of getting 4 heads in a row or 4 tails in a row out of 10 coin tosses. If I get 4 in a row I win. What formula can I use to determine my chances of winning if I repeat the 10 tosses for hundreds or thousands of times? I get as far as =RANDBETWEEN(0,1) but I have not been able to figure out what formula to use to determine if there are 4 in a row in a group of 10 tosses, times thousands of groups with 10 tosses in each group. Thank-you for any help you can provide.
Solved by V. F. in 51 mins I have 4 column. when i fill the first 3 column. in 4th column i need a unique id number and i generate unique id number using RANDBETWEEN formula [ =CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(1000,9900) ] but i want ..... when i'm filling the 3 column after that 4th column run this formula and generate unique id automatically
Solved by X. Q. in 20 mins when i fill column A and B then C column generate Unique ID using RandBetween Formula {=CHAR(RANDBETWEEN(65,90))&CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(1000,9900)} ...
Solved by S. Q. in 20 mins ## Subscribe to Excelchat.co Another blog reader asked this question today on Excelchat: