I have a set of cells. All have a grey background color. When I mark all those cells and click on "Format as Table", the background colors of the cells don't change! I expect to see the first row in dark blue, second in light blue, third in dark blue again, and so on. If I mark all cells first and click on "clear formats", all cells are white. After this step it works: I can use "Format as Table" and get the expected output. However I cannot use "clear formats" first, because some cells have a red font. Because their content is important. I need to keep the red font in those cells! Why does "Format as Table" not change the background color of my cells according to the table scheme?
Format table indeed, applies a format to a range, but we even when you have a range of data formated as a table, you still can customize the background color of any cell.
To solve your problem, you should remove the background color of all cells before formatting as table. You can do it before or after formating your set of cells as table:
In example, I want to remove only the yellow background color of my cells, but keep the red font color.
If you use the option clear formats it will delete ALL formats. I want just to delete the background color, so use this instead:
Select all your set of cells
In the ribbon options, select the background color palette
Select the option "no fill color" (My excel is in spanish, I don't know the exact name of the option in english, but it should be there)
This will remove only the background color. Notice in the image that the font color is still red :)
Hope this works for you.
Related
I have a protected worksheet and keeping few cells are editable to user.
Which is filled with a green colour to indicate the user can edit the cell.
But at same time I want to print these cells without the background colour.
If I choose the option in page setup 'Print : Black/White'
, other cells, which i want to preserve the colour fill for, are also cleared e.g.
the top row (heading) is filled with a grey colour and the Total has a dark grey colour.
Conditional Formatting would be your best bet.
Otherwise I would use VBA to do this. I've done this by creating a print button and assigning it to a print macro.
The macro would consist of two functions:
Range(xxx).Interior.Color = xlNone
ActiveSheet.PrintPreview
I have cells with certain color without any text in Excel , now can i change that colors to specific text for Example if the cell color is blue it needs to be replaced with a text A
Something like this?
Excel formula to get cell color
Then you can just set a formula to change the cell color text to the appropriate value you need?
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
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
I'm writing some code to color the rows of a grid based on their contents: Each row in the grid is a task summary, and the user can tag each row with a different color representing that message's priority/status.
There are at least 4 variables here:
A row's background color when it's not selected.
A row's text color when it's not selected.
A row's background color when it is selected.
A row's text color when it is selected.
For example, you could color the background of a row and make the text always be black. Or change the text color to black or white, whichever creates higher contrast. Or you could leave the backgrounds white and make just the text colored. When selecting a row, you could always have the selected row have a blue background and white text (which has the drawback of hiding the priority/status color until you select a different row), etc., blah blah blah.
Has any one approach been shown empirically to be better than most others?
Are there any general rules of thumb here that people have discovered, e.g., keeping the text and background colors high contrast?
Can anyone point me to a well-reasoned and/or well-researched analysis of coloring items in a grid?
A well-reasoned and well-researched analysis of coloring items in a grid:
http://www.alistapart.com/articles/zebrastripingdoesithelp/
http://www.alistapart.com/articles/zebrastripingmoredataforthecase/