Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,531
- Office Version
-
- 365
- 2016
- Platform
-
- Windows
I've been working on some code that I found some success with. It does some things write, but I think more by accident, than by logic. It certainly isn't very efficient, and is highly inaccurate.
I hope I can explain this properly, part of my frustration is I can't explain it to myself properly.
Consider this sample of data:
Assume variable rname = "Mike"
In each row, from left to right of each instance of rname,
a) shade all cells that don't hold rname.
b) shade all the cell values as to obscure them EXCEPT the first value in a series of equal ones.
So ... the processed data above, would look like this:
Keep in mind, the data is dynamic ... different names and different sized series of equal names
I hope I've given enough information for this to work.
I hope I can explain this properly, part of my frustration is I can't explain it to myself properly.
Consider this sample of data:
Excel 2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
H | I | J | K | L | M | N | O | P | Q | |||
1 | Groom | Prepare | Signature | Lights On | Lights Off | 1 | 2 | 3 | 4 | Close | ||
2 | Kelly | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Mike | ||
3 | Kelly | Kelcey | Kelcey | Kelcey | Mike | Kelcey | Kelcey | Kelcey | ||||
4 | Kelly | Kelcey | Kelcey | Kelcey | Mike | Mike | ||||||
5 | Kelly | Kelcey | Kelcey | Kelcey | Kelcey | Mike | ||||||
6 | NA | Kelcey | Kelcey | Kelcey | Mike | Mike | ||||||
Sheet57 |
Assume variable rname = "Mike"
In each row, from left to right of each instance of rname,
a) shade all cells that don't hold rname.
b) shade all the cell values as to obscure them EXCEPT the first value in a series of equal ones.
So ... the processed data above, would look like this:
Excel 2010 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
H | I | J | K | L | M | N | O | P | Q | R | |||
8 | Groom | Prepare | Signature | Lights On | Lights Off | 1 | 2 | 3 | 4 | Close | |||
9 | Kelly | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Kelcey | Mike | DT | ||
10 | Kelly | Kelcey | Kelcey | Kelcey | Mike | Kelcey | Kelcey | Kelcey | DT | ||||
11 | Kelly | Kelcey | Kelcey | Kelcey | Mike | Mike | DR | ||||||
12 | Kelly | Kelcey | Kelcey | Kelcey | Kelcey | Mike | DR | ||||||
13 | NA | Kelcey | Kelcey | Kelcey | Mike | Mike | DR | ||||||
Sheet57 |
Keep in mind, the data is dynamic ... different names and different sized series of equal names
I hope I've given enough information for this to work.