Hi all,
I am not sure if there is an answer to this.
I am trying to process two range objects A & B to derive a third range C that is equivalent to the remainder of range A not in range B.
For example.
Range A = UNION(A1:A5, A8:A10, A17)
Range B = A4:A9
Range C should be then UNION(A1:A3, A10, A17)
A bit like a NOT_INTERSECT(A,
In SQL I suppose it would be similar to
select * from A where A not in (select * from
I know I can achieve this by looping through each component of the ranges, testing for intersections and slowly building up range C when the intersection is nothing.
I would like to know if anyone has a method of constructing the range using a faster/more efficient method. I cannot see how to do it with the UNION or INTERSECT methods, or any of the worksheet functions.
For my problem, range B will always have the same number of columns as range A