Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Random Number Generation | Basic Functions
Google Spreadsheets Tutorial

bookRandom Number Generation

The RAND function generates a random number with decimal places in the range from 0 to 1 (exclusive). It is used for random data selection, generating random coefficients in modeling, and analysis. For example, when creating samples for statistics or simulating probabilistic processes.

Generating Random Numbers in a Range

The RANDBETWEEN function generates a random integer within the specified range, including the boundaries. It is used for generating random dates, numerical identifiers, or creating test data. It can also be used for selecting random contest participants, random questions in surveys, and more.

Task: Understanding RAND and RANDBETWEEN Functions

You have the following formulas in your spreadsheet:

AFormulaExpected Result
=RAND()?
=RANDBETWEEN(10, 50)?
=RANDBETWEEN(DATE(2020,1,1), DATE(2025,12,31))?
question mark

Which of the following answer choices correctly describes the possible results?

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 6. Kapitel 7

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Awesome!

Completion rate improved to 1.45

bookRandom Number Generation

Stryg for at vise menuen

The RAND function generates a random number with decimal places in the range from 0 to 1 (exclusive). It is used for random data selection, generating random coefficients in modeling, and analysis. For example, when creating samples for statistics or simulating probabilistic processes.

Generating Random Numbers in a Range

The RANDBETWEEN function generates a random integer within the specified range, including the boundaries. It is used for generating random dates, numerical identifiers, or creating test data. It can also be used for selecting random contest participants, random questions in surveys, and more.

Task: Understanding RAND and RANDBETWEEN Functions

You have the following formulas in your spreadsheet:

AFormulaExpected Result
=RAND()?
=RANDBETWEEN(10, 50)?
=RANDBETWEEN(DATE(2020,1,1), DATE(2025,12,31))?
question mark

Which of the following answer choices correctly describes the possible results?

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 6. Kapitel 7
some-alt