To find the range in excel

Normally, when I use the word range in my tutorials about Excel, it’s a reference to a cell or a collection of cells in the worksheet.

But this tutorial is not about that range.

A ‘Range’ is also a mathematical term that refers to the range in a data set (i.e., the range between the minimum and the maximum value in a given dataset)

In this tutorial, I will show you really simple ways to calculate the range in Excel.

What is a Range?

In a given data set, the range of that data set would be the spread of values in that data set.

To give you a simple example, if you have a data set of student scores where the minimum score is 15 and the maximum score is 98, then the spread of this data set (also called the range of this data set) would be 73

Range = 98 – 15

‘Range’ is nothing but the difference between the maximum and the minimum value of that data set.

How to Calculate Range in Excel?

If you have a list of sorted values, you just have to subtract the first value from the last value (assuming that the sorting is in the ascending order).

But in most cases, you would have a random data set where it’s not already sorted.

Finding the range in such a data set is quite straightforward as well.

Excel has the functions to find out the maximum and the minimum value from a range (the MAX and the MIN function).

Suppose you have a data set as shown below, and you want to calculate the range for the data in column B.

Dataset to find Range in Excel

Below is the formula to calculate the range for this data set:

=MAX(B2:B11)-MIN(B2:B11)

Formula to calculate range in Excel

The above formula finds the maximum and the minimum value and gives us the difference.

Quite straightforward… isn’t it?

Calculate Conditional Range in Excel

In most practical cases, finding the range would not be as simple as just subtracting the minimum value from the maximum value

In real-life scenarios, you might also need to account for some conditions or outliers.

For example, you may have a data set where all the values are below 100, but there is one value that is above 500.

If you calculate arrange for this data set, it would lead to you making misleading interpretations of the data.

Thankfully, Excel has many conditional formulas that can help you sort out some of the anomalies.

Below I have a data set where I need to find the range for the sales values in column B.

Dataset to find Range in Excel

If you look closely at this data, you would notice that there are two stores where the values are quite low (Store 1 and Store 3).

This could be because these are new stores or there were some external factors that impacted the sales for these specific stores.

While calculating the range for this data set, it might make sense to exclude these newer stores and only consider stores where there are substantial sales.

In this example, let’s say I want to ignore all those stores where the sales value is less than 20,000.

Below is the formula that would find the range with the condition:

=MAX(B2:B11)-MINIFS(B2:B11,B2:B11,">20000")

Calculating conditional range in Excel

In the above formula, instead of using the MIN function, I have used the MINIFS function (it’s a new function in Excel 2019 and Microsoft 365).

This function finds the minimum value if the criteria mentioned in it are met. In the above formula, I specified the criteria to be any value that is more than 20,000.

So, the MINIFS function goes through the entire data set, but only considers those values that are more than 20,000 while calculating the minimum value.

This makes sure that values lower than 20,000 are ignored and the minimum value is always more than 20,000 (hence ignoring the outliers).

Note that the MINIFS is a new function in Excel is available only in Excel 2019 and Microsoft 365 subscription. If you’re using prior versions, you would not have this function (and can use the formula covered later in this tutorial)

If you don’t have the MINIF function in your Excel, use the below formula that uses a combination of IF function and MIN function to do the same:

=MAX(B2:B11)-MIN(IF(B2:B11>20000,B2:B11))

Just like I have used the conditional MINIFS function, you can also use the MAXIFS function if you want to avoid data points that are outliers in the other direction (i.e., a couple of large data points that can skew the data)

So, this is how you can quickly find the range in Excel using a couple of simple formulas.

I hope you found this tutorial useful.

Other Excel tutorials you may like:

  • How to Calculate Standard Deviation in Excel
  • How to Calculate Square Root in Excel
  • How to Calculate and Format Percentages in Excel

Find Range in Excel

Find Range in Excel (Table of Contents)

  • Range in Excel
  • How to Find Range in Excel?

