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

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,080
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,080
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,102,081
Messages
5,484,556
Members
407,454
Latest member
moomen1999

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top