Bird
Raised Fist0
Excelspreadsheet~20 mins

INDIRECT for dynamic references in Excel - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
INDIRECT Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
What is the output of this INDIRECT formula?
Given the following setup:

Cell A1 contains the text B2.
Cell B2 contains the number 150.

What value will the formula =INDIRECT(A1) return?
A150
BB2
C#REF! error
D0
Attempts:
2 left
💡 Hint
INDIRECT uses the text in a cell to get the value from that referenced cell.
❓ Function Choice
intermediate
2:00remaining
Which formula correctly uses INDIRECT to sum a range defined by text in cells?
Cells A1 and A2 contain the text C1 and C5 respectively.

You want to sum the range from C1 to C5 using INDIRECT.

Which formula will do this correctly?
A=SUM(INDIRECT(CONCATENATE(A1, ":", A2)))
B=SUM(INDIRECT(A1 + ":" + A2))
C=SUM(INDIRECT(A1 & ":" & A2))
D=SUM(INDIRECT(A1 & "," & A2))
Attempts:
2 left
💡 Hint
Use & to join text strings in Excel formulas.
📊 Formula Result
advanced
2:00remaining
What is the result of INDIRECT with R1C1 notation?
Cell A1 contains the number 3.

What value will the formula =INDIRECT("R" & A1 & "C2", FALSE) return if cell B3 contains 200?
A200
B#REF! error
CR3C2
DFALSE
Attempts:
2 left
💡 Hint
The second argument FALSE tells INDIRECT to use R1C1 style referencing.
🎯 Scenario
advanced
2:00remaining
Using INDIRECT to reference a sheet name from a cell
You have two sheets named January and February.
Cell A1 in the current sheet contains the text February.
Cell B2 in the February sheet contains the value 500.

Which formula will correctly return the value 500 using INDIRECT?
A=INDIRECT(A1 & "!B2")
B=INDIRECT("B2" & A1)
C=INDIRECT(A1 & "B2")
D=INDIRECT("'" & A1 & "'!B2")
Attempts:
2 left
💡 Hint
Sheet names with spaces or special characters need single quotes around them.
❓ data_analysis
expert
2:30remaining
How many cells will this INDIRECT formula reference?
Cell A1 contains the text D3.
Cell A2 contains the text D7.

What is the number of cells included in the range referenced by the formula =INDIRECT(A1 & ":" & A2)?
A6
B5
C4
D7
Attempts:
2 left
💡 Hint
Count all cells from D3 down to D7 inclusive.

Practice

(1/5)
1. What does the INDIRECT function do in Excel?
easy
A. It adds numbers in a range.
B. It converts a text string into a cell reference.
C. It finds the largest number in a list.
D. It sorts data alphabetically.

Solution

  1. Step 1: Understand the purpose of INDIRECT

    The INDIRECT function takes a text string and treats it as a cell or range reference.
  2. Step 2: Compare with other options

    Other options describe different functions like SUM, MAX, or SORT, which are unrelated to INDIRECT.
  3. Final Answer:

    It converts a text string into a cell reference. -> Option B
  4. Quick Check:

    INDIRECT = text to reference [OK]
Hint: INDIRECT turns text into a cell address [OK]
Common Mistakes:
  • Thinking INDIRECT adds or calculates numbers
  • Confusing INDIRECT with lookup functions
  • Assuming INDIRECT sorts or filters data
2. Which of these is the correct syntax for the INDIRECT function?
easy
A. INDIRECT(reference_text, a1, sheet_name)
B. INDIRECT(reference_text; [a1])
C. INDIRECT(reference_text, [a1])
D. INDIRECT(reference_text [a1])

Solution

  1. Step 1: Recall the syntax of INDIRECT

    The correct syntax is INDIRECT(reference_text, [a1]) where reference_text is required and a1 is optional.
  2. Step 2: Check each option

    INDIRECT(reference_text, [a1]) uses comma and optional argument correctly. INDIRECT(reference_text; [a1]) uses semicolon which is invalid in Excel formulas. INDIRECT(reference_text, a1, sheet_name) has extra argument 'sheet_name' which is not part of INDIRECT. INDIRECT(reference_text [a1]) lacks the comma between arguments, causing a syntax error.
  3. Final Answer:

    INDIRECT(reference_text, [a1]) -> Option C
  4. Quick Check:

    Syntax = INDIRECT(reference_text, [a1]) [OK]
