forteanajones
New Member
- Joined
- Aug 28, 2005
- Messages
- 41
I am working with a table and have a special formatting requirement. Ordinarily I would use conditional formatting to color-code cells as I need to but in this case, certain cells need to be colored in certain ways depending on the contents of other cells. More specifically, when a series of numbers has ended and a new series has begun.
Example:
(Note: The above uses a series of three for the sake of simplicity here in this discussion thread. In my actual spreadsheet I am using series of ten instead. Also, each given number in column A will always determine the exact text that appears in column B.)
I fear the only way to deal with this is to use a VBA solution, but I need to import my spreadsheet into another application (Xcelsius) which ignores VBA completely.
Are there any creative possibilities to produce this effect without relying on VBA?
And assuming VBA is indeed the only viable option, can anyone here help me out with the code?
Example:
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | 1 | Duis pharetra | ||||
2 | 2 | Morbi consectetuer | ||||
3 | 3 | Phasellus euismod | ||||
4 | 2 | Morbi consectetuer | ||||
5 | 3 | Phasellus euismod | ||||
6 | 4 | Aliquam ac sem | ||||
7 | 3 | Phasellus euismod | ||||
8 | 4 | Aliquam ac sem | ||||
9 | 5 | Nullam iaculis augue | ||||
10 | 4 | Aliquam ac sem | ||||
11 | 5 | Nullam iaculis augue | ||||
12 | 6 | Vivamus auctor eros | ||||
Sheet1 |
(Note: The above uses a series of three for the sake of simplicity here in this discussion thread. In my actual spreadsheet I am using series of ten instead. Also, each given number in column A will always determine the exact text that appears in column B.)
I fear the only way to deal with this is to use a VBA solution, but I need to import my spreadsheet into another application (Xcelsius) which ignores VBA completely.
Are there any creative possibilities to produce this effect without relying on VBA?
And assuming VBA is indeed the only viable option, can anyone here help me out with the code?