EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Log in
  • Sign Up
Home Excel Excel Resources Excel Tips INDIRECT Formula in Excel
 

INDIRECT Formula in Excel

Madhuri Thakur
Article byMadhuri Thakur

Updated July 4, 2023

indirect formula in excel

 

 

Introduction to INDIRECT Formula

The indirect formula references another cell in Excel. It is a handy formula in Excel which uses a text string as a reference to find a value for that text string. We will see a small example for those who don’t know about referring.

How to Use INDIRECT Formula in Excel?

In cell D2, we input a small text, “Hi” Now, in cell F2, we have referred to cell D2; that is the reason in cell F2; also, we have the text “Hi.”

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

Indirect formula in excel 1.1

Now we will try differently. In cell D2, we have the text “Hi,” In cell E2 “, D2” is mentioned, which is a reference cell of “Hi.”

Indirect formula in excel 1.2

If we call E2 in any cell, it will display only text D2 but not the data in cell D2.

Indirect formula in excel 1.3

In this kind of situation, the INDIRECT formula will be helpful. For example, when we call E2, it gives the result as D2; if we call E2 with the help of INDIRECT, then it will display the text “Hi.”

Indirect formula in excel 1.4

That means if we call cell E2 in G2, it will take the data in E2, which is D2, as a reference cell and will call the data in that cell. So, in simple terms, instead of calling the D2 cell directly, we will call the cell with text D2. So, I hope you got a little idea about the INDIRECT formula.

To make you understand the concept, I started with referencing and moved to the INDIRECT function. Now we will see the syntax of INDIRECT, which was not covered earlier. Below is the syntax; it has two parameters one is ref_text, and another is a1.

Indirect formula in excel 1.5

  • Ref_text: The name itself expresses that it is a reference text. If we input a formula like INDIRECT(C2), C2 is the reference text.
  • A1: Now, what is a1 here? It is a logical value that will tell about the reference text.

We can refer to using INDIRECT one way if the A1 method means we refer to C4, which implies column ‘C’ row 4 simply we are calling as the a1 method. Another way to represent C4 is R4C3, row 4, column 3. This method is called an R1C1 method.

So, if we give TRUE or blank mean, the reference will be considered in the form of the A1 method. A FALSE mean reference will be regarded as the R1C1 method if we provide it. We will see a few examples of these two methods. Now “Hello” is in cell B9.

method 1

B9 is given as text in cell D8.

method 2

Referring to cell D8 with the INDIRECT formula will give the data in the B9 cell.

A1 method: In this, we can refer to D8 with the INDIRECT method

=INDIRECT(D8)

method 3

R1C1 method: We can refer to B9 as row 9 and column 2 in this method.

=INDIRECT(“R9C2”, False)

method 4

Another way we can refer is if a cell has text R9C2, we can refer to that cell with the INDIRECT formula in the R1C1 method.

method 5

In the above screenshot, R9C2 is in cell D10; hence, we refer to D10 in the formula, but the string reference is in the R1C1 method, therefore False.

Examples of INDIRECT Formula in Excel

Below are the different examples of INDIRECT Formula in Excel:

You can download this INDIRECT Formula Excel Template here – INDIRECT Formula Excel Template

Example #1 – Lock Reference

Using the INDIRECT method, we can lock the reference also. Thus, if we use the reference cell even after adding or deleting the additional row or column, the formula will stay constant with the reference.

Consider a small table of data as below.

Lock reference example 1.1

Need to perform SUM calculation by using the INDIRECT function with reference F21.

Lock reference example 1.2

We need to perform the SUM operation from cell F21 to F23 with the reference as F21; hence keep it in double-quotes closed by brackets as shown in the picture.

Now we will insert one more line above A and add another value as below picture.

Lock reference example 1.3

The formula will automatically pick F21 to F24. However, if we perform the same with normal SUM operation, the formula will change from F22 to F24.

Example #2 – Lock Range

We can lock the range and keep the formula standard even when adding or deleting the rows.

Consider a small range of data from C55 to C58 as below.

Lock range Example 2.1

Now we will add the data from C55 to C58 using the INDIRECT formula.

Lock range Example 2.2

Now we will add one new line between 57 and 58.

Lock range Example 2.3

Even after entering a new line, the formula remains the same as C55: C58. Therefore, the results of the SUM will change accordingly.

Example #3 – INDIRECT formula using Name Range

The INDIRECT formula can be applied to the name range also. But first, give a name to a range of numbers.

INDIRECT Formula using name range example 3.1

Input the string “sales “in cell G45.

INDIRECT Formula using name range example 3.2

Now find the AVERAGE of sales using the INDIRECT formula.

INDIRECT Formula using name range example 3.3

INDIRECT refers to G45, which has reference string sales; sales is the reference of cells E45 to E48.

Example #4 – INDIRECT Formula with Two Worksheets

Consider the same datasheet. Using the INDIRECT formula, we can dynamically refer to data from different worksheets. Give some name to the sheet-like example below.

Now we will call the data from the Example sheet to sheet 2. Before using INDIRECT, we will refer in a normal way first.

INDIRECT formula with Two Worksheets example 4.1

Observe the formula; if we want to refer to other sheet data, the format is “sheet name! cell reference”. But to refer to the INDIRECT function first, we must take the sheet name and cell references in sheet 2. Now apply the INDIRECT function.

INDIRECT formula with Two Worksheets example 4.2

F11 refers to the sheet name, and C11 refers to the Cell reference in the Example sheet. But the formula results in # REF. Because the sheet name should be in string format, keep the cell address in single quotes and then cell reference with concatenation operator.

“ ‘ “ &Sheet name reference &” ’!” &Cell reference

INDIRECT formula with Two Worksheets example 4.3

Observe the formula; now, it has given the results from the Example sheet.

Things to Remember

  • The indirect formula can be written in two types of A1 method and the R1C1 method. If we do not mention a logical reference, it will automatically consider as the A1 method.
  • Lock reference will help to lock a cell or range to make the formula constant.
  • While referring to the other sheet, the sheet name should be in string format for using single quotes and concatenation operators.

Recommended Articles

This is a guide to INDIRECT Formula in Excel. Here we discuss How to Use the INDIRECT Formula in Excel, practical examples, and a downloadable Excel template. You may also look at the following articles to learn more –

  1. Concatenation in Excel
  2. OR Formula in Excel
  3. Insert Comment in Excel
  4. SUBTOTAL Formula in Excel

Primary Sidebar

Footer

Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA

Download INDIRECT Formula Excel Template

EDUCBA Login

Forgot Password?

EDUCBA

Download INDIRECT Formula Excel Template

EDUCBA

डाउनलोड INDIRECT Formula Excel Template

🚀 Limited Time Offer! - 🎁 ENROLL NOW