How to get the address of the formula's result from 2D array (Matrix)

cera22

New Member
Joined
Aug 8, 2019
Messages
3
Hi everyone!

I have stumbled upon a problem while trying to extract the address of the formula's result. Namely, I am talking about the formula that calculated minimum value from the matrix based on the different criteria.

The matrix that I have created is simplified just for the purpose of this question.

V. Criteria 1V. Criteria 2V. Criteria 3
H. Criteria 1223344
H. Criteria 2223355
H. Criteria 3254411

<tbody>
</tbody>

**
If the "FORMULA" = 44, I would like to know the exact position of this result (the one bolded in the matrix)

So far I have tried CELL("address" but id doesn't seem to work because my formula is MIN(IF array formula.

I would appreciate any ideas or solutions.
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,102
Office Version
365
Platform
Windows
You could do this:

=ADDRESS(MATCH(TRUE,INDEX($A$2:$A$4="H. Criteria 3",0),0)+ROW($A$2)-1,MATCH(TRUE,INDEX($B$1:$D$1="V. Criteria 2",0),0)+COLUMN($B$1)-1,4)
 

cera22

New Member
Joined
Aug 8, 2019
Messages
3
Thank you for the answer Steve.

My criteria is dynamic and it is changing with the user input. The result is calculated by the formula which is 1km long due to the complexity of the criteria.

This wont work because I need something where I can input my formula and its array and ask for the coordinates of its result. Even though there are similar values to the result I got, I will need the one that my formula returned and not a duplicate value somewhere in the matrix.
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,102
Office Version
365
Platform
Windows
The only way to do that i think is to search for the result in the matrix. That isnt as bulletproof as using the formula conditions to build the address formula.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,430
Messages
5,511,285
Members
408,838
Latest member
Oggy

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top