+ Reply to Thread
Results 1 to 4 of 4

Using ADDRESS results in a LOOKUP_ARRAY

  1. #1
    Registered User
    Join Date
    01-12-2007
    Posts
    3

    Using ADDRESS results in a LOOKUP_ARRAY

    With the formula "ADDRESS" I calculated two references to two different cells. How can I use these results in the "lookup_array" in other formulas?

    For example, I calculated A1 and A5 using ADDRESS.
    Now I want Excel to calculate the total of cells A1 to A5 using the two ADDRESS results. How do I enter this in the "SUM" formula?

    Please advise!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You could use the INDIRECT function to refer to the result returned by address, e.g. INDIRECT(ADDRESS(5,1))

    ......but using ADDRESS almost always isn't the best way, how are you deriving the cells using ADDRESS?

  3. #3
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203
    Use INDIRECT.

    For example, if a "normal" formula looks like this:
    =SUM(A1:A2)

    With indirect, it looks like this:
    =SUM(INDIRECT("A2:A3"))

    In your case, you have some other function (let's call it "xyz") which returns "A1", and another function (let's call it "abc") which returns "A2". So, your SUM function now looks like this:
    =SUM(INDIRECT(xyz&":"&abc))

  4. #4
    Registered User
    Join Date
    01-12-2007
    Posts
    3
    Thanks guys!

    the "=SUM(INDIRECT(xyz&":"&abc))" suggestion is what I was looking for.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1