Conditional formatting based on another column not containing a specific word (Excel)

I would like to implement the following in my Excel spreadsheet:

If Column A does not contain the text string 'internal', then Column B cell changes to green.

The Column A dropdown menu is as follows:
EDX-QA (STiR created)
UJA-QA (STiR created)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShumsExcel & VBA ExpertCommented:

You can use below formula in Conditional Formatting selecting column B range:

Open in new window

See image below:
Conditional Formatting

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Alternatively you can try the below formula for making a new rule for conditional formatting.


Open in new window

ShumsExcel & VBA ExpertCommented:
If you have long list and you want VBA to do that then try below code:
Sub CondFormat()
Dim Ws As Worksheet
Dim LR As Long
Dim ColRng As Range
Application.ScreenUpdating = False
Set Ws = ActiveSheet
LR = Ws.Range("A" & Rows.Count).End(xlUp).Row
Set ColRng = Ws.Range("B2:B" & LR)
With Ws
    With ColRng
        .FormatConditions.Add Type:=xlExpression, Formula1:="=ISNUMBER(SEARCH(""Internal"",RC[-1]))=FALSE"
        With .FormatConditions(1).Interior
            .PatternColorIndex = xlAutomatic
            .Color = RGB(0, 128, 0)
            .TintAndShade = 0
        End With
        .FormatConditions(1).StopIfTrue = False
    End With
End With
Application.ScreenUpdating = True
End Sub

Open in new window

AndreamaryAuthor Commented:
Thanks to you both for your timely solutions! And thanks, Shums, for the taking the extra step of providing a VBA option.

ShumsExcel & VBA ExpertCommented:
You're Welcome Andrea! We're glad that we're able to help you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.