Address of minimum in range with #N/A

MartyM

New Member
Joined
Nov 29, 2009
Messages
8
Hello,

I have bee searching the Internet for this but cannot get an array formula to work this out.

I have a range of positive values (single column) and need to find the address of the cell holding the minimum of this range. This works for a range K60:K70, see below.

=ADDRESS(MIN(IF(K60:K70=MIN(K60:K70);ROW(K60:K70)));COLUMN(K60:K70);4)

Now, this range also contains #N/A. I tried various ISNA statements but the full evaluation fails since I always keep with a MIN function being evaluated against this #N/A.

Where do I put the ISNA check to make this work?
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Welcome to the Board.

Try:

=ADDRESS(MIN(IF(IF(ISNA(K60:K70);"!";K60:K70)=MIN(IF(ISNA(K60:K70);"";K60:K70));ROW(K60:K70)));COLUMN(K60:K70);4)
 

MartyM

New Member
Joined
Nov 29, 2009
Messages
8
Thanks Andrew,

quite a formula but it makes sense to me. Thanks for the great answer.
:)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,967
Messages
5,599,094
Members
414,285
Latest member
excela2z

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
Top