Range in Excel

Whenever we talk about the range in excel, it can be one cell or can be a collection of cells. It can be the adjacent cells or non-adjacent cells in the dataset.

What is Range in Excel & its Formula?

A range is the collection of values spread between the Maximum value and the Minimum value. A range is a difference between the Largest (maximum) value and the Shortest (minimum) value in a given dataset in mathematical terms.

Range defines the spread of values in any dataset. It calculates by a simple formula like below:

Range = Maximum Value – Minimum Value

How to Find Range in Excel?

Finding a range is a very simple process, and it is calculated using the Excel in-built functions MAX and MIN. Let’s understand the working of finding a range in excel with some examples.

You can download this Find Range Excel Template here – Find Range Excel Template

Range in Excel – Example #1

We have given below a list of values:

23, 11, 45, 21, 2, 60, 10, 35

The largest number in the above-given range is 60, and the smallest number is 2.

Thus, the Range = 60-2 = 58

Explanation:

  • In this above example, the Range is 58 in the given dataset, which defines the span of the dataset. It gave you a visual indication of the range as we are looking for the highest and smallest point.
  • If the dataset is large, it gives you the widespread of the result.
  • If the dataset is small, it gives you a closely centered result.

A process of defining the range in Excel

For defining the range, we need to find out the maximum and minimum values of the dataset. In this process, two function plays a very important role. They are:

  1. MAX
  2. MIN

Use of MAX function:

Let’s take an example to understand the usage of this function.

Range in Excel – Example #2

We have given some set of values:

Example 2

For finding the maximum value from the dataset, we will apply here the MAX function as below screenshot:

Range in Excel Example 2-2

Hit enter, and it will give you the maximum value. The result is shown below:

Range in Excel Example 2-3

Range in Excel – Example #3

Use of MIN function:

Let’s take the same above dataset to understand the usage of this function.

Example 3

For calculating the minimum value from the given dataset, we will apply the MIN function here as per the below screenshot.

Range in Excel Example 3-2

Press ENTER key, and it will give you the minimum value. The result is given below:

Range in Excel Example 3-3

Now you can find out the range of the dataset after taking the difference between Maximum and Minimum value.

We can reduce the steps for calculating the range of a dataset by using the MAX and MIN functions together in one line.

For this, we again take an example to understand the process.

Range in Excel – Example #4

Let’s assume the below dataset of a company employee with their achieved sales target.

Example 4

Now for identifying the span of sales amount in the above dataset, we will calculate the range. For this, we will follow the same procedure as we did in the above examples.

We will apply the MAX and MIN functions for calculating the Maximum and Minimum sales amount in the data.

For finding the range of sales amount, we will apply the below formula:

Range = Maximum Value – Minimum Value

Refer to the below screenshot:

Range in Excel Example 4-2

Press Enter key, and it will give you the range of the dataset. The result is shown below:

Range in Excel Example 4-3

As we can see in the above screenshot, we applied the MAX and MIN formulas in one line, and by calculating their results difference, we found the range of the dataset.

Things to Remember

  • If the values are available in the non-adjacent cells, you want to find out the range; you can pass the cell address individually, separated with a comma as an argument of the MAX and MIN functions.
  • We can reduce the steps for calculating the range by applying MAX and MIN functions in one line. (Refer to Example 4 for your reference)

Recommended Articles

This has been a guide to Range in Excel. Here we discuss how to find Range in Excel along with excel examples and downloadable excel template. You may learn more about Excel from the following articles –

  1. Excel Function for Range
  2. Excel Named Range
  3. VBA Range
  4. VBA Selecting Range


Download Article


Download Article

Microsoft Excel makes it possible to get all kinds of useful information out of a set of data. With a few quick clicks, you can calculate your range.

