Hi, been lurking for a while, first post
So I picked up this formula (and modded it a bit) from this forum to count the number of unique values that meet certain criteria:
=SUM(IF(FREQUENCY(IF($B$2418:$B$9151=$I$2422,IF($A$2418:$A$9151>=$I$2419,IF($A$2418:$A$9151<=$I$2420,MATCH("~"&$C$2418:$C$9151&"",$C$2418:$C$9151&"",)))),ROW($B$2418:$B$9151)-ROW($B$2418)+1),1))
Entered as an array. Basically the first three IF statements within the FREQUENCY command are testing for various criteria in columns A and B that the data in column C needs to meet to be counted and then the unique values in C that meet those criteria. My next step is to add a fourth criteria, but this criteria needs to be met AT LEAST TWICE to count the data in C as a unique value. Example:
A 1 hello fail
A 2 hello fail
B 1 hi pass
A 1 hello fail
So if I queried number of words that are A1 that failed at least twice, it should return 1, because hello was the only word that matched that criteria. Like I stated, the A1 criteria matching is not an issue and is covered by my above formula, but I can't figure out how to query unique values that match a criteria at least twice. Can anyone help? (If this approach is inherently wrong for this necessity, I am certainly open to abandoning this sum frequency approach as long as the new one can still perform the functions necessary) Thanks in advance!
Bookmarks