I am trying to conditionally format a cell to indicate if that cell = Y and an adjacent cell = EMAIL or TEXT, highlight the original cell. Is this possible?
My example starts in cell A1. Using formula
=AND($A1="Y",OR($B1="Email",$B1="Text"))
I've then applied this to range =$A$1:$B$4 which with a Red fill gives me:
Related
I am trying to use the conditional formatting in Excel so that
if a cell in Column A is blank and the cell in Column H (of the same row) is also blank then the cell in Column G gets highlighted in blue.
At the moment I am using this formula and it doesn't seem to work.
Excel_Formula_BlankCellsFormat
Try this rule-
=AND($A1="",$H1="")
Highlighting the rows if enter M in arrowed cell in excel
Use conditional formatting.
In that cell (say it's I2), set up a new rule with a custom formula:
=IF($B2="M")
Then format the cell to be Green.
On my $A:$A, I currently have a dropdown list of "Yes" and "No".
For Example:
A1 = Yes then Fill B1 with black
A7 = No then Fill B7 with Green
If Yes then Black
If No then Green
I know that formula below can be used in a specific cell only. How can we add a conditional formatting in an entire column B based on the the value of the cell in Column A?
=$A$1 <> "Yes" -> B1 Conditional formatting
You pretty much have it.
Select column B
Add a conditional formatting rule
Select "Use a formula to determine which cell to format"
Enter:
=A1 <> "Yes"
Note that it does not include the "$" before the "1". Omitting the "$" makes the reference relative, so it'll fill down much like a formula in the spreadsheet itself.
I have 11 numbers in cell range c3 to l3
ending c5003 to l5003
also have numbers in cell range starting af3 to aj3
ending af44 to aj44
I'm trying to get the numbers in cell rangec3 to m5003
to change font color to white when those numbers match numbers
in cell range af3 to ak44
I also need the numbers in cell range m3 to m5003
to change to white when they match the numbers in cell range ak3 to ak5003
I can send the spreadsheet with instructions on what I'm trying to do.
Any help you can give me would be appreciated.
Highlight the cells or column you want to apply conditional formatting to.
Select Conditional Formatting > New Rule
Select "Format only cells that contain"
Select "Cell Value" in First drop-down and "equal to" in second drop-down
Select the cell selection button to select the range you want to compare the cells or column to.
Select the format button to set the desired format.
Select Ok.
Formatting selection
I want to change the color of the text inside a cell but in a way that is conditioned by an action in another cell, specifically insertion of X. For example:
BEFORE
Cell A1: without text
Cell B1: text in red
ACTION: X is inserted in cell A1
AFTER
Cell A1: `X`
Cell B1: text in blue
Can this be done using conditional formatting or with a macro?
Please try a Conditional Formatting rule of:
=A1="X"
with Applies to:
=$B$1
and blue font. (This will override a 'standard' formatting of red font for B1 when A1 is populated with X.)
Yes it can.
If Range("A1") = "" Then
Range("B1").Font.Color = vbRed
else
Range("B1").Font.Color = vbBlue
End If
if its purely for the "x" change the 'else' line to this
ElseIf Range("A1") = "X"