Results 1 to 10 of 10

Thread: Random Time Between Fixed Lower And Upper Limits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jun 2013
    Posts
    13
    Rep Power
    0
    Are you wanting 6-9am in the Stretches column, 11am-2pm in the Running warmups column, ect..?

    If so, then you can just use the
    Code:
    =TIME(6,RANDBETWEEN(0,180),0)
    in the correct column and adjust the bolded numbers to whatever time frame is needed for that column. The example formula above would be for the Streches column.
    Last edited by testingcode; 07-19-2013 at 11:25 PM.

  2. #2
    Member
    Join Date
    Nov 2012
    Posts
    33
    Rep Power
    0
    Quote Originally Posted by testingcode View Post
    Code:
    =TIME(6,RANDBETWEEN(0,180),0)
    Can you explain something for me? I understand MOST of the formula, but not all. =TIME(6,RANDBETWEEN(0,180),0)

    I understand the 6 (6 oclock) and the 180 (180 minutes-three hours past 6 = 9), but what about the 0 in (0,180)?

    Thanks

  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    13
    Rep Power
    0
    Quote Originally Posted by papabill View Post
    Can you explain something for me? I understand MOST of the formula, but not all. =TIME(6,RANDBETWEEN(0,180),0)

    I understand the 6 (6 oclock) and the 180 (180 minutes-three hours past 6 = 9), but what about the 0 in (0,180)?

    Thanks
    RANDBETWEEN(0,180) means that it picks a random number between 0 and 180. 0 is your lower bound and 180 is your upper. For example, a RANDBETWEEN(10,180) would never return a 1, 2, or 3, ect..

  4. #4
    Member
    Join Date
    Nov 2012
    Posts
    33
    Rep Power
    0
    I understand now, thanks.

Similar Threads

  1. Custom Charts in Excel :: Comparison RAG Chart Showing Tolerance Limits
    By Transformer in forum Tips, Tricks & Downloads (No Questions)
    Replies: 0
    Last Post: 06-13-2013, 09:40 PM
  2. Calculate Time Difference Between Time In HH:MM
    By Stalker in forum Excel Help
    Replies: 8
    Last Post: 03-28-2013, 03:27 PM
  3. Fixed asset Register
    By Howardc in forum Excel Help
    Replies: 1
    Last Post: 11-14-2012, 10:20 AM
  4. Reverse name in excel with upper case,edit formula
    By shrinivasmj in forum Excel Help
    Replies: 3
    Last Post: 09-11-2012, 01:31 PM
  5. Spreading a time range (shift time, etc) in columns.
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 1
    Last Post: 08-23-2011, 11:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •