Excel Formula

=SUM(INDIRECT(ADDRESS(1, 24) & ":" & ADDRESS(14, 24)))

What the usage for INDIRECT & ADDRESS used in Excel formula ? What does the above formula mean ?

Tks
AXISHKAsked:
Who is Participating?
 
Hakan YılmazConnect With a Mentor Technical Office MEP EngineerCommented:
INDIRECT function turns a "String" value to "Range Reference".
You can use both A1 and R1C1 references together with help of this function.
ADDRESS function produces address of a range as "String", from parameters you give.

Your formula always sums X1:X14 (X is 24th column) in same sheet with formula.
0
 
Rory ArchibaldConnect With a Mentor Commented:
ADDRESS(1,24) returns $X$1
ADDRESS(14, 24) returns $X$24

INDIRECT("$X$1:$X$24")
returns a reference to the range X1:X24 and SUM then adds it up. You can use the Evaluate Formula button on the formulas tab to see the steps. ;)
0
 
AXISHKAuthor Commented:
Tks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.