+ Reply to Thread
Results 1 to 3 of 3

Random Decimal Numbers

  1. #1
    Registered User
    Join Date
    11-27-2022
    Location
    earth (Isle of Sodor)
    MS-Off Ver
    MS Excel 2019
    Posts
    22

    Random Decimal Numbers

    All:
    How can I generate a random decimal number (2 decimal accuracy) between 1.4 and 2.5?

    Thanks in advance

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,373

    Re: Random Decimal Numbers

    From Excel's help file for the RAND() function (https://support.microsoft.com/en-us/...0-021ea9f5be73 ):
    To generate a random real number between a and b, use:
    =RAND()*(b-a)+a
    . Nest that inside of a ROUND() function to round to the desired number of decimal places, or use number formatting to display to the desired number of decimal places (depending on exactly what you need the cell's value to be).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: Random Decimal Numbers

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Formula of two 2-decimal numbers returns an extended decimal number
    By Matt Triplenichol in forum Excel General
    Replies: 1
    Last Post: 08-09-2022, 05:44 PM
  2. Filtering random numbers without regenerating random numbers
    By ptack in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2022, 04:03 PM
  3. Replies: 1
    Last Post: 05-03-2022, 05:13 AM
  4. [SOLVED] Experiencing Problems with Numbers breaking down to random decimal places
    By Daniel_McCann in forum Excel General
    Replies: 7
    Last Post: 10-13-2014, 11:00 AM
  5. Replies: 3
    Last Post: 08-28-2013, 08:45 AM
  6. [SOLVED] Non-random numbers generated by excel's data analysis random gener
    By Allie in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-17-2005, 02:05 AM
  7. Replies: 2
    Last Post: 09-13-2005, 12:05 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