All:
How can I generate a random decimal number (2 decimal accuracy) between 1.4 and 2.5?
Thanks in advance
All:
How can I generate a random decimal number (2 decimal accuracy) between 1.4 and 2.5?
Thanks in advance
From Excel's help file for the RAND() function (https://support.microsoft.com/en-us/...0-021ea9f5be73 ):. 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).To generate a random real number between a and b, use:
=RAND()*(b-a)+a
Originally Posted by shg
How aboutFormula:![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks