VBAdude
New Member
- Joined
- Jul 21, 2011
- Messages
- 40
Hello,
Here is sample of my data set (values in column A and Ref numbers in column B):
7.00 H1234
-700 H1234
8.00 H1234
-8.00 H1234
9.00 S456
10.00 S456
6.00 T2345
-6.00 T2345
In this example, if the sum of all values = 0 for each identical set of ref numbers, hi-light all similar cells a color in column B.
So, Column B should have the following cells hi-lighted: B1:B4 and B7:B8 as the sum equals zero in those groups.
I'm not interested in sub-totals or pivot tbls for this....I'd really like to learn the VBA code..
Thanks in advance!
Here is sample of my data set (values in column A and Ref numbers in column B):
7.00 H1234
-700 H1234
8.00 H1234
-8.00 H1234
9.00 S456
10.00 S456
6.00 T2345
-6.00 T2345
In this example, if the sum of all values = 0 for each identical set of ref numbers, hi-light all similar cells a color in column B.
So, Column B should have the following cells hi-lighted: B1:B4 and B7:B8 as the sum equals zero in those groups.
I'm not interested in sub-totals or pivot tbls for this....I'd really like to learn the VBA code..
Thanks in advance!