chubbchubb
New Member
- Joined
- Sep 9, 2014
- Messages
- 26
I am hoping someone can help me as I am losing the will to live.
I am using conditional formatting to determine whether a gap has gone up or down from the previous term. It is mostly working but for some reason on a few of the data cells the wrong colour is given.
I am using the formula
=CONCATENATE("Gap"," ",(SUM(VLOOKUP("Not Disadvantaged",Y11spring,4)-O9)))
which for 99% of the time works, but on a few cells it doesn't. However if you remove the concatenate part of the formula the right colour is then given in the conditional formatting??
For example
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Term 1[/TD]
[TD]Term 2[/TD]
[TD]Term 2v2[/TD]
[/TR]
[TR]
[TD]Gap 12.14[/TD]
[TD]Gap 9.13[/TD]
[TD]9.13[/TD]
[/TR]
[TR]
[TD]Gap 31.94[/TD]
[TD]Gap 21.74[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Gap 9.34[/TD]
[TD]Gap 12.61[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In this instance I would expect on Line 1 the Term 2 cell to turn green as the gap has gone down, but it turns red, but if I remove the concatenate from the formula (Term 2v2) it turns green as it should.
Line 2 works as expected and turns green
I also have the opposite happening, Line 3 should turn red but turns green but if I remove the concatenate from Term 1 it works fine and turns red.
Does the word 'Gap' add value to a cell to make it seem like a bigger number? but then if so why doesn't it cause the same error on all the rows?
Does anyone know why this is happening? All the cells have the same formula (just looking at different columns/cells for the calculation).
TIA
I am using conditional formatting to determine whether a gap has gone up or down from the previous term. It is mostly working but for some reason on a few of the data cells the wrong colour is given.
I am using the formula
=CONCATENATE("Gap"," ",(SUM(VLOOKUP("Not Disadvantaged",Y11spring,4)-O9)))
which for 99% of the time works, but on a few cells it doesn't. However if you remove the concatenate part of the formula the right colour is then given in the conditional formatting??
For example
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Term 1[/TD]
[TD]Term 2[/TD]
[TD]Term 2v2[/TD]
[/TR]
[TR]
[TD]Gap 12.14[/TD]
[TD]Gap 9.13[/TD]
[TD]9.13[/TD]
[/TR]
[TR]
[TD]Gap 31.94[/TD]
[TD]Gap 21.74[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Gap 9.34[/TD]
[TD]Gap 12.61[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In this instance I would expect on Line 1 the Term 2 cell to turn green as the gap has gone down, but it turns red, but if I remove the concatenate from the formula (Term 2v2) it turns green as it should.
Line 2 works as expected and turns green
I also have the opposite happening, Line 3 should turn red but turns green but if I remove the concatenate from Term 1 it works fine and turns red.
Does the word 'Gap' add value to a cell to make it seem like a bigger number? but then if so why doesn't it cause the same error on all the rows?
Does anyone know why this is happening? All the cells have the same formula (just looking at different columns/cells for the calculation).
TIA