Thanks for the XL2BB sample data.
I assume that you are saying the spill range could be more or less rows and/or more or less columns that the example shown.
If so, see if this could work for you. Decide on a maximum possible range that the spill could fill & select that to apply the Conditional Formatting to. In my mini sheet below I decided on A5:H25 as the maximum possible range and applied the given CF to that range. This effectively give two-colour banding. If you actually wanted something other than white as the second colour, or more than two colours that could still be achieved.
After applying this CF, try changing the A5 formula to, say =J7:K15
flashgordie.xlsm |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K | L | M | N |
---|
3 | Viewing Data | | | | | | | | | Source data | | | | |
---|
4 | ID | Product | Crate | Truck | | | | | | ID | Product | Crate | Truck | |
---|
5 | 10001 | apple | f | 3 | | | | | | 10001 | apple | f | 3 | |
---|
6 | 10001 | apple | e | 7 | | | | | | 10001 | apple | e | 7 | |
---|
7 | 12011 | pear | z | 5 | | | | | | 12011 | pear | z | 5 | |
---|
8 | 12011 | pear | n | 5 | | | | | | 12011 | pear | n | 5 | |
---|
9 | 12056 | Mango | d | 3 | | | | | | 12056 | Mango | d | 3 | |
---|
10 | 12056 | Mango | e | 2 | | | | | | 12056 | Mango | e | 2 | |
---|
11 | 12101 | Blueberry | a | 6 | | | | | | 12101 | Blueberry | a | 6 | |
---|
12 | 13444 | Banana | k | 1 | | | | | | 13444 | Banana | k | 1 | |
---|
13 | 13444 | Banana | r | 1 | | | | | | 13444 | Banana | r | 1 | |
---|
14 | 13501 | Grape | h | 2 | | | | | | 13501 | Grape | h | 2 | |
---|
15 | 16222 | Lime | f | 4 | | | | | | 16222 | Lime | f | 4 | |
---|
16 | 16222 | Lime | e | 4 | | | | | | 16222 | Lime | e | 4 | |
---|
17 | 16222 | Lime | q | 1 | | | | | | 16222 | Lime | q | 1 | |
---|
18 | | | | | | | | | | | | | | |
---|
19 | | | | | | | | | | | | | | |
---|
20 | | | | | | | | | | | | | | |
---|
21 | | | | | | | | | | | | | | |
---|
22 | | | | | | | | | | | | | | |
---|
23 | | | | | | | | | | | | | | |
---|
24 | | | | | | | | | | | | | | |
---|
25 | | | | | | | | | | | | | | |
---|
|
---|