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?
Related
I want to change the color of multiple cells, based on the color of the cell to the left of them: for example: When A2 is red, I want B2 and C2 to adopt the same color.
I cannot find any formulas in conditional formatting for this. I'm inexperienced with the VBA Editor.
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.
Is there a way in MS Excel 2007 where I can hide a row in excel that contains a specific value? For example if cell B1 contains number 6, the entire 1st row will be hidden.
NOT with formula.
Formulae don't do that sort of thing. With formulae about the closest to your desired result might be to apply conditional formatting to 'hide' the contents of the entire 1st row - by blending their font colour into that of the text background, or 'redact' - if say black font then applying black fill.
Try VBA.
Is there a way to conditonally format an entire excel worksheet where all the hard coded cell values are blue, all the links are green, and all the formulas are black?
Thanks
Yes, for cell value color, just change the font.color after your hard coded value. same for the links. But I don't get what you mean in changing the color of forumla.
I'm trying to fill in the color of a cell based on specific text from another cell. For ex. if the cell I'm trying to fill in with the color red is A1 based on the text "Red" in cell B1 which has the words Red Rock in the cell how can I fill in A1 with the color red? I know the conditional formatting formula for filling in a cell based on an exact word would be Rule $A1="Red" Applies to =$B$1, but this does not work if the cell contains anything more than Red, which in this case would be Red Rock.
Let me know if what I'm trying to do makes sense or is even possible.
Thanks
Select the cell to format (example A1)
In New Formatting Rule dialog box, choose "use formula to determine which cells to format" and try to use the following:
=SEARCH("red",$B$1)
Try using search in the conditional fomating
Conditional Formating --> Use formula to determine which cells to format
Key-in this in the formula bar and select red color
=ISNUMBER(SEARCH("RED",B1))