Bill Jones
New Member
- Joined
- Apr 30, 2019
- Messages
- 1
I am trying to generate a random Date and Time in excel but I need to remove the
volatility out of the Randbetween function. The formula I an currently using is as follows:
=RANDBETWEEN(--"2019-03-17",--"2019-04-29")+RAND()*("0:59"-"17:00")+"1:00"
But by using this function the generated Date and Time in volatile and I need it to stay constant once the Date and Time are generated of that cell.
I am not good an programming Macro's so I have not gone that route but I assume that is the only way to accomplish this task.
If anyone can help it would be appreciated.<strike></strike>
=RANDBETWEEN(--"2019-03-17",--"2019-04-29")+RAND()*("0:59"-"17:00")+"1:00"
But by using this function the generated Date and Time in volatile and I need it to stay constant once the Date and Time are generated of that cell.
I am not good an programming Macro's so I have not gone that route but I assume that is the only way to accomplish this task.
If anyone can help it would be appreciated.<strike></strike>