Conditional Formatting in Excel

Experts,

I would like to apply a format of bold and red font to column "B" in Excel if the value in column A on the same rowl has the value "Count".

"Count" was obtained by subtotal function in Excel.  I am trying to bold and put in red font the results from the subtotal.

Is there a way to do this?
moriniaAdvanced Analytics AnalystAsked:
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.

Glenn RayExcel VBA DeveloperCommented:
Yes you can.

I assume you're using Subtotals to count the number of values in each subsection.  You can create a conditional format to check for "Count" in column A like so:
conditional formatting on "Count" in subtotals
You'll just highlight all the cells in column B that apply, add the conditional formatting rule as shown above and then note the formatting change (bold, red font).

NOTE:  if you remove/re-add subtotals, the formatting will likely not appear.  You'll have to edit the conditional formatting rule again to ensure that it has the formula =RIGHT($A2,5)="Count"


Regards,
-Glenn
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
moriniaAdvanced Analytics AnalystAuthor Commented:
I had to change $A2 to $A1  sorry for the typo.
0
Glenn RayExcel VBA DeveloperCommented:
FYI:  I had to use $A2 in my conditional formatting formula because my range to apply the rule started in the second row (B2:B27).

Nevertheless, I'm glad it works for you.

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.