Home  >  Article  >  Topics  >  How to generate random decimals in excel

How to generate random decimals in excel

王林
王林Original
2020-06-12 13:42:0819445browse

How to generate random decimals in excel

The method for excel to generate random decimals is: it can be achieved through the RAND() function.

The specific method is as follows:

For example, we now want to generate random decimals from 1 to 100.

First select cell A1, then enter the formula [=RAND()*(100 - 1) 1] into cell A1 and press Enter. In this way we successfully generated a random number between 1 and 100.

Use the same method to drag down and save, and other random numbers will be generated, as shown below:

How to generate random decimals in excel

Recommended tutorial: excel tutorial

The above is the detailed content of How to generate random decimals in excel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn