์ƒ์„ธ ์ปจํ…์ธ 

๋ณธ๋ฌธ ์ œ๋ชฉ

Excel Power Function ๐Ÿ“ฆ | Mastering INDIRECT for Dynamic References ๐ŸŽฏ

Excel

by Youngam 2025. 7. 9. 00:24

๋ณธ๋ฌธ

728x90

 

728x90

Hey everyone ๐Ÿ™‹‍โ™€๏ธ
Today, we’re diving into a slightly lesser-known but incredibly powerful Excel function —
the one and only INDIRECT! ๐Ÿ˜Ž

This function might seem tricky at first,
but once you get the hang of it, it becomes a game-changer in reports, dashboards, and automation ๐Ÿ’ผ


What is INDIRECT? ๐Ÿค”

To put it simply:
๐Ÿ‘‰ INDIRECT converts text into an actual cell reference!

Let’s say cell A1 contains "B3" and B3 contains 100.

=INDIRECT(A1)

โžก๏ธ This returns 100 — because it reads the text "B3" in A1 and treats it as a real reference.

 


Syntax of INDIRECT ๐Ÿ“

 
=INDIRECT(ref_text, [a1])
  • ref_text: A cell reference in text format
  • [a1]: TRUE (default) for A1 style, FALSE for R1C1 style (you can usually skip this)

Example 1: Use a cell to decide which cell to reference โœ๏ธ

 
A
B
B3
 
 
100

 

INDIRECT(A1)
๐Ÿ‘‰ Result is 100
Because A1 holds the text "B3", INDIRECT fetches the value in B3.


Example 2: Referencing other sheets ๐Ÿ“„

Let’s say A1 = "Sheet2" and in Sheet2!B1 you have "ABC".

excel
=INDIRECT("'" & A1 & "'!B1")

๐Ÿ‘‰ Result: "ABC"
You’re dynamically referencing Sheet2!B1 using the name in A1.
๐Ÿ’ก If the sheet name has spaces, always wrap it in single quotes!

 

 

 


Example 3: Combine column letter + row number for dynamic targeting ๐Ÿ“Š

 
=INDIRECT("B" & 3)

๐Ÿ‘‰ Fetches value in B3
Useful when rows/columns are dynamically calculated or controlled by other cells!


Example 4: Real-World Use ๐Ÿ’ผ | Pulling Monthly Student Scores from Multiple Sheets ๐Ÿ“Š

Now for a real practical case used all the time in Excel-heavy jobs!
You have monthly sheets like Jan, Feb, March, each storing the same student data:


 

 

A (Name)B (Class)C (Score)

Tom 1 85
Peter 2 90
Jane 1 88

 

 

 
 

 

  • Then in the Summary sheet, you want to see the average score per student per month:
 
A์—ด (Month)
B์—ด (Tom)
C์—ด (Peter)
D์—ด (Jane)
Jan
(์ ์ˆ˜)
(์ ์ˆ˜)
(์ ์ˆ˜)
Feb
(์ ์ˆ˜)
(์ ์ˆ˜)
(์ ์ˆ˜)
March
(์ ์ˆ˜)
(์ ์ˆ˜)
(์ ์ˆ˜)

๐Ÿ‘‰ Instead of building formulas for each student + month manually,
you use INDIRECT to dynamically reference the right sheet!

 

 

โœ… Formula (in cell B2 of Summary sheet):

 
=AVERAGEIFS(INDIRECT("'" & $A2 & "'!C:C"), INDIRECT("'" & $A2 & "'!A:A"), B$1)
  • $A2: month/sheet name (e.g., "Jan")
  • B$1: student name (e.g., "Tom")
  • Column C in the target sheet is where the scores are
  • Column A in the target sheet has student names

๐ŸŽฏ This formula tells Excel:
“Go to the sheet named in A2, and return the average score from column C where column A matches the student name in B1.”

You can copy this formula across and down — and build a full dynamic score matrix ๐Ÿ’ช


 

When to Use INDIRECT ๐Ÿ’ก

  • Dynamic references to different sheets
  • Making templates that work for any cell or tab
  • Building dashboards, summaries, or linked monthly reports

Just remember: since INDIRECT uses text to build a reference,
๐Ÿ”’ it’s not updated when you rename sheets or move cells — so be a bit cautious!


 

 

728x90

๊ด€๋ จ๊ธ€ ๋”๋ณด๊ธฐ