Short answer

Use something like ROW(A1:A21)

Explantation

ROW(cell_reference) returns the row number of the specified reference. When the reference is a range and the function is inside of a ARRAYFORMULA it will return a an array of a sequence of numbers starting on the row number corresponding to the start cell reference and ending on the row number corresponding to the end cell reference.

There are several Q&A on this site that use this.

Answer from Rubén - Volunteer Moderator - on Stack Exchange
🌐
Supatool
blog.supatool.io › article › how-to-calculate-range-in-google-sheets
How to Calculate Range in Google Sheets
2 weeks ago - Click on an empty cell where you want to display the range. Enter the formula: Range=Maximum Value−Minimum Value ... Press Enter. This formula will subtract the minimum value from the maximum value, giving you the range of the data set. ... And that's how you calculate the range in Google Sheets!
🌐
Spreadsheet.dev
spreadsheet.dev › range-in-google-sheets
Range in Google Sheets
A range represents a single cell or a group of adjacent cells in your spreadsheet. In this tutorial, you'll learn about what ranges are and how to use them.
🌐
Alphr
alphr.com › home › how to calculate range in google sheets
How to Calculate Range in Google Sheets
December 13, 2021 - Google Sheets has several functions ... Function menu. To find the statistical range or a data set just type in =(MAX(x) – MIN(x)) where x is your range....
People also ask

What Is a Data Range in Google Sheets?

A data range is a set of cells that you want to use in a function or formula. It’s another name for range. The two names are interchangeable.

🌐
alphr.com
alphr.com › home › how to calculate range in google sheets
How to Calculate Range in Google Sheets
How Do You Calculate Total in Google Sheets?

Formulas in Google Sheets can automatically calculate the total of a certain range of cells. If the values inside the cells are changed, the total will then adjust accordingly. The usual function used is SUM which is the total of all the values in the argument. The syntax of this function is =SUM(x:y) where x and y is the start and end of your range accordingly. For example, the total of a range from A1 to C3 will be written as =SUM(A1:C3).

🌐
alphr.com
alphr.com › home › how to calculate range in google sheets
How to Calculate Range in Google Sheets
What Is a Valid Range in Google Sheets?

Depending on the formula you use, some values will not be accepted as an argument. For example, the cell value TRUE can’t be used in the formula =SUM() as it’s not a calculable numeric value. A valid range is a set of cells containing data that a formula will accept as an argument. If there is a cell that has an unaccepted input, then the range isn’t valid. Invalid ranges can also occur when either the first or last point of the range has a value that results in an error.

🌐
alphr.com
alphr.com › home › how to calculate range in google sheets
How to Calculate Range in Google Sheets
🌐
Template.net
template.net › google › how to find range in google sheets
How to Find Range in Google Sheets
September 2, 2025 - Simply type “=MAX(” in a cell, followed by your data range, and close with a parenthesis. For example, for a dataset in column A, enter “=MAX(A:A).” Hitting Enter will prompt Google Sheets to calculate and display the maximum value of ...
🌐
Reddit
reddit.com › r/sheets › how to make a number range formula in sheets?
r/sheets on Reddit: How to make a number range formula in sheets?
March 29, 2022 -

Hi there,

I'm making a spreadsheet and I'm trying to find a formula that creates a number range. For example, I want the formula to pretty much say '100-105' or '200-250' rather than spitting out a single number. I've also attached an image below of what I'm looking for.

Thanks for your help :)