Steps

  1. Image titled Find the Range in Microsoft Excel Step 1

    1

    Find the maximum value of the data.

    • To do this, pick a cell where you want the maximum to display (for example, maybe two cells above where you’ll put the range).
    • Type {{{1}}} and specify the cells you’re trying to find the range for. For example, you might write {{{1}}} or {{{1}}}.
    • Press Enter
  2. Image titled Find the Range in Microsoft Excel Step 2

    2

    Find the minimum value of the data.

    • To do this, pick a cell where you want the minimum to display (for example, maybe one cell above where you’ll put the range, below the maximum).
    • Type Min and specify the cells again. For example, you might write MIN(J7:T1) or MIN(A1:A500).
    • Press Enter

    Advertisement

  3. Image titled Find the Range in Microsoft Excel Step 3

    3

    Find the Range.

    • Type = in the call for the range (possibly below the other two).
    • Type in the cell number that you used for typing the maximum number first — for example, B1.
    • Then type a -.
    • Type in the minimum cell number. For example, B2. Your formula should read something like: =B1-B2
    • Press Enter
  4. Advertisement

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

  • Every command must start with an equal sign ( = ).

  • Commands must be in upper case.

  • Command suggestions will come up when you click on the Fx in front of the command bar.

Thanks for submitting a tip for review!

Advertisement

About This Article

Thanks to all authors for creating a page that has been read 45,096 times.

Is this article up to date?

When an excel user talks about the range in excel, it is obvious that he/she must be referenced to the individual cell or to the collection of the cell within the excel worksheet. 

People might get confused with the term ‘Range’ as it is used in mathematics also. (In mathematics- Range is the value that lies between the given data’s minimum and maximum value).

In the blog, we will help you to understand how to find range in excel, range in excel formula, and what the difference is between excel table vs range. But before proceeding to more details about range in excel, let us know what the range is.

What is the Range?

As we have already mentioned that when a user talks about the range in excel, then there is a possibility that he/she talks about the single cell or the group of cells. 

Moreover, the range can be non-adjacent or adjacent cells within the dataset. 

Now, the question is, what is the range? Well, a range is the combination of various value spreads that lies between the minimum and maximum value. Or we can say that range is used to define the spread of values within the datasets. 

The basic formula of the range is as:

Range = Maximum Value – Minimum Value

For example, suppose you select 10 different numbers randomly within the list of excel. Now, to find out the range of the numbers, you require to find out the maximum or upper and minimum or lower value using MAX & MIN functions. 

When you get the minimum and maximum value of the number, then subtract the MIN value from the MAX value. The result is known as the range.

What are the two types of ranges used in Excel?

Symmetrical Range Irregular Range
It is the range of the cells that are located at the adjacent position to one another. This kind of range usually looks like a rectangle or square within the spreadsheet whenever they are highlighted. The below image shows the range as (A1:C4). A range consists of cells that are not contiguous or might have irregular geometrical shapes whenever they are highlighted. In the below image, the highlighted cells are: (A1:C4, E1, E4, B6).

To know the exact procedure of the range in excel, let’s take an example. Suppose you have a list of different values as:

19, 12, 48, 20, 5, 60, 15, 39

Now, you can see that the largest number in the given dataset is 60, whereas the smallest number of the dataset is 5.

Therefore, the range will be 60 – 5 = 55.

This is how you calculate the range of the dataset in mathematics with a simple formula. The same procedure you need to follow in excel. The only difference is that you can check the range using the MIN and MAX function in the excel worksheet. 

How to use range in excel formula?

Several businesses do not have enough time to waste sorting the data through columns and rows. The rows and columns have the lowest and highest values of sales, revenues, or other useful information. 

The lowest and highest figures within the data group are useful for accurate decision-making, forecasting, and budgeting.

It is known to all that excel provides various ways for writing the range formulas that can work as per the user needs and required times. So, let’s check the range in excel formula or how to find range in excel.

MIN and MAX Formula

