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)
NC-EQV
NC-FQV
NC-Internal
EDO
NC-NQV
GA QA
UJA-QA (STiR created)

Thanks!
Andrea
AndreamaryAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

ShumsDistinguished Expert - 2017Commented:
Hi,

You can use below formula in Conditional Formatting selecting column B range:
=ISNUMBER(SEARCH("Internal",A2))=False

Open in new window

See image below:
Conditional Formatting
0

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.

=ISERROR(SEARCH("Internal",A2))

Open in new window

0
ShumsDistinguished Expert - 2017Commented:
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
    .Cells.FormatConditions.Delete
    With ColRng
        .FormatConditions.Add Type:=xlExpression, Formula1:="=ISNUMBER(SEARCH(""Internal"",RC[-1]))=FALSE"
        .FormatConditions(.FormatConditions.Count).SetFirstPriority
        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

Conditional-Formatting-Based-on-Ajd.xlsm
0
AndreamaryAuthor Commented:
Thanks to you both for your timely solutions! And thanks, Shums, for the taking the extra step of providing a VBA option.

Cheers,
Andrea
0
ShumsDistinguished Expert - 2017Commented:
You're Welcome Andrea! We're glad that we're able to help you
0
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.