🌐
W3Schools
w3schools.com › googlesheets › google_sheets_ranges.php
Google Sheets Ranges
This will select all the cells in the sheet related to that row. To select row 1, click on its number in the row bar: The entire spreadsheet can be selected by clicking on the rectangle in the top-left corner of the spreadsheet: ... Note: You can also select the entire spreadsheet by pressing Ctrl+A for Windows, or Command+A for MacOS. Selection of cell ranges has many use areas and it is one of the most important concepts of Google Sheets.
Find elsewhere
🌐
The Bricks
thebricks.com › resources › how-to-find-range-in-google-sheets
How to Find the Range in Google Sheets
The easiest way to calculate range in Google Sheets is by combining two fundamental functions: MAX, which finds the largest number, and MIN, which finds the smallest.
🌐
Google Support
support.google.com › docs › thread › 176407346 › finding-in-which-range-a-number-falls
Finding in Which Range a Number Falls - Google Docs Editors Community
Skip to main content · Google Docs Editors Help · Sign in · Google Help · Help Center · Community · Google Docs Editors · Terms of Service · Submit feedback · Send feedback on
🌐
YouTube
youtube.com › watch
Calculate Mean, Median, Range, and Interquartile Range in Google Sheets - YouTube
Twitter: https://twitter.com/MrWilliamsSciInstagram: https://www.instagram.com/mrwilliamsscience/
Published   April 30, 2020
🌐
Causal
causal.app › how-to › how-to-find-range-in-google-sheets-a-step-by-step-guide
How to Find Range in Google Sheets: A Step-by-Step Guide
Learn how to find the range in Google Sheets with this easy step-by-step guide. We'll walk you through the process of locating the range, as well as how to use it to make calculations and analyze data.
🌐
Google Sheets
sheetsformarketers.com › home › blog › how to find range in google sheets
How To Find Range In Google Sheets - Sheets for Marketers
November 1, 2023 - Now you can find the range in a formula. In this example, we want to find the sum of the entire year’s revenue. You can simply insert this formula =SUM(Revenue2022).
🌐
YouTube
youtube.com › watch
Calculating Max, Min, and Range, in Google Sheets - YouTube
In this video I demonstrate how to calculate the maximum, minimum, and range for a set of data, using Google Sheets.
Published   March 4, 2024
🌐
YouTube
youtube.com › watch
How to find range in Google Sheets - YouTube
View detailed instructions here: https://spreadcheaters.com/how-to-find-range-in-google-sheets/
Published   November 12, 2022
🌐
The Bricks
thebricks.com › resources › guide-how-to-calculate-range-google-sheets
How to Calculate Range Google Sheets
In this article, we’ll walk through what the range is, why it’s useful, and exactly how you can calculate it in Google Sheets. We'll also touch on some practical examples to help you understand when and how to use it effectively.
🌐
The Bricks
thebricks.com › resources › guide-how-to-find-the-range-of-a-data-set-in-google-sheets-using-ai
How to Find the Range of a Data Set in Google Sheets using AI
In another empty cell, type the formula to find the minimum value: =MIN(A1:A10) Again, replace A1:A10 with your data range. Calculate the range by subtracting the minimum value from the maximum value.
🌐
The Bricks
thebricks.com › resources › guide-how-to-find-the-range-of-a-data-set-in-google-sheets
How to Find the Range of a Data Set in Google Sheets
If you're working with dates, you can still use the MAX and MIN functions, as dates are stored as serial numbers in Google Sheets. The steps are the same as with numbers, but remember that the range will be in the form of a number representing days. You shouldn't need to be a data analyst to create dashboards and reports from your spreadsheets.Create your first dashboard → · Text data is a bit trickier since you can’t calculate a range in the traditional sense.
🌐
The Bricks
thebricks.com › resources › guide-how-to-set-range-in-google-sheets
How to Set Range in Google Sheets
You can start by typing =SUM(, then select the range C2:C50 with your mouse or keyboard, and finish by typing the closing parenthesis ) and pressing Enter. Your data won't always be on a single sheet.
🌐
Google
developers.google.com › google workspace › apps script › class range
Class Range | Apps Script | Google for Developers
Returns the formula (A1 notation) ... ss.getSheets()[0]; // This assumes you have a function in B5 that sums up // B2:B4 const range = sheet.getRange('B5'); // Logs the calculated value and the formula Logger.log( 'Calculated value: %s ...