I didn't find anything around. What I'm trying to achieve is to filter out an [n x 3]
array based on another array m x 1
Let's say that:
arr1 = [n x 3] 'where n is roughly 500'000
arr2 = [m x 1] 'where m is roughly 500
arr1
it's structured like this:
arr1(1,1) = ID1 | arr1(1,2) = String1 | arr1(1,3) = Bolean1
arr1(2,1) = ID2 | arr1(2,2) = String2 | arr1(2,3) = Bolean2
arr2
it's structured like this:
arr2 (1) = ID2 | arr2 (2) = ID23 | arr2 (3) = ID345 | arr2 (4) = ID4567 | arr2 (5) = ID6381
What I need to do is filter arr1
to exclude all those records where arr1(i,1)
is included in arr2
and arr1(i,2) <> "String2"
. Then paste the filtered array onto a worksheet