Index match ignoring zero values (help)

pujo

Well-known Member
Joined
Feb 19, 2009
Messages
707
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
How can I make this formula ignore blanks and zero values?
Code:
=INDEX(O9:BV9,MATCH(MIN(O10:BV10),O10:BV10,0))
Thanks,
Pujo
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi Pujo

In place of MIN(O10:BV10), try AGGREGATE(15,7,(O10:BV10)/((O10:BV10<>0)*(O10:BV10<>"")),1)

Hope that helps.
 
Upvote 0
Thanks Elliott however, this does not work for me. I am still using Excel 2010 (i know)...
I get errors in the formula.
 
Upvote 0
The Aggregate formula should work for 2010


Excel 2013/2016
NOPQRSTUV
9OPQRSTUV
10T110756
Data
Cell Formulas
RangeFormula
N10=INDEX(O9:BV9,MATCH(AGGREGATE(15,7,(O10:BV10)/((O10:BV10<>0)*(O10:BV10<>"")),1),O10:BV10,0))
 
Upvote 0

Forum statistics

Threads
1,213,490
Messages
6,113,956
Members
448,535
Latest member
alrossman

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