EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login

INDIRECT Function in Excel

By Madhuri ThakurMadhuri Thakur

Secondary Sidebar
Excel Functions
  • Lookup Reference Functions in Excel
    • VLOOKUP Function in EXCEL
    • VLOOKUP True
    • VLOOKUP Error
    • How to Match Data in Excel
    • Excel Match Function
    • Excel Lookup Function
    • ROWS Function in Excel
    • Excel INDEX Function
    • VLOOKUP Table Array
    • Excel OFFSET Formula
    • VLOOKUP For Text
    • IF VLOOKUP Formula in Excel
    • Mixed Reference in Excel
    • CHOOSE Formula in Excel
    • Excel COLUMN to Number
    • Excel Alternatives to VLOOKUP
    • HLOOKUP Examples
    • Excel VLOOKUP From Another Sheet
    • VLOOKUP with Sum
    • Fixing VLOOKUP Errors
    • Excel ROW Function
    • HYPERLINK in Excel
    • Address Excel Function
    • Excel COLUMNS Function
    • Excel REPLACE Function
    • OFFSET Excel Function
    • Excel GETPIVOTDATA Function
    • MATCH Function in Excel
    • VLOOKUP Function in Excel
    • HLOOKUP Function in Excel
    • LOOKUP in Excel
    • CHOOSE Function in Excel
    • TRANSPOSE in Excel
    • COLUMN Function in Excel
    • INDIRECT Function in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Excel Tips (222+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • Online EXCEL COURSE
  • Online EXCEL ADVANCED Training
Home Excel Excel Resources Lookup & Reference Functions in Excel INDIRECT Function in Excel

INDIRECT Function

Excel INDIRECT Function (Table of contents)

  • INDIRECT Formula in Excel
  • How to use the INDIRECT Function in Excel?

Excel INDIRECT Function

Indirect function in Excel returns a valid reference from the selected text string or in other words which we can say it converts a text string into valid references. This looks a little complex but when we see the syntax of the indirect function we will notice, it just requires Reference Text from any cell as a mandatory field.

INDIRECT Formula in Excel:

Start Your Free Excel Course

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

Indirect formula 1

An INDIRECT function consists of two arguments. One is Ref_Text which is a mandatory argument, and the second one is [a1].

  • Ref_Text: It refers to a cell containing either An A1-style reference or An R1C1-Style Reference, or A name defined by the name/formula or A reference to a cell in text form. This argument can reference to another workbook.
  • [a1]: It is an optional argument. This argument is consists of two logical values, TRUE or FALSE. Whatever the value we got in Ref_Text shows as A1-Style Reference if it is TRUE and shows as R1C1 Style Reference if it is FALSE.

Indirect formula 2

Note: If the last argument is omitted by default, excel will take TRUE as the argument.

How to Use the INDIRECT Function in Excel?

An INDIRECT function in Excel is very simple easy to use. Let us now see how to use the INDIRECT Function in Excel with the help of some examples.

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,275 ratings)
You can download this INDIRECT Function Excel Template here – INDIRECT Function Excel Template

Example #1 – Named Ranges

The below table shows the sales amount of different sales managers across 4 regions. In cell H4, we need to get the total of the region, which is mentioned in cell G4.

Sales amount

A combination of INDIRECT & Named Ranges is invaluable in this kind of context. Named Range will define the range of cells in a single name.

Step 1: Create a named range for each region. Go to the Formula tab and then click on Name Manager.

Create named range

A New Name dialog box appears. Give the name as East.

New Name dialog box

Note: Repeat this task for each region. Give the region name to each name manager.

Give the region name

Step 2: Now apply the INDIRECT function along with the SUM function to get the total in cell H4.

Result of INDIRECT Function 1

Note: Change the Region name in cell G4 to get the total of each region.

Pro Tip: Create a drop-down list for Regions.

Example #2 – Average Function