Suppose a manager keeps the product sale data that include model, unit price, state, number of units, and the total revenue of every product/state. 

The product sale data of the previous sale will be as follows:

Now, you can find which product has the greatest and smallest demand. Using the below formula mentioned, you can easily check the MAX() and MIN() values.

  • In cell B16, type “=MAX(C2:C13)”.
  • In cell B15, type “=MIN(C2:C13)”.

Now, you will notice that the smallest number of units sold in the respective state is 102 tablets in Iowa, whereas the largest sold is 450 laptops in Illinois. 

Bottom k and Top k formula

Suppose you have multiple data that has details as three different lowest-selling items. You can use the SMALL () functions, but before that, you require two factors:

  1. A similar list or range of the values that you will use for MIN().
  1. The specific value of k, which is the required position from the bottom. [If you want to check the smallest value, then the value of k will be k = 1. For the second smallest value, k = 2, and so on.]

NOTES: 

  • The LARGE() with k = 1 provides a similar result as that of MAX(). 
  • Whereas the SMALL() with k = 1 will give the same output as MIN().

3. Conditional Maximum and Minimum Formula

Sometimes, you need to check the minimum value, which can easily meet the particular criteria. 

Let’s take an example; suppose you require to check the lowest units sold in the spring quarter. 

Here, you can use COUNTIF(), SUMIF(), and other conditional formulas. [But there is no MAXIF() & MINIF(); therefore, you need to create a different array to find Max and Mini statement functions]. This array formula will help the user evaluate the specific cells’ range rather than the individual cell.

Usually, the IF() formula is used to test the real value of the individual cell. But users can use it to evaluate every cell within the range. 

When you use the array formula and press enter, it will show #VALUE!. Therefore, always keep in mind that you have to select CTRL+SHIFT+ENTER once you finish the array formula.

In this example, you can find the minimum value of the desktops. For this, write the match value in the cell to compare it with the functions. 

Type “desktop” in B18. Now, the formula compares the testing cell reference. Now, type IF() statement as: “=MIN(IF(B2:B13=B18,C2:C13))” and select the <CTRL>+<SHIFT>+<ENTER>.

The calculated value of the three formulas will display in rows 18, 19, and 20. This shows that the minimum sell number is of laptops, desktops, and tablets. 

Moreover, users can use the identical formula with MAX() to get the largest product sold.

This is how to find range in excel !!!

A Comparison Table: Excel Table vs Range

We know that the range of cells is used to check the list’s minimum and maximum values. And the list is created in the form of a table. 

But there is a major difference between the table and the range. 

Moreover, there is a necessity that users must know the difference between a table and the range. 

Do not worry; we have provided a comparison table of excel table vs range that helps you to know the difference.

Table Range
The format of the table can be changed easily by the user. The format of the range can change manually by the user.
The table feature has the slicer command. The slicer command is not available in the range.
The header of the table has the filter button. If a user wants to filter a range, then he/she can do it using the Filter command available in the Data Ribbon.
When a user scrolls the table down, the header easily replaces the common column headings. In the case of range, the headers can not be replaced by the column headings whenever the user scrolls down.
Users can expand the table very easily.  Users can not expand the range of the data.
Structured References easily supported by the table. Structured References are not supported by the range.
The tables in excel are treated as the Object. In excel, the range does not treat as an Object.
If a user wants to use a formula in a column, then the formula can be copied to other cells as well within the same cell. Suppose a user wants to use a formula in a column. He/she needs to double click on the AutoFill Handle tool, then copy the same formula to each column. You have to keep in mind that the formula does not get copied by itself.

Conclusion

Basically, the range is the difference between the minimum limit and the maximum limit of the available numbers in excel. We have provided the details about how to find range in excel using three different methods. 

Users can use it to check the maximum and minimum values from the list. Moreover, users might be confused with the excel table and range, so we have provided a comparison table of excel table vs range. Check the table to know the difference. 