Hint: Use comma to separate arguments in INDIRECT [OK]
Common Mistakes:
  • Using semicolons instead of commas
  • Adding extra arguments not supported
  • Omitting required reference_text argument
3. Given cell A1 contains the text "B2" and cell B2 contains the number 50, what will =INDIRECT(A1) return?
medium
A. 50
B. 0
C. An error #REF!
D. The text "B2"

Solution

  1. Step 1: Understand what INDIRECT(A1) does

    Since A1 contains the text "B2", INDIRECT(A1) treats it as a reference to cell B2.
  2. Step 2: Check the value in cell B2

    Cell B2 contains the number 50, so INDIRECT(A1) returns 50.
  3. Final Answer:

    50 -> Option A
  4. Quick Check:

    INDIRECT("B2") = 50 [OK]
Hint: INDIRECT reads cell text as a reference [OK]
Common Mistakes:
  • Returning the text instead of the referenced value
  • Expecting an error if text looks like a cell
  • Confusing INDIRECT with direct cell value
4. You wrote the formula =INDIRECT(A1) but it returns a #REF! error. What is the most likely cause?
medium
A. Cell A1 contains a text that is not a valid cell reference.
B. Cell A1 is empty.
C. You forgot to put quotes around A1 in the formula.
D. INDIRECT cannot reference other sheets.

Solution

  1. Step 1: Understand #REF! error in INDIRECT

    #REF! means the reference text does not point to a valid cell or range.
  2. Step 2: Analyze possible causes

    If A1 contains invalid text (like "XYZ"), INDIRECT tries to find that cell and fails, causing #REF!. If A1 is empty, INDIRECT returns #REF! as well, but the question asks for the most likely cause. Forgetting quotes around A1 is a syntax error, not #REF!. INDIRECT can reference other sheets if text is correct.
  3. Final Answer:

    Cell A1 contains a text that is not a valid cell reference. -> Option A
  4. Quick Check:

    Invalid reference text causes #REF! [OK]
Hint: Check if A1 text is a valid cell address [OK]
Common Mistakes:
  • Assuming INDIRECT can't reference other sheets
  • Confusing syntax errors with #REF! errors
  • Ignoring empty cell as cause
5. You want to sum values from different sheets dynamically. Cell A1 contains the sheet name (e.g., "Sales 2023"), and you want to sum range B1:B10 on that sheet. Which formula correctly uses INDIRECT to do this?
hard
A. =SUM(INDIRECT(A1 & "!B1:B10"))
B. =SUM(INDIRECT("A1!B1:B10"))
C. =SUM(INDIRECT(A1 & "B1:B10"))
D. =SUM(INDIRECT("'" & A1 & "'!B1:B10"))

Solution

  1. Step 1: Understand the need for sheet name with range

    To reference a range on another sheet, the format is 'SheetName'!Range. If the sheet name has spaces, single quotes are needed around it.
  2. Step 2: Analyze each option

    =SUM(INDIRECT(A1 & "!B1:B10")) misses single quotes around sheet name, which can cause errors if sheet name has spaces. =SUM(INDIRECT("A1!B1:B10")) treats A1 as literal sheet name, which is wrong. =SUM(INDIRECT(A1 & "B1:B10")) misses the exclamation mark between sheet name and range. =SUM(INDIRECT("'" & A1 & "'!B1:B10")) correctly adds single quotes around sheet name and concatenates with !B1:B10.
  3. Final Answer:

    =SUM(INDIRECT("'" & A1 & "'!B1:B10")) -> Option D
  4. Quick Check:

    Use quotes around sheet name with ! and range [OK]
Hint: Add single quotes around sheet name in INDIRECT [OK]
Common Mistakes:
  • Omitting single quotes around sheet names with spaces
  • Forgetting the exclamation mark between sheet and range
  • Using cell reference text literally instead of concatenation
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard