The goal is to highlight value in Column A5 Green, if the values in both B5 and C5 have the value "Confirmed" then also have the same mythology for A6 - A19
I tried using if statements, but it was not working
Use AND:
=AND(B5="Confirmed",C5="Confirmed")
and apply this rule to range A5:A19.
i need to color as many cells as the number in the cell above. For example in the cell A1 i have the number 4 and i need to color 4 cells below that A2, A3, A4 and A5.
Assuming row 1 has the number of cells to color, in cell A2, create a conditional format with the formula =A$1>=ROW()-1. Copy this format to the entire table.
I want to highlight all the cells containing a formula error or formulas
followed the below steps
Did a CTRL+A and selected all the cells
Home > Conditional Formatting > Use a formula to determine which cells to format
Applied the formula =OR(ISERROR(A1),ISFORMULA(A1))
Selected a fill colour and clicked on ok
Expectation: All the cells which is having a formula or error value like #N/A need to be selected.
Please let me know what i am doing wrong here
Formulas in conditional formatting work with reference to the active cell in the selection. In the example given below I have selected B2 to E6 with the active cell as C3 and then applied the conditional formatting.
In the example above in the selection B1 to E6 the active cell is C3. Now when you use =ISERROR(D4), it is effectively applying it to R[-1]C[-1] because you are checking the value in D4 according to the formula and applying it on the selected cell i.e. C3 as you can see in the image.
Thus if you now put #N/A in Cell D4, Cell C3 will become Orange
If instead the active cell in the selection was D4 instead of C3 then the conditional formatting would highlight all #N/A
If you want to understand clearly, try =ISERROR($D$4) and put a #N/A in D4, that will highlight all the cells B2:E6.
Else you can also go to
File>Options>Formulas and check R1C1 reference style
I have a worksheet:
I need type value into 2 columns: [Supervisor 1] and [Supervisor 2] by condition:
1. Value into [Supervisor 1] column and [Supervisor 2] column must different. If the value is the same so highlight red color (both of them)
Ex:
In D3 cell, I type "John" value. In E3 cell, I type "Susan" value -> No highlight red color
In D3 cell, I type "John" value. In E3 cell, I type "John" value -> Both of D3 and E3 cells highlight red color
In D4 cell, I type "John" value. In E9 cell, I type "John" value -> Both of D3 and E3 cells highlight red color
2. The highlight red color just occur in range on this day
Ex:
In D3 cell, I type "John" value. In E10 cell, I type "John" value -> No highlight red color
In D21 cell, I type "Mary" value. In E13 cell, I type "Mary" value -> No highlight red color
Please help me this problem
--------------------I updated my expect result--------------------
I have a image (my expect result)
In E5 cell, after I type "Louis" value -> highlight red color. Because value in E5 and D4 the same (Note: on this day)
In E7 cell, after I type "Nemo" value -> highlight red color. Because value in E7 and D7 the same (Note: on this day)
In D15 cell, after I type "Messi" value -> highlight red color. Because value in D15 and E12 the same (Note: on this day)
In D15 cell, after I type "Messi" value -> highlight red color. Because value in D15 and E12 the same (Note: on this day)
In D11 cell, after I type "Susan" value -> NOT highlight red color. Because value in D11 and D6 the same but different day exam (Note: on different day)
In E21 cell, after I type "Chen" value -> highlight red color. Because value in E21 and D21 the same (Note: on this day)
If you need to pick up any match between the two columns within the same day, and the day always takes 7 rows, try
=SUM(--ISNUMBER(MATCH($D3:$D9,$E3:$E9,0)))
The formula can be changed if my assumptions aren't correct.
EDIT
If you want to highlight the name in column E if it also appears in column D on the same date, it's just a COUNTIFS
=COUNTIFS(A:A,A3,D:D,E3)
EDIT 2
To highlight the second occurrence only of the name for the same date, you would need two formulae
=COUNTIFS($A$2:$A2,$A3,$D$2:$D2,D3)+COUNTIFS($A$2:$A2,$A3,$E$2:$E2,D3)
for D3:D23
and
=COUNTIFS($A$2:$A3,$A3,$D$2:$D3,E3)+COUNTIFS($A$2:$A2,$A3,$E$2:$E2,E3)
for E3:E23.
This isn't too hard to do... the key insight is that you can use a cell-relative formula within a conditional formatting rule. (You'll need two... one for each cell to check if it matches the other in the pair. If they match, then that triggrs the conditional format.)enter code here
I have your solution:
Select the whole range for Column D (looking the picture, I will assume its D3:D23.
In Ribbon, select Home > "Conditional Formatting" > New Rule.
Select Option: "Use a Formula to determine which cells to format".
In "Format values where this formula is true" add the following formula: =IF(D3<>0,IF(D3=E3,1,0))
Select the format you want for the cell, clicking in "Format", if D and E are the same and press "Ok".
Now do the same steps for Column E (selecting the whole range for column E), but instead add the following formula: =IF(E3<>0,IF(D3=E3,1,0))
This should definitely solve your issue. If there is a question, please let me know.
I have 2 columns with different values.
What I wish to accomplish is this:
1. if value of any cell in A is not in any cell of B > make cell blue
2. if value of any cell in B is not in any cell of A > make cell yellow
3. if value of any cell in A is also in any cell of B > make cell green
A2 found in B2, make A2 & B2 both green
A3 nowhere in B, make A3 blue
A4 found in B3, make both green
B8 nowhere in A, make B8 yellow
A8 nowhere in B, make A8 blue
I hope this makes sense and is possible with conditional formatting. I couldn't figure out the formula to use for this. Any help would be much appreciated.
Please select A2:A8, HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format, Format values where this formula is true:
=MATCH($A2,$B$1:$B$10,0)
with green formatting and another rule:
=ISERROR(MATCH($A2,$B$1:$B$10,0))
with blue formatting.
Select B2:B8 and repeat the above with:
green: =MATCH($B2,$A$1:$A$10,0) and yellow: =ISERROR(MATCH($B2,$A$1:$A$10,0)).