Thread
:
Need help with MIN IF AND
View Single Post
06-27-2015, 06:29 AM
tinfanide
Windows 7 64bit
Office 2010 32bit
Expert
Join Date: Aug 2011
Posts: 312
Quote:
Originally Posted by
Pecoflyer
A non array solution
Code:
=SMALL(A1:a6,COUNTIF(A1:a6,0)+COUNTIF(A1:a6,1)+1)
EDIT corrected typo
Thanks. But if the array is like this:
From A1 to A6:
4,0,5,1,2,1
Then
Code:
COUNTIF($A$1:$A$6,1) ' will return 2
tinfanide
View Public Profile
Find all posts by tinfanide