If you still have any issue or query regarding how to find range in excel, comment in the below section. We will help you to get the details about the range of cells in excel. 

We always help our readers with their queries in the best possible way. So, do not waste your time here and there; use the above-mentioned excel formulas to enhance your skills!!!

if you have a question about who can do my excel assignment, then contact our excel assignments experts.

We usually require certain metrics to understand the data that we are working with. There are a number of such representative metrics, like the average, the median, etc. Among these metrics, an often-used value is the ‘Range’.

In this tutorial, we will show you two easy ways in which you can find the range of a series of numbers in Excel:

  1. Using a formula with the MIN and MAX built-in functions
  2. Using a formula with the SMALL and LARGE built-in functions

What is Range and How is it Calculated?

The range is a measure of the spread of values in a series. In other words, it is the variation between the upper and lower limits of the series on a particular scale.

To find the range of a set of numbers, you need to find the difference between the largest and smallest numbers.

For example, if you have a series of numbers {4,2,6,5,3} then the range can be calculated as follows:

Range = largest value - smallest value
= 6 – 2

Calculation of the range is a very simple process, requiring three basic arithmetic operations:

  1. Finding the largest value
  2. Finding the smallest value
  3. Finding the difference between the two

Given below are two methods to quickly calculate the range of a set of numbers in Excel. To demonstrate both methods, we will use the following dataset:

Dataset to find the range in Excel

Finding the Range in Excel with MIN and MAX Functions

The first way to find the range is to use a combination of the MIN and MAX functions.

The MIN Function

The Excel MIN function returns the smallest numeric value in a range of values. The syntax for the MIN function is as follows:

=MIN (number1, [number2], ...)

Here,

  • number1 can be a numeric value, a reference to a numeric value, or a range of numeric values.
  • number2,… is optional. It can be a numeric value, a reference to a numeric value, or a range of numeric values.

For example, to find the minimum value of numbers in the range B2:B7, you will write the MIN function as follows:

=MIN(B2:B7)

The MAX Function

The Excel MAX function returns the largest numeric value in a range of values. The syntax for the MAX function is as follows:

=MAX (number1, [number2], ...)

Here,

  • number1 can be a numeric value, a reference to a numeric value, or a range of numeric values.
  • number2, … is optional. It can be a numeric value, a reference to a numeric value, or a range of numeric values.

For example, to find the maximum value of numbers in the range B2:B7, you will write the MAX function as follows:

=MAX(B2:B7)

Note: Both MIN and MAX functions ignore empty cells, logical values like TRUE and FALSE, as well as text values.

Using the MIN and MAX functions to Find the Range of A Series

To find the range of values in the given dataset, we can use the MIN and MAX functions as follows:

  1. Select the cell where you want to display the range (B8 in our example).
  2. Type in the formula: =MAX(B2:B7)-MIN(B2:B7)
  3. Press the Return key.

Max and Min formula to find range in Excel

Note: You can replace the reference B2:B7 with reference to the cells containing the values you want to calculate the range for.

Explanation of the Formula

The formula simply performed the basic steps required to calculate the range:

  1. Finding the largest value: =MAX(B2:B7)
  2. Finding the smallest value: =MIN(B2:B7)
  3. Finding the difference between the two: =MAX(B2:B7) – MIN(B2:B7)

Finding the Range in Excel with SMALL and LARGE Functions

The second way to find the range is to use a combination of the SMALL and LARGE function.

The SMALL Function

The Excel SMALL function returns the ‘n-th smallest value’ in a range of values. So you can use it to find the 1st smallest value, 2nd smallest value, 3rd smallest value, and so on.

The syntax for the SMALL function is as follows:

=SMALL (array, n)

Here,

  • array is the range of cells that you want to find the n-th smallest value from.
  • n is an integer that specifies the position from the smallest value, i.e. the nth position.

For example, to find the 3rd smallest value in the range B2:B7, you will write the SMALL function as follows:

