Conditional format help needed - excel

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

Related

Formula for colour a cell

Need to fill a colour into the cells individually, if condition gets OK. Each cell with reference of different cell.
Means
if value of C1 is not between A1 & B1, C1 fills with red,
likewise,
if value of C2 is not between A2 & B2, C2 fills with red
if value of C3 is not between A3 & B3, C3 fills with red..
In Excel, the Conditional Formatting can do this
Select the range of cells, and click Home > Conditional Formatting > New Rule.
Then in the New Formatting Rule dialog, select Use a formula to determine which cells to format in the Select a Rule Type list, and type this formula =OR(C1<A1,C1>B1) into the Format values where this formula is true textbox, and click Format button to enable the Format Cells dialog, under Fill tab, and select one color you want to use for highlighting. See screen-print
Click OK > OK. Then the cells which are not in the number range have been highlighted

How To Change text string color of matching string based on another cell text

Hope all are fine. I google about the above issue but did not find anything matching. So here I am asking the fact. Hope someone helps me to get through.
I am using an auto filter search. In Cell E5 what word do I type, the table of a specific range filtered based on that value of Cell E5.
My table ranges from B8:K1220.
Now, I want the Text String of E5 and the matching Text string in the Table Range will be Highlighted as Yellow. If the E5 cells have nothing then all range color return to normal.
In Image where In E5 I type "Alex" then the matched Text String in the table Highlighted as Yellow. I want a code like this.
Hope someone help and really appreciate the creation of an amazing code.
Thanks in Advance
Create a conditional formatting rule based on this formula:
=COUNTIF(A2;$E$5&"*")>0
Use conditional formatting to highlight
information
Conditional Formatting
Select the range B8:K1220 i.e. use Ctrl+G to open the "Go To" form and in the text box below "Reference:" enter B8:K1220 and press OK.
On the Ribbon, select Home > Conditional Formatting > New Rule to open the "New Formatting Rule" form.
In the list box below "Set a Rule Type:", select "Use a formula to determine which cells to format". In the text box below "Format values where this formula is true:" use the following formula:
=SEARCH($E$5,B8)=1
After choosing the desired format (not described), confirm with OK twice.
You can change the color of a range using the .Interior.Color of a range. The yellow color for highlighting is 65535.
You can change the color of a range's text using the .Font.Color of a range.
Private Sub Color()
Dim MyCell As Range
Set MyCell = ThisWorkbook.Sheets("Sheet1").Range("A3")
MyCell.Interior.Color = 65535
MyCell.Font.Color = 0
End Sub

want to Highlighting the rows if enter M in arrowed cell in excel

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.

Auto fill cells in excel from drop down list

I just want to know how to autofill all cell if I select value from 1 cell using drop down box. Suppose in 1st cell of the row I will select "Yes", then all the 5 adjacent cell of that row will also show "Yes". ther is data validation activated in all cell, but i dont need to select it each time.
If the dropdown is in A1 then just make B1 be:
=A1
so it shows whatever is in cell A1

Excel - Format cells in a row if less than date in another cell

Ok, I'm wanting my excel spreadsheet to format cells in a row if the date is less than another cell.
e.g.
Cells B40,C40, D40,etc turn red if less than A40
Cells B41,C41, D41 etc turn red if less than A41
I'd like to be able to drag the formatting into cells below.
http://i.stack.imgur.com/VKNPE.jpg
on the home tab, go to "Conditional Formatting". Then click on New Rule. Then select the "use formula" option.
type approximately the following formula (in this case, your selection is B40):
=(B40<$A40)
and then apply a format to your choosing.
After finishing to apply the conditional format, you can copy-paste the format from B40 to the other cells (which will work, due to the $ sign before the A).
You can format your first row using conditional formatting.
Conditional formatting -> Highlight Cells Rules -> Less Than
And then using small macro you can copy it to your selecting row/s.
Sub NewCF()
Range("B1:D1").Copy
For Each r In Selection.Rows
r.PasteSpecial (xlPasteFormats)
Next r
Application.CutCopyMode = False
End Sub
It does this by copying the format of the first row to EACH row in the selection (one by one, not altogether). Replace B1:D1 with the reference to the first row in your data table.

Resources