Hi,
I don't know how to figure it out the right formula, i thnk is complex what i need to solve,
First let me explain the first ecenareo :
I have numbers to be match (A1:E1)
Need to count how many Uniques numbers from (A1:E1) are in Range ( A2:E4) Regardless if range have multiples matched duplicated.
Example 1
211 222 201 200 122 <-A1:E1 -- number to be match and count on Range A2:E4)
121 211 302 100 210 <- range
110 200 200 110 212 <- range
101 212 203 201 211 <- range
I use Countif nested, but give a wrong output ---> 5
and i use Sumproduct/Countif, w wrong output --> 5
Desired Output is -----------------------------------> 4
This is why
(A1) 211 is 1 time (matched in range)
(B1) 222 is 1 time (NOT match in range)
(C1) 201 is 1 time (matched in range)
(D1) 200 is 1 time (matched in range)
(E1) 122 is 1 time (NOT match in Range )
Example 2:
Note that Numbers to be match and count 200 is twice, also is twice in the Range
211 200 201 200 122 <- number to match/count
121 211 302 100 210 <- range
110 200 200 110 212 <- range
101 212 203 201 211 <- range
The Desired Outpout here need to be -> 4
This is why
(A1) 211 is 1 time (2 times in range but count as unique B/C is only 1 time in A1)
(B1) 200 is 2 time (2 times in range AND count twice B/C is in B1 + D1)
(C1) 201 is 1 time (1 time in range and 1 time in C1)
(D1) 200
(E1) 122 is 1 time (is NOT in Range, it doesn't match, not count )
Thanks,
Going to work now.. have a great day !!
Bookmarks