I'm trying to match a cell with comma separated numbers (M) against a column of numbers (B), such that if any of the comma separated numbers do NOT appear in the column, the result is false.
I have already this solution:
{=COUNT(MATCH(TRIM(MID(SUBSTITUTE(M2,",",REPT(" ",100)),(Num_Array-1)*100+1,100)),$B$2:$B$7,0))=(LEN(M2)-LEN(SUBSTITUTE(M2,",",""))+1)}
at this link:
which works perfectly if all the values are text. But if all the values are numbers, it always returns false.
Test data I used is: test data