I have the following data:
What I want to do is based on the values in column B (Planned) change the color of the background of cells in column C (Done). Until Matt reaches 50% of his 100 hours I want the background to be green, when he reaches 75% yellow, and 100% red. Same for other people If Jasmine 50% of 40 -> green and so on.
Those numbers in the planned column will be typed in manually.
Is there a way to achieve that?
green:
=C5/B5%<=50
yellow:
=C5/B5%<=75
red:
=C5/B5%=100
This needs 3 conditional format rules in the following order (the order is important):
Apply all rules to the range C5:C
Custom formula is =C5/B5 <= 0.5, set background colour green
Custom formula is =C5/B5 <= 0.75, set background colour yellow
Custom formula is =C5/B5 <= 1, set background colour red
Related
For example, row 1-4 would have red background, row 5-9 would be blue, then 10-13 would be back to red, etc
all the tutorial I found only covers alternating each row.
you can use MOD of 8 rows 4 times while each time you offset it by one row like:
=NOT(MOD(ROW(A1:A), 8))
I suggest
=mod(row()-1,8)>3
with a default fill colour of red.
I am building a spreadsheet with a column with values that I would like to create a more visual way to identify discrepancies. So I would like to change the colors of the cells in a column according to the distance from the cell value to the column average.
For example, in this column I have the following values:
8
14
1
12
6
19
Their average is 10, I would like the cells to automatically have the colors:
8 (lighter red)
14 (green)
1 (darker red)
12 (lighter green)
6 (red)
19 (darker green)
I thought about averaging this column in a cell and putting color conditional formatting for values larger and smaller than this column mean. But in this case, my cells would have only two colors: red for below-average values and green for above-average values. Is there any way to change the color of these columns according to the discrepancy with the average of that column? Thanks in advance.
in Google Sheets it's like this:
You can use Color Scales in Conditional Formatting for this: Select a New Rule With your Desired colors for Minimum & Maximum Value
Result:
Same Goes if you are using Google Sheets. Goto Format>Conditional Formatting> Color Scales
Assuming you have excel 2016 or newer, simply highlight the data you want to have included, and then click Conditional Formatting (from the "Home" ribbon), then click "Color Scales" and pick the desired one.
After setting the color scale, you can then modify it by selecting the same data, and then clicking "modify rules". What you've stated is a 2-color scale, and that is one of the options you can choose if you go back and edit the rules.
I want to conditional format some cells so that if the added value of those cells = 0 it goes green and then a separate one if the sum does not equal 0. Currently, I am using a total cell to determine this (BALANCE LEVEL), but I want to eliminate the use of this and have the format rule to sum the values and determine the colour without the use of this cell.
Custom formula is
=SUM(AQ39:AQ48)=0
This to turn the column green
and then another rule with this formula
=SUM(AQ39:AQ48)<>0
This to turn the column red
I expected this to change the column green if the total of all the values in that column = 0, and red if the sum does not. It only changes some of the cells, even though the range I have applied it to is that whole column.
Please clear any existing CF from your range, fill it 'standard' red fill and apply this CF formula rule with green fill:
=SUM(AQ$39:AQ$48)=0
Beware of floating point errors.
I want to add some background color to the rows that have specific colors to two cells in it.
For example, the 4th row has y4 and z4 so if y4 has background color green and z4 has background color red, I would like to add the grey background to the whole 4th row. How can we achieve it?
I tried this based on values in these cells but it is not working =AND(IF($Y1>$AB$6,1),IF($Z1>$AB$9,1)) so now trying based on the background color
please see the screenshot for your reference:
you can't (just like that) set conditional formatting based on color of another cell.
=AND(IF($Y1>$AB$6,1),IF($Z1>$AB$9,1))
I have an array that I would like to put into a single cell, with commas to make a list. I'm starting with an array of varying length in column BY:
Red
Blue
Green
Yellow
Purple
Brown
White
Black
Orange
and I want to have all of these put into a cell so it reads, "Red, Blue, Green, Yellow, Purple, Brown, White, Black, Orange"
The list is dynamic, so sometimes it will be just 1 color and other times it may have 50 colors.
I was trying things like,
=concatenate(arrayformula('1'!BY1:BY))
but that returns RedBlueGreenYellowPurpleBrownWhiteBlackOrange
Any ideas for me? Thank you in advance!
NJD
The function you want is join, as in
=join(", ", BY1:BY)
or, since you probably want to exclude empty cells at the bottom of that column,
=join(", ", filter(BY1:BY, len(BY1:BY)))
where filter keeps only nonempty cells.