Excel INDIRECT function

Turns text into a reference, so a cell can decide which range is used. In Spanish Excel it is called INDIRECTO.

Syntax

English Excel

=INDIRECT(ref_text, [a1])

Spanish Excel (Mexico)

=INDIRECTO(ref, [a1])

Spanish Excel (Spain, Latin America)

=INDIRECTO(ref; [a1])

ArgumentWhat it is
ref_textText with the address, such as "B2" or "C2:C10"; it can be built with &.
a1optionalTRUE (or omitted) for addresses like B2; FALSE for the R2C3 style.

Example

INDIRECT turns text into a reference: INDIRECT("B2:B6") is the range B2:B6. That lets a cell decide which range to add up. ADDRESS(row, column) does the opposite: it builds the text of an address, such as "$B$4".

=SUM(INDIRECT(I1&"2:"&I1&"6"))

Common mistake

It is volatile: it recalculates on every change and slows down large workbooks. Where you can, use INDEX or CHOOSE.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice INDIRECT

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

INDIRECT and ADDRESS

INDIRECT turns text into a reference: INDIRECT("B2:B6") is the range B2:B6. That lets a cell decide which range to add up. ADDRESS(row, column) does the opposite: it builds the text of an address, such as "$B$4".

Example=SUM(INDIRECT(I1&"2:"&I1&"6"))INDIRECTO = INDIRECTDIRECCION = ADDRESS
Step 1/2

In I2, add up the column whose letter is in I1, rows 2 to 6, with INDIRECT. Changing I1 to "E" should add up Dani’s.

I2
ABCDEFGHIJ
1WeekAnaBetoCarlaDaniColumnC
2118,200.009,400.0015,100.0012,000.00Total for that column
3221,500.0011,800.009,900.0014,300.00Cell with Ana’s best sale
4316,700.0013,200.0017,400.0010,800.00
5424,900.008,700.0012,600.0015,900.00
6519,300.0014,100.0016,800.0011,200.00
7

Tip: while typing, click a cell or drag across several to insert their reference. F4 anchors the reference with $.

Frequently asked questions

What is INDIRECT called in Spanish?
In Spanish Excel it is INDIRECTO. The formula =SUM(INDIRECT(I1&"2:"&I1&"6")) is written =SUMA(INDIRECTO(I1&"2:"&I1&"6")) (or with commas in Mexico).
Why does INDIRECT use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common INDIRECT mistake?
It is volatile: it recalculates on every change and slows down large workbooks. Where you can, use INDEX or CHOOSE.