Hey everyone!
I would like to use conditional formatting (the color scale option) to highligh a column of data based on another columns data.
Here is how my data is set up
<tbody>
</tbody>
Basically I want to highligh column 2 based on how close the number is to what is in column 3. In this instance Person 9 should be the brightest green and person 5 should be the darkest red as person 9 is closest to their target and person 5 is the furtherst away from the target.
I tried a few things
1. I tried using another column and calculated the absolute difference. I then tried to set a style to use that format to apply to the second column.
2. For giggles I used the format paint feature to see if that would work and it also did not work.
3. I then set my helper column to not show values and only show the formats. Using the excel camera I was able to take an image of the format and overlay it on top of my other cells. Unfortunately, while this worked it did not let the numbers bleed through even though I set the fill and border of the image to none. (I'm also not sure if this will auto update as necessary).
I'm currently stumped and at a loss and about ready to just say it can't be done, but I figured I would get more eyes on it to see if anyone could provide any insight.
Thanks!
I would like to use conditional formatting (the color scale option) to highligh a column of data based on another columns data.
Here is how my data is set up
Actual | Target | |
Person 1 | 64.3% | 50.0% |
Person 2 | 67.6% | 50.0% |
Person 3 | 63.1% | 50.0% |
Person 4 | 59.4% | 50.0% |
Person 5 | 66.5% | 45.0% |
Person 6 | 53.7% | 50.0% |
Person 7 | 37.5% | 45.0% |
Person 8 | 50.9% | 40.0% |
Person 9 | 50.4% | 50.0% |
Person 10 | 49.2% | 50.0% |
<tbody>
</tbody>
Basically I want to highligh column 2 based on how close the number is to what is in column 3. In this instance Person 9 should be the brightest green and person 5 should be the darkest red as person 9 is closest to their target and person 5 is the furtherst away from the target.
I tried a few things
1. I tried using another column and calculated the absolute difference. I then tried to set a style to use that format to apply to the second column.
2. For giggles I used the format paint feature to see if that would work and it also did not work.
3. I then set my helper column to not show values and only show the formats. Using the excel camera I was able to take an image of the format and overlay it on top of my other cells. Unfortunately, while this worked it did not let the numbers bleed through even though I set the fill and border of the image to none. (I'm also not sure if this will auto update as necessary).
I'm currently stumped and at a loss and about ready to just say it can't be done, but I figured I would get more eyes on it to see if anyone could provide any insight.
Thanks!