=SMALL(B2:B7,3)

Similarly, to find the smallest value in the range B2:B7, you will write the function as follows:

=SMALL(B2:B7, 1)

Notice the above function gives a result equivalent to the function:

=MIN(A2:A7)

The LARGE Function

The Excel LARGE function returns the ‘n-th largest value’ in a range of values. So you can use it to find the 1st largest value, 2nd largest value, 3rd largest value and so on.

The syntax for the LARGE function is as follows:

= LARGE (array, n)

Here,

  • array is the range of cells that you want to find the n-th largest value from.
  • n is an integer that specifies the position from the largest value, i.e. the nth position.

For example, to find the 3rd largest value in the range B2:B7, you will write the LARGE function as follows:

= LARGE (B2:B7,3)

Similarly, to find the largest value in the range B2:B7, you will write the function as follows:

= LARGE (B2:B7, 1)

Notice the above function gives a result equivalent to the function:

=MAX(B2:B7)

Note: In cases where you’re working with large volumes of data, using the MIN and MAX functions are more efficient to use than the SMALL and LARGE. This is because the SMALL and LARGE functions require more computing and resources.

Using the SMALL and LARGE functions to Find the Range of A Series

To find the range of values in the given dataset, we can use the SMALL and LARGE functions as follows:

  1. Select the cell where you want to display the range (B8 in our example).
  2. Type in the formula: =LARGE(B2:B7,1) – SMALL(B2:B7,1)
  3. Press the Return key.

LARGE and SMALL formula to find range

Note: You can replace the reference B2:B7 with reference to the cells containing the values you want to calculate the range for.

Explanation of the Formula

The formula simply performed the basic steps required to calculate the range:

  1. Finding the largest value: = LARGE(B2:B7,1)
  2. Finding the smallest value: = SMALL(B2:B7,1)
  3. Finding the difference between the two: =LARGE(B2:B7,1)-SMALL(B2:B7,1)

Applications and Limitations of the Range

The range provides a great way for us to get a basic understanding of how spread out the numbers in the dataset are.

So, a higher range value means the data is quite spread out, while a smaller range value means the data is less spread out, or more concentrated.

It must be noted, though, that the range is a very crude measurement since it is quite sensitive to outliers.

A single value that is too high or too low can completely alter the range, giving an erroneous representation of the data. As such, it doesn’t always provide a true indication of the spread in the dataset.

Having said that, the range is easy to calculate. It only requires basic operations. So, it is a good way to help you get a very basic understanding of the nature of your data.

Other Excel tutorials you may also like:

  • How to Calculate Standard Error In Excel
  • How to Square a Number in Excel
  • How‌ ‌to‌ ‌Use‌ ‌Pi‌ ‌(π) in‌ ‌Excel‌ ‌
  • How to Calculate Antilog in Excel
  • How to Use e in Excel | Euler’s Number in Excel
  • How to Find Outliers in Excel
  • How to Find Slope in Excel (Easy Formula)
  • How to Find Percentile in Excel (PERCENTILE Function)

Summary

This step-by-step article describes how to find data in a table (or range of cells) by using various built-in functions in Microsoft Excel. You can use different formulas to get the same result.

Create the Sample Worksheet

This article uses a sample worksheet to illustrate Excel built-in functions. Consider the example of referencing a name from column A and returning the age of that person from column C. To create this worksheet, enter the following data into a blank Excel worksheet.

You will type the value that you want to find into cell E2. You can type the formula in any blank cell in the same worksheet.

A

B

C

D

E

1

Name

Dept

Age

Find Value

2

Henry

501

28

Mary

3

Stan

201

19

4

Mary

101

22

5

Larry

301

29

Term Definitions

This article uses the following terms to describe the Excel built-in functions:

Term

Definition

Example

Table Array

The whole lookup table

A2:C5

Lookup_Value

