+ Reply to Thread
Results 1 to 3 of 3

How would I generate a random number between 5 and 8 but with two digit decimal behind it

  1. #1
    Registered User
    Join Date
    12-01-2011
    Location
    el pueblo de nuestra senora la reina de
    MS-Off Ver
    Excel 365
    Posts
    34

    How would I generate a random number between 5 and 8 but with two digit decimal behind it

    How would I generate a random number between 5 and 8 but with two digit decimal behind it?
    I saw how to do it with a single decimal point. And I can do a very large one and then truncate it, but is there an easier way?

    Thank you

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How would I generate a random number between 5 and 8 but with two digit decimal behin

    =RANDBETWEEN(500,899)/100
    or 800 if 8.00 is your highest value
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-01-2011
    Location
    el pueblo de nuestra senora la reina de
    MS-Off Ver
    Excel 365
    Posts
    34

    Re: How would I generate a random number between 5 and 8 but with two digit decimal behin

    Thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 20
    Last Post: 09-27-2019, 10:11 AM
  2. Generate non-repeating random Double-Digit numbers
    By jomili in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-17-2019, 09:32 AM
  3. Replies: 6
    Last Post: 08-31-2015, 03:08 PM
  4. [SOLVED] VBA to generate random 5-digit serial numbers using
    By emymeeky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2014, 03:34 PM
  5. Replies: 5
    Last Post: 06-21-2013, 10:40 AM
  6. [SOLVED] Generate random 6-16-byte random hexadecimal number
    By jsamuelshn in forum Excel General
    Replies: 6
    Last Post: 07-20-2012, 10:38 AM
  7. generate a random number and use if function to generate new data
    By Dogdoc1142 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-25-2006, 10:50 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1