Office, Karriere und Technik Blog

Office, Karriere und Technik Blog

Anzeige


Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Mastering the INDIRECT function in Excel: Converting text into dynamic references

In the world of Excel, cell references like =A1 or =SUM(B2:B10) are commonplace. These references are direct and static. They always point to the same cell or range. But what if you want your reference to change based on the content of a different cell? That’s where the INDIRECT function comes in.

INDIRECT is a powerful, though often overlooked, function that takes a text string (plain text) and converts it into a real, working cell reference. It’s the tool of choice for making your spreadsheets dynamic and flexible.

indirekt-funktion-excel

Topic Overview

Anzeige

What does the INDIRECT function do?

Imagine you have the text “B1” in cell A1. If you then enter the formula =A1 in cell C1, the result is simply the text “B1”. However, if you enter the formula =INDIRECT(A1) in cell C1 instead, Excel looks at the content of A1 (“B1”), converts this text into a reference to cell B1, and returns the value from cell B1.

INDIRECT thus acts as a translator: It reads a text string and tells Excel: “Hey, this isn’t normal text, this is an address. Go there and get the value.”

The Syntax Broken Down

The syntax of the function is relatively simple:

=INDIRECT(reference text; [A1])

Reference Text (Required): This is the text string that Excel should convert into a reference. This can be direct text (e.g., “C5”) or, much more commonly, a reference to a cell containing the text (e.g., A1). It can also be a formula that creates a text string (e.g., “Table” & A2 & “!B5”).

[A1] (Optional): This argument specifies the reference type.

TRUE or omitted: Excel expects the default reference type “A1” (e.g., B3, C4:D5).

FALSE: Excel expects the “R1C1” reference type (Row 1 Column 1).

💡Tip: In 99% of cases, you can simply ignore and omit this argument.

Practical example: Dynamic data summarization

The best way to understand INDIRECT is through a practical example. Imagine you have a worksheet for each month of the year: “January,” “February,” “March,” and so on.

In each of these monthly sheets, the total sales are in cell E10.

Now you want to create a summary table that lists all the total sales.

The slow, static way: In your summary table, you would manually type:

In B2: =January!D6

In B3: =February!D6

In B4: =March!D6

…and so on.

This is tedious and prone to errors. What if the cell changes? You would have to adjust all the formulas manually.

The fast, dynamic way with INDIRECT:

Set up your “Overview” table so that the month names (which must be exactly the same as the worksheet names!) are in column A.

Advertisement

Set up your “Overview” table so that the month names (which must be exactly the same as the worksheet names!) are in column A.

Go to cell B2 and enter the following formula:

=INDIRECT(A2 & “!D6”) [Cell D6 is just an example here. In your table, it must be named after the cell containing the desired value.]

Copy this formula down from B2 to B5.

What’s happening here?

  • In cell B2:
  • The formula takes the value from A2 (“January”).
  • It concatenates (&) it with the text string “!D6”.
  • The result of this concatenation is the text: “January!D6”.
  • INDIRECT takes this text and converts it into a real reference: January!D6.
  • Excel retrieves the value from cell E10 of the “January” sheet.

In cell B3 (when copying):

  • The reference A2 automatically adjusts to A3.
  • The formula is now =INDIRECT(A3 & “!D6”).
  • It takes the value from A3 (“February”) and creates the text “February!D6”.
  • INDIRECT retrieves the value from cell D6 of the “February” sheet.

You now have a single, flexible formula that you can use for all 12 months. If you add an “April” sheet next year, you simply need to type “April” in A5 and drag the formula down.

Why is the INDIRECT function so useful?

The main advantage of INDIRECT is its flexibility. It “decouples” the formula from the actual reference. The reference is instead controlled by another cell’s content.

Other common use cases include:

  • Dependent drop-down lists: You can create a drop-down list (data validation) whose options change depending on what is selected in another cell.
  • Dynamic named ranges: You can reference a named range whose name is in a cell.
  • Creating dashboards: You can control which data is displayed in a chart or table simply by changing a text value in a cell (e.g., “Week 1”, “Week 2”).

Important notes:

Despite its power, INDIRECT has two important drawbacks to be aware of:

  • Volatileness: INDIRECT is a volatile function. This means it is recalculated whenever there is a change in the workbook, not just when its own input values ​​change. In very large files with thousands of INDIRECT formulas, this can noticeably slow down Excel’s performance.
  • Error vulnerability with references: If the reference text does not result in a valid reference (e.g., because the worksheet name was written “Jannuar” instead of “January”), the function returns a #REF! error.
  • Linked workbooks: If you use INDIRECT to reference another Excel file, that target file must be open for the reference to work.
Advertisement

Conclusion

The INDIRECT function is a powerful tool for advanced Excel users. It may seem complicated at first glance, but the concept is simple: it turns dead text into a living reference. If you ever reach a point where you think, “I wish my formula could adapt to the text in this cell,” then INDIRECT is almost always the right answer.

About the Author:

Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.
Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!
Blogverzeichnis Bloggerei.de - Computerblogs

Search by category:

Beliebte Beiträge

2811, 2025

Google’s nightmare: Perplexity becomes a shopping machine

November 28th, 2025|Categories: Shorts & Tutorials, Artificial intelligence, Google, Internet, Finance & Shopping|Tags: , , |

Traditional online shops are a thing of the past. With its PayPal integration, Perplexity is transforming AI search into a sales machine. Why direct purchasing via chat ("Buy with Pro") is now putting massive pressure on Google and Amazon.

2711, 2025

Die Tablet-Könige: Die besten Allrounder im Vergleich

November 27th, 2025|Categories: Internet, Finance & Shopping, Hardware, Product Tests|Tags: , , |

Das perfekte Tablet für Weihnachten 2025: Der Vergleich der Top 5 Allrounder. Ob iPad Air (M3), Galaxy Tab S10+ oder Surface Pro – wir zeigen alle Vor- und Nachteile. Inklusive detaillierter Tabelle zu Akkulaufzeit, Specs und Preisen. Finde jetzt deinen Favoriten!

2711, 2025

Bitcoin & Co.: Technology, price mechanisms and the market beyond number one

November 27th, 2025|Categories: Shorts & Tutorials, Internet, Finance & Shopping|Tags: |

Bitcoin will no longer be play money by 2025. We delve into the inner workings of the blockchain, explain the impact of ETFs on its price, and showcase alternatives like Ethereum. Plus: The ultimate guide for beginners – from your first ETF savings plan to secure wallet storage.

2711, 2025

Wie J.P. Morgan mit KI die Wall Street automatisiert

November 27th, 2025|Categories: Shorts & Tutorials, Internet, Finance & Shopping|Tags: |

J.P. Morgan startet die größte KI-Offensive der Wall Street. Mit der „LLM Suite“ erhalten 60.000 Mitarbeiter einen digitalen Research-Analysten. Das Ziel: Schluss mit „Monkey Work“ und Excel-Sklaventum. Erfahren Sie, wie die Bank Sicherheit und maximale Effizienz kombiniert.

2411, 2025

Warum dein Excel-Kurs Zeitverschwendung ist – was du wirklich lernen solltest!

November 24th, 2025|Categories: Shorts & Tutorials, Artificial intelligence, Microsoft Excel, Microsoft Office, Software|Tags: , |

Hand aufs Herz: Wann hast du zuletzt eine komplexe Excel-Formel ohne Googeln getippt? Eben. KI schreibt heute den Code für dich. Erfahre, warum klassische Excel-Trainings veraltet sind und welche 3 modernen Skills deinen Marktwert im Büro jetzt massiv steigern.

2211, 2025

Why laptops without NPU will soon be history

November 22nd, 2025|Categories: Shorts & Tutorials, Artificial intelligence, Hardware, Internet, Finance & Shopping, Mac OS, Windows 10/11/12|Tags: |

Forget GHz: The most important chip in your next laptop is the NPU. Without it, you'll soon be missing crucial features. We'll show you why the "AI PC" is replacing the traditional computer and which devices with Snapdragon, Intel Lunar Lake, and Apple M4 are now setting the standard.

Anzeige

Offers 2024: Word & Excel Templates

Anzeige
2025-11-05T15:30:39+01:00By |Categories: Shorts & Tutorials, Microsoft Excel, Microsoft Office, Office 365|Tags: , |
Ads

Popular Posts:

Search by category:

Autumn Specials:

Anzeige
Go to Top