How to add a random number of minutes to an existing time in excel

ola97316

New Member
Joined
Jan 29, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi

I need to add a range of minutes (1-60) to an existing time in excel - i already have a date (column D) and i need to add between 1 and 60 minutes at random to that time.
Does anyone know how can I achieve that?

Thanks
Ola
 

Attachments

  • time problem excel.PNG
    time problem excel.PNG
    5.9 KB · Views: 14

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
In c2, place this formula.
=B2 + RANDBETWEEN(1,60) * 0.000694
The 0.000694 represents one minute.
 
Upvote 0
=B2 + RANDBETWEEN(1,60) * 0.000694
I would caution against using that because 1 minute is 1/24/60, which is 0.000694444 (recurring). Cutting short at 6th DP is prone to calculate results including seconds. That said, the OP might not mind have seconds added to the time value. ;-)
 
Upvote 0

Forum statistics

Threads
1,225,277
Messages
6,184,015
Members
453,205
Latest member
aromera

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top