Nth Small in array excluding zeros

Calgary_Neil

Board Regular
Joined
Apr 5, 2014
Messages
79
I am wanting to find the column of the Nth (2nd) occurrence of "Y". The array that SMALL works on is correct, but SMALL returns 0, which is the 2nd smallest number after 0.
How do I remove the 0's or do this another way? TProd is a named range of 28 Columns, which has 2 "Y" in it (12, 19)

SMALL( (N( TProd="Y") * COLUMN( TProd)), 2)


Thankyou for reading
Neil (Excel 365)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Thanks. Never would of got that.
Away right now, but I think you are dividing by 0 (or 1) and then eliminating the errors. Intresting

thanks
 
Upvote 0

Forum statistics

Threads
1,215,588
Messages
6,125,691
Members
449,250
Latest member
azur3

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