leenux_tux
New Member
- Joined
- Aug 28, 2008
- Messages
- 19
Hello Forum,
I'm looking into a way of using conditional formatting to colour the text in a cell based on the value in the cell versus the value in a cell directly to it's left. I can do it using cell references, however, this means the conditional formatting needs to be recreated for each cell I want to run the test for. Is there a way to just say "compare the value here with the value to the left ?"
Here is some sample data
<tbody>
</tbody>
So, I want to compare B1 with A1, if higher, format text green, if lower, format red, if the same format orange.
then compare C1 with B1
then compare D1 with C1
etc
etc
Without using the actual cell reference, can it be done ? Or, if anyone has another "smart" way of doing this i', all ears.
Thanks in advance
I'm looking into a way of using conditional formatting to colour the text in a cell based on the value in the cell versus the value in a cell directly to it's left. I can do it using cell references, however, this means the conditional formatting needs to be recreated for each cell I want to run the test for. Is there a way to just say "compare the value here with the value to the left ?"
Here is some sample data
A | B | C | D | |
1 | 35 | 40 | 38 | 40 |
<tbody>
</tbody>
So, I want to compare B1 with A1, if higher, format text green, if lower, format red, if the same format orange.
then compare C1 with B1
then compare D1 with C1
etc
etc
Without using the actual cell reference, can it be done ? Or, if anyone has another "smart" way of doing this i', all ears.
Thanks in advance