Use the previous sales amount data of different sales managers across 4 regions. In cell H7, we need to get the average total of the region, which is mentioned in cell G7.

INDIRECT Function with Average Function

Now apply the INDIRECT function along with an AVERAGE function to get the total in cell H4.

Result of INDIRECT Function 2

Example #3 – Return the last cell value

With the help of the below data, we need to find the last item’s Profit value. In cell H2, the last item’s profit.

INDIRECT Function to return the last cell value

This example will look into the R1C1 style reference with INDIRECT to return the last cell value. Here we used the COUNTA function to get the last column number.

COUNTA function

Result of INDIRECT Function 3

In the above formula, we have concatenated R10 (Row 10) with C10 by using the COUNTA function. COUNTA will return the value 5 (last column number). A combination of both these will give “R10C5”,, i.e. Indirect will value Row 10 and Column 5.

The FALSE part of the argument will request for an R1C1 style of the cell reference.

As the Item numbers keep increases, this function will always give the last item’s profit value.

Example #4 – INDIRECT + Named Range + VLookup

A combination of Indirect with Named Range & Vlookup will be a dynamic combination to have. It is necessary to include the example of Indirect with Vlookup.

The table below applies the VLOOKUP function in cell B15 to get the sales value based on cells B13 & B14.

INDIRECT + Named Range + VLookup

Steps involved in before applying Vlookup.

  • Create a dropdown list for both region & sales manager list
  • Create 4 named ranges (refer to example 1) for all 4 regions. Please note apply named ranges, including sales manager name.

indirect example 4.1

  • After the above two steps, apply the VLOOKUP function in cell B15.

Result of INDIRECT Function 4

Since we have defined a range list with East_List, West_List, North_List, South_List, what the INDIRECT function will do is it will give a reference to that particular region list. Therefore, Vlookup will consider that as a table range and give the respective sales manager the result.

From the drop-down list, change the play with different regions & different sales managers.

Example #5 – Refer Worksheet with INDIRECT

An INDIRECT function can also retrieve the cell value from another worksheet. This example will give an explanation to this.

  • An indirect Sheet is a sheet we are entering a formula.
  • Summary Sheet is the sheet where data is there.
  • In the Indirect Sheet, enter the formula in cell C2.
  • You need to give a reference to cell B7 in the Summary Sheet.

Below images will show different sheets in a single window.

Indirect vs summary

indirect example 5

Here we have concatenated the Summary Sheet in cell A2 of the Indirect Sheet & referenced the B7 cell from the Summary Sheet in the Indirect Sheet.

Note: INDIRECT Function is not the most often used formula. But it could be a lethal weapon in extreme cases to save a lot of time and automate the cell value. Try to use it regularly, and you will get a hang on it.

Things to Remember

  • The reference must be a valid reference otherwise; function will return a #REF error.
  • When it is referring to the other workbook, the respective workbook should be in an open mode to get the results.
  • Generally, an INDIRECT function will return an A1 style reference by default.
  • When we are using [a1] reference as FALSE, we need to put 0 and put 1 for TRUE.
  • In R1C1 style reference, you can use formulas like COUNTA to give a reference to the row or column dynamically. If the data increases, it will be a dynamic function and need not change every now and then.

Recommended Articles

This has been a guide to INDIRECT. Here we discuss the INDIRECT Formula and how to use the INDIRECT function along with practical examples and downloadable excel templates. You may also have a look at these other lookup and reference functions in excel-

  1. COLUMN Function in Excel
  2. CHOOSE Function in Excel
  3. AND Function in Excel
  4. VBA excel programming
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Advanced Training (16 Courses, 23+ Projects)4.9
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

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

EDUCBA
Free Excel Course

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

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

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

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

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

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

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

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download INDIRECT Function Excel Template

EDUCBA

Download INDIRECT Function Excel Template

EDUCBA

डाउनलोड INDIRECT Function Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

Special Offer - Online EXCEL COURSE Learn More