Conditional Formatting from 2 columns - excel

I am trying to change the colour of a cell if 2 conditions are true: 1. The date in the G column is before today, and 2: The value in column AM is "DISPATCH".
I have managed to change the to get a simple code for the Date which is: =$G$11<TODAY(), which works.
The code I am using for AM column is =ISNUMBER(SEARCH("SHIPPED",AM11))=FALSE - I Think something is going wrong here?

Please select from L5 to L44, then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=AND(G5<TODAY(),AM5="""DISPATCH""")
Format..., select colour, OK, OK.

Related

alternate cell shading on each group in col2

I would like to "walk" through a Excel column and if the the preceding or following cell has the same value or single, mark it with a color.
For example:
i have get this by creating an auxiliary column.Can anyone goal this without VBA nor an auxiliary column.
my solution
Select ColumnsA:B, clear any CF from it and then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=ISODD(SUMPRODUCT(1/COUNTIF($B1:$B$9,$B1:$B$9)))
Format..., select blue Fill, OK, OK.

Highlight alternative rows but not blanks?

I am using the following formula in a conditional format in order to highlight every other row on my spreadsheet:
=MOD(ROW(),2)=0
This works fine, however it highlights all rows whether blank or not. I don't want to highlight blank rows.
Please could someone show me how to do this?
Select the range to apply the formatting to, starting at Row1 and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=AND(ISEVEN(ROW()),A1<>"")
Format..., select choice of formatting, OK, OK.
This assumes you want to skip formatting a row if just the ColumnA cell in it is blank.
An alternative would be to stick with what you have but add another rule, giving it priority, just to test if the ColumnA cell is blank and then set "no formatting" for that.

Conditional statement if date in cell is 'today'

I'm trying to basically do: IF A1 is Today then highlight/bold/whatever B1 through F1.
Specifically I want to select a range of cells for the rule to apply to but I don't know how to write the IF statement in the "Use a formula to determine which cells to format" section
Please select B1:F1 HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=$A1=TODAY()
Format..., select choice of formatting, OK, OK.
Because CF is Conditional Formatting an IF statement is not normally required (it is assumed) - just a formula that returns TRUE.

'Column compare' conditional formatting

How can I compare two 5,000+ record columns and color format them?
Example, If value in cell Ax = Bx then cell Cx color = green.
I can do this for one row, but to manually do it for 5000+ records seem crazy, I KNOW THERE IS ANOTHER WAY, but I can't figure out how!
If I use format painter, it copies the format of that cell, for example ($A1 = $B1), I need $A4599 = $B4599 and so forth.
You are lucky because very easily! Please select ColumnC and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=$A1=$B1
Format..., select green, OK, OK.
Just drag the cell from the bottom right and it will apply them correctly.
I would do it this way, you create a column that computes the difference between the two columns then you test the difference if it's zero or not and apply the conditional formatting on the test column.
Please note that the color of the font has been changed to match cell's background.
Credits: tut on how to highlight rows with conditional formatting

Format row based on text length

I need to sort out one macro. I have table and need to highlight a row with a color, but not the entire row, just from columns A to J when text in one of the cells in column A is longer than 4 digits-letters.
I don't want to use conditional formatting.
Can somebody please advice if it's possible?
To do so with Conditional Formatting, select ColumnsA-J then HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=LEN($A1)>4
Format..., select highlighting OK, OK.

Resources