IF(AND Statement in Conditional Formatting.

I need conditional formatting applied if

A5:A100 = *
J5:J100 =  Not Open*

Getting an error on below

="IF(AND(A5:A100>="*",J5:J100<>"Not Open*"),"TRUE", "FALSE")
Who is Participating?

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

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.

Get rid of the " symbol between = and IF.


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
barry houdiniCommented:
Are you using * as a wildcard or a literal * ?

Can you give an example - what cell contents for A5 and J5 would trigger conditional formatting. If you want the row formatted when A5 is not blank and J5 begins with "Not Open" then you can't use wildcards (and you don't need IF) try like this

=AND(A5<>"",LEFT(J5,8)="Not Open")

If applied to the range A5:A100 or similar then Excel automatically adjusts the references - formula should reference first row only

regards, barry
mato01Author Commented:
Had to incorporate both solutions.  Thanks
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 Hardware

From novice to tech pro — start learning today.