The function that makes a cell change colour based on the value AND colour of another cell - colors

I'm on excel from Office365.
I've been tasked with colour coding a production schedule for use on the floor. I'm trying to format this production schedule so that the cells in E20 through to 29 and then across into ZZ will change colour based on the number I input. However the numbers are a dropdown fixed value based on the values in A2-A12. A2-A12 are static colours that I chose for coding purposes. I cannot use a gradient here as (maybe I can? can I set up a static colour gradient list?) I need these colours to never change once we assign the job value a colour, but I need to be able to add additional values and colours if necessary.
So lets say if I use the dropdown menu in cell E22 and select 200238, it will change the colour of that cell to the same magenta colour as A11.
Production Schedule

Related

How to put certain font colour in the formula for countif?

I have a spreadsheet that counts only N's. But I want specific colour (Red) in my countif formula.
You can't. Color is a metadata property of a cell that is not exposed to worksheet functions.
Why is the N red? What made it red?
If you manually set the font color to red, then that's bad practice, because the reason exists just in your head and Excel cannot use it for processing.
If the font color is changed to red by conditional formatting, then you can also build a formula with the same logic and use that in a helper cell to serve as the basis for worksheet formula processing.

if a cell has specific formatting, change another cell to a specific value

if a cell has specific formatting or text, i need it to then tell another cell to be a specific value. see example picture enter image description here
notice how because the cell is green and has white bold text, the cell right above it has a value of 2 and the red cell does not have a value.
The same can apply if a cell is red with yellow bold text. if this is the case, it can subtract 1 point. if cell is yellow text and green background, no points are awarded or taken away. enter image description here
does anyone know how to accomplish this without having to manually do this every time?
Thank you in advance.
Color is not data. You can't change a cell value based on another cell's color. Not with a formula and not with VBA. This approach is the wrong way around.
It is quite easy to change a cell's color based on the value of another cell. That can even be done without any formulas or VBA code, using simple conditional formatting.
If you or your users are in the habit of applying color and that color has a specific meaning, well, the best advice here is to change that habit. Excel works on values. Color is not data. It's metadata, and not suitable to serve as the primary tool for data classification.

Excel: use cell color fill as input for cell formula

I'm using Excel to manage our production schedule. Each cell has a formula that returns a date by which each step in the production process should be complete.
Today, I fill each cell manually to indicate:
Green = On-schedule
Yellow = Threat
Red = Behind Schedule
I am seeking a formula that does the following:
If cell address is not Green AND cell value is less than TODAY(), then paint it to Red
I also need the ability to override the formula and change cell fill to Green once production has caught-up. Simple conditional formatting does not allow manual overriding.
What I understand that you are trying to do is to change the row color based on a cell's value in Excel. This is performed by Conditional Formatting in Excel
Here I am going to provide you another link also that clearly explain How To Change Background Color Based On Cell Value In Excel?
I hope this help you.

Excel color scale - how to insert new rows to fit in existing scale?

I have a spreadsheet of phone numbers (columns) and months (rows), and the phone charge values in the data part. I use Excel's color scale to quickly see if one of the lines has an extreme value, so I select the charges per phone, and set a color scale for EACH phone number (e.g. a color scale for B2:B19, another for C2:C19, etc.).
However, each month, I insert a new row, and again need to apply the color scale to the full ranges every time. If I copy and paste a row, I DO get a color scale, but one based only on that row (e.g. adding row 20 gives me a color range of B20, one of C20, etc.). Copying and inserting a row from the existing scale does not work.
Is there any way I can add e.g. row 20, and automatically have the included in the exiting B2:B19 color scale?
Thanks!
Ed Eichman
Cambrils, Spain
Assuming you are talking about conditional formatting, you can use the rule type "Use a formula to determine which cells to format" option with a formula like:
=IF(B3=MAX($B$2:$B$3000),TRUE,FALSE)
Then set the formatting to bold the highest value in the column.
Copy the above into the conditional formatting for B3, then after saving, use the format painter to paint the rest of the column. The formula will change for each cell in the column to read =IF(b4, =If(b5... with the range of B2:b3000 locked by the dollar signs (anchors)

LibreOffice Calc: Is there a possibility to copy a background color from another cell?

I have created a table that has a value on one column that I have used to generate a background colour (Format -> Conditional Formatting -> Color Scale... -> Colour Scale). Now I would like that all the row to have that colour. Is it possible to copy the background colour from another cell?
EDIT:
So this is my table:
And what I want is to colour all the cells from class group with the same colour as its total group.
Meaning that for the class 101 I want all the cells to have the same yellow-orange as the cell containing 592:
(this is done manually)
I want this to be some kind of formula, so any change in the last column is going to change all the colours. Is it possible?
Set the condition of each cell in a row to be the same as the condition you used for "total_group" cell in the same row. Meaning base the condition on the value of the "total_group" cell (Exact same condition no changes)
I found a simple workaround that effectively is a copy color operation:
Select the source cell. This will place the color of the cell into
the "recently used" section of the background color tool.
Select the target cell.
Select the color from the background color tool, where it is now easy to find in the "recently used" section.
The background color tool is next to the font color tool. The above method works in libreoffice 7.3

Resources