The value to be found in the first column of Table_Array.

E2

Lookup_Array
-or-
Lookup_Vector

The range of cells that contains possible lookup values.

A2:A5

Col_Index_Num

The column number in Table_Array the matching value should be returned for.

3 (third column in Table_Array)

Result_Array
-or-
Result_Vector

A range that contains only one row or column. It must be the same size as Lookup_Array or Lookup_Vector.

C2:C5

Range_Lookup

A logical value (TRUE or FALSE). If TRUE or omitted, an approximate match is returned. If FALSE, it will look for an exact match.

FALSE

Top_cell

This is the reference from which you want to base the offset. Top_Cell must refer to a cell or range of adjacent cells. Otherwise, OFFSET returns the #VALUE! error value.

Offset_Col

This is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to. For example, «5» as the Offset_Col argument specifies that the upper-left cell in the reference is five columns to the right of reference. Offset_Col can be positive (which means to the right of the starting reference) or negative (which means to the left of the starting reference).

Functions

LOOKUP()

The LOOKUP function finds a value in a single row or column and matches it with a value in the same position in a different row or column.

The following is an example of LOOKUP formula syntax:

   =LOOKUP(Lookup_Value,Lookup_Vector,Result_Vector)


The following formula finds Mary’s age in the sample worksheet:

   =LOOKUP(E2,A2:A5,C2:C5)

The formula uses the value «Mary» in cell E2 and finds «Mary» in the lookup vector (column A). The formula then matches the value in the same row in the result vector (column C). Because «Mary» is in row 4, LOOKUP returns the value from row 4 in column C (22).

NOTE: The LOOKUP function requires that the table be sorted.

For more information about the LOOKUP function, click the following article number to view the article in the Microsoft Knowledge Base:
 

How to use the LOOKUP function in Excel

VLOOKUP()

The VLOOKUP or Vertical Lookup function is used when data is listed in columns. This function searches for a value in the left-most column and matches it with data in a specified column in the same row. You can use VLOOKUP to find data in a sorted or unsorted table. The following example uses a table with unsorted data.

The following is an example of VLOOKUP formula syntax:

    =VLOOKUP(Lookup_Value,Table_Array,Col_Index_Num,Range_Lookup)

The following formula finds Mary’s age in the sample worksheet:

   =VLOOKUP(E2,A2:C5,3,FALSE)

The formula uses the value «Mary» in cell E2 and finds «Mary» in the left-most column (column A). The formula then matches the value in the same row in Column_Index. This example uses «3» as the Column_Index (column C). Because «Mary» is in row 4, VLOOKUP returns the value from row 4 in column C (22).

For more information about the VLOOKUP function, click the following article number to view the article in the Microsoft Knowledge Base:
 

How to Use VLOOKUP or HLOOKUP to find an exact match

INDEX() and MATCH()

You can use the INDEX and MATCH functions together to get the same results as using LOOKUP or VLOOKUP.

The following is an example of the syntax that combines INDEX and MATCH to produce the same results as LOOKUP and VLOOKUP in the previous examples:

    =INDEX(Table_Array,MATCH(Lookup_Value,Lookup_Array,0),Col_Index_Num)

The following formula finds Mary’s age in the sample worksheet:


    =INDEX(A2:C5,MATCH(E2,A2:A5,0),3)

The formula uses the value «Mary» in cell E2 and finds «Mary» in column A. It then matches the value in the same row in column C. Because «Mary» is in row 4, the formula returns the value from row 4 in column C (22).

NOTE: If none of the cells in Lookup_Array match Lookup_Value («Mary»), this formula will return #N/A.
For more information about the INDEX function, click the following article number to view the article in the Microsoft Knowledge Base:

How to use the INDEX function to find data in a table

OFFSET() and MATCH()

You can use the OFFSET and MATCH functions together to produce the same results as the functions in the previous example.

