Google Sheet accept colour from neighbour cell - colors

I wanted to know if I can solve this little problem in Google spreadsheets with conditional formatting but without a script.
Question 1: a blank Cell A1 has a red background colour and I change it to green manually. How can I get cell B1 to change from red to green too without touching it?

Google Sheets doesn't have a built-in feature that detects cell background changes. The alternative is to use a script, like the one on Google Spreadsheet: Script to Change Row Color when a cell changes text;

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.

How to alternate hue of rows in an Excel (or Google Sheets) spreadsheet where every column is a different color?

I've got a bit of an oddball question, and I looked pretty hard to find an answer to no success so apologies in advance if this has already been answered.
Anyways, I have an excel spreadsheet that has every column manually set to a specific color. Now I want to alternate the hues between rows while maintaining the manually-set color. So for example, let's say column A is red and column B is blue. I would want A1 to be dark-red, B1 to be dark-blue. A2 would be light-red, B2 would be light-blue. And so on and so forth alternating until the end of the sheet.
I've thought about sampling the previous cells color and setting the next cells color based on that, but I don't know of any functions that would get me there.
I've looked at macros, and while I can sample a cell's color I cannot figure out how to set it.
I'm currently building the sheet in excel and would like to import it to google sheets when I am complete, so having the spreadsheet formulas or macros be compatible would be great. That being said, I can keep it in excel if I have to so that isn't a must.
Any help would be much appreciated!
you need to set up 4 conditional formatting rules with:
=ISODD(ROW())
=ISEVEN(ROW())
Also, I would suggest you to check this addon with which you can control colors easily just by hex code (#ffda56) https://chrome.google.com/webstore/detail/team-color
TeamColor is a Google Spreadsheet add-on for color management. Type a color code in Hex into a cell. Its background color will change to that color code. This is very useful for sharing color palette with teammates in developing apps, websites and anything else colorful.
You can do it with conditional formatting by selecting the column and then use a custom formula conditional format and enter =isodd(row()) then select your dark hue. Add another conditonal format and enter =iseven(row()) and select your lighter colour.
This method breaksdown when using a filter but you can create a column to count visible rows and then base your conditional formatting formula on that column. Bit more complicated but useful if you need to filter.
Another Sheets option is to apply Alternating colours... (under Format) but this would mean setting the two (or three if including a header of a different hue) colours separately for each column.

Color coding cells in excel without Macros

I'm still learning excel, and I'm trying to automate one of our products to make it simpler and faster. Basically, I want to reference a range of data from a set of cells, and color code it. We already color code a set of cells based on a time period green, yellow, or red.
Now what I need it to do is have it reference the cells, and change the color automatically. For example, if some of the cells are yellow, and some are red, I need it to color the reference cell in another sheet in the same workbook red. If some are green and some are red, I need it color code it red. Basically red overrides everything, yellow overrides green, and green by itself is fine.
Unfortunately, macros are disabled for work, so I can't go that route. Is there a formula I could use to accomplish this? Or is this something I'm unable to accomplishable with a formula? I've scoured the internet, and I can find plenty of info with macros, but I can't use macros for this.
Many thanks in advance!
PS - This is an example of the spreadsheet attached.

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.

Resources