hi,
essentialy, i want one cell to change colour to green when cells on another table in two different colums contain the word yes.
Sheet("Project 185") cells are , C14 and C16 AND E7:E12
if all of these cells contain the word "Yes" then make cell on sheet Master Sheet D3
if some are yes then Cell on Master Sheet orange
if none are yes then cell on master sheet red
i tried with a formula but failed
also tried in vba
these two attempts were just to put a yes or no in place then use the conditional formating tool to change colour that way.
thanks in advance
essentialy, i want one cell to change colour to green when cells on another table in two different colums contain the word yes.
Sheet("Project 185") cells are , C14 and C16 AND E7:E12
if all of these cells contain the word "Yes" then make cell on sheet Master Sheet D3
if some are yes then Cell on Master Sheet orange
if none are yes then cell on master sheet red
i tried with a formula but failed
Code:
=IF('Project 185 '!E7:E12) AND ('Project 185 '!C14:C16 = "Yes", "Yes","No")
also tried in vba
Code:
Private Sub Sheet_Open()
If Sheets("Project 185").Range("E7:E12") And Sheets("Project 185").Range("C14:C16") = "Yes" Then
Sheets("Master Sheet").Range("D3") = "Yes"
End If
End Sub
these two attempts were just to put a yes or no in place then use the conditional formating tool to change colour that way.
thanks in advance