The following is an example of syntax that combines OFFSET and MATCH to produce the same results as LOOKUP and VLOOKUP:

   =OFFSET(top_cell,MATCH(Lookup_Value,Lookup_Array,0),Offset_Col)

This formula finds Mary’s age in the sample worksheet:

   =OFFSET(A1,MATCH(E2,A2:A5,0),2)

The formula uses the value «Mary» in cell E2 and finds «Mary» in column A. The formula then matches the value in the same row but two columns to the right (column C). Because «Mary» is in column A, the formula returns the value in row 4 in column C (22).

For more information about the OFFSET function, click the following article number to view the article in the Microsoft Knowledge Base:
 

How to use the OFFSET function

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

A data range in Excel is simply a collection of two or more cells; the cells are not required to be next to each other.

Figure 1. Cell Range in Excel

Generic Formula

=RANGE(max value-min value)

  • Max value = Largest number value in the selected range
  • Min value = Smallest number value in the selected range

We can select a cell range in Excel by holding down the CTRL keyboard key and then clicking on each individual cell that we want to be included in the range. The data range in Excel of a particular set of data gives us a simple idea of the distribution of values that it contains.

How to Calculate Range in Excel

Finding Range in Excel is a simple task which requires us to subtract the Minimum value of numbers contained in the selected cells from the Maximum value.

Here’s how to calculate range in Excel;

  1. We begin by finding the MAX value of a set of data in our worksheet;

Figure 2. Data Values in Excel

To determine the MAX value for the data set above we will use the MAX Function in Excel.

  1. The MAX formula we will enter into cell B9 of our worksheet example is as follows;
    =MAX(A1:B7)

Figure 3. MAX Value in Excel

The range function in Excel returned the MAX value in the selected  range of data above (A1:B7), as103.

  1. Next, we have to determine the MIN value in our data set.
    The MIN formula we will enter into cell B9 of our worksheet example is as follows;
    =MIN(A1:B7)

Figure 4. MIN Value in Excel

The range function in Excel returned the MIN value in the selected  range of data above (A1:B7), as 2.

Since we now know how to use the range function in Excel to calculate MAX and MIN values, let us now demonstrate how to find the range in Excel by subtracting the MIN value from the MAX value in the following data set;

Figure 5. Data Set in Excel

  1. The Excel range formula we will enter into cell B9 of our worksheet example is as follows;
    =MAX(C2:C7)-MIN(C2-C7)

Figure 6. Finding Range in Excel

The Excel range function returned 529 as the total range value after subtracting the MIN value from the MAX value in the data set above.

Instant Connection to an Excel Expert

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

See all How-To Articles

This tutorial will demonstrate how to find the location of a named range in Excel & Google Sheets.

FindLocation Intro

When you have existing range names in Excel, you can view these range names and the cells that they refer to with Name Manager.

Find the Location of a Named Range in the Name Manager

1. First, open the Excel file that contains the named ranges.

2. Then, in the Ribbon, select Formulas > Defined Names > Name Manager.

EditRangeNames Ribbon

The Name Manager contains all the range names in the current workbook.

EditRangeNames Name Manager

3. To see the range of cells that an individual range name refers to, click on the Name desired. The Refers to box at the bottom of the Name Manager will show the sheet name and the cell addresses of the named range.

FindLocation refersto

You can also view the range of cells that each range name refers to by looking at the Refers to column in the Name Manager.

FindLocation Intro

Find the Location of a Named Range in Google Sheets

With the Google sheet containing range names open, in the Menu, select Data > Named ranges.

EditRangeNames GS Ribbon

A list of all the range names that are contained in the Google Sheet will be shown down the right hand side of the sheet. The location of each named range is shown in the range indicated beneath each range name.

FindLocation GS

Понравилась статья? Поделить с друзьями:
  • To parse a word means
  • To find a synonym for a word you would use
  • To feel sorry for word
  • To face word formation
  • To export reports to excel