Index contains Address information?

Scotster

Board Regular
Joined
May 29, 2017
Messages
54
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Just a query regarding the result from an Index formula really. I have a formula that I got help to create but I'm struggling to understand how the address is realised from the resulting index calculation.

The very simplified version of the formula is below:

Code:
=SUM(INDEX(A$2:A9,7,1):A9)

The "7" in the above is calculated but I wanted to give it as basic as I could. Table below to show the result from using the above formula.

The Index part of the formula will return "80" on its own. However, using the SUM, it references the resulting Index address of A8.

It made me wonder, is there a way of simply showing the address as the result an index formula, rather than the value of the location? I've used Match etc to find the address, but this would be far more elegant if it was easy to do. Is this a well known use of the function? I had never even considered it before.

10Result
20170
30
40
50
60
70
80
90
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You can use:

Excel Formula:
=CELL("address",INDEX(A$2:A9,7,1))

I don't really know why you would want to though.
 
Upvote 0
Solution
You can use:

Excel Formula:
=CELL("address",INDEX(A$2:A9,7,1))

I don't really know why you would want to though.

Thanks for that. I guess it was more for curiosity than anything. I thought the calculated formula was simply a value, rather than the stored address (and thus the value).

I guess it would be a good alternative to using multiple match criteria for a address formula lookup, where the address is required rather than the result.
 
Upvote 0

Forum statistics

Threads
1,215,095
Messages
6,123,073
Members
449,093
Latest member
ripvw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top