How to use MIN function whilst omitting 0 value within INDEX and MATCH formula

Dan23

New Member
Joined
Dec 4, 2019
Messages
8
Office Version
  1. 2013
Platform
  1. Windows
Gday,

I need to find the lowest number from a range of numbers omitting the value of '0' whilst using the MATCH and INDEX functions within the same formula. Have tried this combination but receive an error.

=INDEX(D36:BXW36,MATCH(MIN(if(D38:BXW38>0,d38:bxw38),D38:BXW38,0))
=INDEX(D36:BXW36,MATCH(MINifs(D38:BXW38,">0"),D38:BXW38,0))

I use EXCEL 2013.
 

Attachments

  • Excel Matchminhelp.png
    Excel Matchminhelp.png
    17.1 KB · Views: 10

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
for your reference
Book1
ABCDEF
1ABCDEF
212030.54
3
4E
Sheet1
Cell Formulas
RangeFormula
B4B4=INDEX(A1:F1,MATCH(MIN(IF(A2:F2>0,A2:F2)),IF(A2:F2>0,A2:F2),))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
LOOKUP is also OK for the case
Book1
ABCDEF
1ABCDEF
212030.56
3
4E
Sheet1
Cell Formulas
RangeFormula
B4B4=LOOKUP(1,0/(A2:F2=MIN(IF(A2:F2>0,A2:F2))),A1:F1)
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Here is another option that doesn't use an array formula:
MrExcel20200516_b.xlsx
CDEFGHIJKL
5
60.50.60.70.80.911.11.21.3
71.1
82.52.42.83.2000.811.9
Sheet6
Cell Formulas
RangeFormula
C7C7=INDEX(D6:L6,MATCH(AGGREGATE(15,6,(D8:L8)/(D8:L8>0),1),D8:L8,0))
 
Upvote 0
Thanks, all solutions worked great, extremelly thankful for your time and help! Sorry for late reply, forgot to check my junk email.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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