Excel + Conditional Formatting hardcodes / formulas / lnks - excel

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.

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 change the background of a cell in excel, by using a formula, no Conditional Formatting

I have a column with numbers 0 to 100 and I want to change the background colour of the next column according to those values
with 0 as red, and 100 as normal green
and as the number gets higher, the colour fades from red to light red, to white in 50 and then, light green to green in 100
The question is how do I do that, without using conditional formatting
I was trying to use ColourIndex, as
=Range("A1").Interior.ColorIndex = RGB(255,0,0)
but the function is not working, and I do not want to use conditional formatting
Any ideas?
If you don't want to use conditional formatting, your only other avenue is VBA. But this can easily be done with ONE SINGLE conditional format applied to the range of 100 cells.
If you want to format the column to the right of the original values, use a formula to pull the values from the column to the left, then apply a color scale conditional format to the target column.
Set a custom number format of ;;; to hide the numbers in the formatted column.
Answering your question as stated in your title (How to change the background of a cell in excel, by using a formula, no Conditional Formatting) - You can't. Not with a worksheet formula.

Conditional formatting on Excel for a range of numbers

I use the conditional formatting to change the cell color to red if the number was out of this range (55-83), my problem is that I don't want the cell to stay red until I fill it with the correct number , I want the cell to stay clear until I fill it with the wrong number.
You should be able to use the following formula in your conditional format:
=AND(CELL<>"",OR(CELL<55,CELL>83))

Conditional Formatting - Checking Highlighted Cells Excel 2013

I have 2 columns, A and B. How can I set conditional formatting so that when a cell in column A is highlighted RED, then the corresponding cell automatically updates to "RED" and the cell is highlighted in red? How can I do this without VBA?
Color is not data. There is no way to do this without VBA. Manually changing a cell's color does not even trigger a VBA event, so even with VBA this will be a challenge.
Color is not data. You can use the Get.Cell technique as discussed in this thread but it has many flaws.

Resources