Applying/Expanding Conditional Formatting to multiple cells

I have the following formula which generates a red background in cell H5 and J5:

=NOT(IF(P5="B",IF(OR(ISNUMBER(SEARCH("A",H5)),ISNUMBER(SEARCH("T",H5)))*AND(J5>1),CEILING(SUM(C5-B5),"0:15"),),"0:00"))

How do I apply the same Conditional Formatting logic to cells G5, J5, I7, J7...etc.
LVL 1
Bill GoldenExecutive Managing MemberAsked:
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.

Roy CoxGroup Finance ManagerCommented:
Just change the refers to in the Conditional formatting wizard to the range that you want. If you want it to expand you need a dynamic named range
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
Bill GoldenExecutive Managing MemberAuthor Commented:
Thanks Roy. I got it to work almost immediately. (Had to remember to place a comma between the ranges.)
0
Roy CoxGroup Finance ManagerCommented:
Pleased to help. Of course, remember if your data is formatted as a Table then the Conditional Formatting will expand automatically.
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 Excel

From novice to tech pro — start learning today.