July 16, 2010
Hi Alver,
UNIQUE considers a whole row or whole column when it looks for unique results. Therefore each row or column in your 2D array has a different sequence of numbers, as opposed to assessing the numbers in the entire 2D array as a single column or row of values.
Therefore, you can use this formula where SMALL reduces the array to a single row of values:
=IFERROR(UNIQUE(SMALL(IF(COUNTIF(Midday_Last3,Midday_Last3)>2,INDEX(Midday_Last3,,),""),COLUMN(C3:V4)),TRUE),"")
Hope that helps.
Mynda
Active Member
August 29, 2021
Hi Mynda,
Thanks a lot for the answer it did it automatically generate the numbers, but the first instance of the duplicate is not being added, not sure why for the second part where the criteria if the occurrence of the number is 2x the 1st instance is skip in the list generated.
=IFERROR(UNIQUE(SMALL(IF(COUNTIF(Midday_Last3,Midday_Last3)=2,INDEX(Midday_Last3,,),""),COLUMN(C3:V4)),TRUE),"")
Alver