Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use the RAND formula in Google Sheets

In fields including but not limited statistics, science, gaming, cryptography etc. the use or random numbers is a commonplace. For instance, statisticians may use randomness in a randomized experiment to test their hypotheses. Because, a random number usually follows no predictable pattern, and this can help simulate real-life scenarios. Spreadsheets are the most common tools we can use for common data analysis purposes. They come with readymade mathematical and statistical functions that aid us along the way. And, the RAND formula in Google Sheets is the one that serves the randomness requirement.

 

Syntax

RAND()

Please note that this is a standalone function, and doesn’t require any inputs. It returns a value between 0 and 1, including 0, but excluding 1. Every time the spreadsheet recalculates, the RAND formula will generate a new value for output.

Usage: RAND formula in Google Sheets

Let us take a look as to how it behaves if we were to use the same RAND formula in a bunch of cells. We tried doing that on the Google Sheets application and here’s how it looks.

RAND formula 1

As expected, and as the name suggests, the same formula returned different outputs in a random manner. The values keep changing, every time the Google Sheets application recalculates the sheet.

There are numerous practical applications of the RAND formula in real-life scenarios. But, for the purposes of demonstration in this post, let us consider a simple case.

A school is conducting a soccer tournament with eight teams that do not have any particular rankings. So the tournament organizer has to make a random knockout draw to pit the teams against each other. He needs to allocate the teams to the positions 1 to 8 in no particular order. After which he will have the Team 1 play against Team 8, Team 2 play against Team 7. Similarly, he will draw Team 3 and Team 6 as opponents, and then Team 4 and Team 5 as opponents.

How exactly does the RAND formula come in handy here? It can help us allocate random values to each team. Following which we can sort the range (A2:B9) on the second column. Once sorted, we can give them their positions in a serial manner (column C). Now that we have the positions, the draw is made simple.

RAND always returns decimals. When you need whole numbers within a range, such as 1 to 100, use RANDBETWEEN in Google Sheets instead.

RAND formula 2

You may also like…

google sheets features and formulas

How to find nominal interest rate using Google Sheets

Sarah is a young professional making significant financial decisions. From credit cards to mortgages, student loans, and investment...
google sheets features and formulas

Pull Google Calendar data into Google Sheets using Apps Script

This post was originally published in our community forum. Objective : This guide demonstrates how to use Google Apps Script to pull data...
google sheets features and formulas

Using the PROPER function to capitalize the first letter of each word in Google Sheets

Note: This post was originally published in our community forum. Ever found yourself needing to clean up a list of names, titles, or any...