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.
Related
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 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.
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.
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;
I'd ideally like to do this without VBA but if that's the only option that makes sense I guess I'll go with that :)
I have a set of cells that require formatting and then another set of cells that define my style, ie background color, font color. Is it possible to have Excel set the background color or a cell font based on instructions in a cell. If I can get even just the background color that would be great.
Cell
1
2
3
Instructions
Background Color FFFFF
Font Color FFFFF
FYI I'm using Excel 2010 on Windows 7. Some background : I have tables that are styled so headers and certain rows take specific colours but for the next report iteration I'd like different colours assigned but want to automate that formatting.
Id suggest trying to use Conditional Formatting tools. They are pretty flexible