I am trying to keep track of budget, what I've got if a spreadsheet with months of the year along with a name and how much spare cash is left at the end of the month like so;
| Person | Jan | Feb | March |
|--------|-----|-----|-------|
| Joe | £1 |£10 |£8 |
| Tess | £5 |£1 |£8 |
| Tim | £3 |£8 |£6 |
| Jane | £8 |£1 |£7 |
What I want to do;
I want to be able to have a formula for the conditional formatting which will colour the cell to the right red / green on if the value is greater than or less than the cell to the left. In the example I gave above the first February cell is greater than the first January cell so that would be green, the first March cell is lower than the first February cell so that would be red. I have used the below to achieve this but you need to do that for every single cell and that’s very time consuming and I was hoping I could write one formula that would do all cells;
On Joes Feb I would have the conditional code
=B2<A2
And
=B2>A2
Ideally I would just have two sets of codes, one for negative and one for positive that would do all cells.
Thanks for the help.
B2>C2
andB2<C2
Then apply to the entire range starting in C2 to the last cell in the last column. – Scott Craner