Hi Everyone,
Does anyone know how to via "VBA" check one COLs Values against another Cols Values, and check that they match each other as in count of each set of Values! I do not wish to use conditional formatting ,as I have lot more manipulating to do before and after I achieving this.
Take the following two examples: first one the condition is not met and the 2nd is met
Col A has 3x "A", 4x"B" and 2x "Z" Where as Col B has 4x"B", 1 x "Z" and 4 x "A"...False
[TABLE="class: grid, width: 50, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]A[/TD]
[/TR]
</tbody>[/TABLE]
Col A has 3x "A", 4x"B" and 2x "Z" Where as Col B has 4x"B", 2 x "Z" and 3 x "A"...TRUE
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks for reading and any suggestion welcome
Does anyone know how to via "VBA" check one COLs Values against another Cols Values, and check that they match each other as in count of each set of Values! I do not wish to use conditional formatting ,as I have lot more manipulating to do before and after I achieving this.
Take the following two examples: first one the condition is not met and the 2nd is met
Col A has 3x "A", 4x"B" and 2x "Z" Where as Col B has 4x"B", 1 x "Z" and 4 x "A"...False
[TABLE="class: grid, width: 50, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]A[/TD]
[/TR]
</tbody>[/TABLE]
Col A has 3x "A", 4x"B" and 2x "Z" Where as Col B has 4x"B", 2 x "Z" and 3 x "A"...TRUE
[TABLE="class: grid, width: 50, align: left"]
<tbody>[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks for reading and any suggestion welcome