time generator between two times
2. Then drag the fill handle over to the range cells that you want to fill with the random time. Generate random time between two times in Excel. If you want to generate random time between two given times, such as generate time from 6 oâclock to 9 oâclock, you can use below formula. Type this formula: =TEXT(RAND()*(9-6)/24+6/24,HH:MM:SS) into a blank cell, and drag the fill handle over to the range that you want to insert the time.