Bold matching cells based on conditional formatting

hviking

Board Regular
Joined
Mar 31, 2002
Messages
61
I've got a list of items (See list at the end)

If I answer Yes in Column C, then Column B turns bold. This is no issue, however, I would like for all matching Office Buildings to also turn Bold. Is this possible without VB or scripting?
(The actual list has 200+ names and 100 Buildings)

User Name AOffice Building BUpgraded Building C
PeterC1481
PaulC1498
MaryC1481Yes
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
i think this will do what you are after
=AND(COUNTIFS($B$2:$B$29,B2,$C$2:$C$29,"yes"),COUNTIF($B$2:$B$29,B2))

Book7
ABCDE
1User Name AOffice Building BUpgraded Building C
2PeterC1481TRUE
3PaulC1498FALSE
4MaryC1481YesTRUE
5C1481TRUE
6C1498FALSE
7FALSE
8FALSE
9FALSE
10FALSE
11FALSE
12
Sheet1
Cell Formulas
RangeFormula
E2:E11E2=AND(COUNTIFS($B$2:$B$29,B2,$C$2:$C$29,"yes"),COUNTIF($B$2:$B$29,B2))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:B30Expression=AND(COUNTIFS($B$2:$B$29,B2,$C$2:$C$29,"yes"),COUNTIF($B$2:$B$29,B2))textNO


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
B2:B300 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=AND(COUNTIFS($B$2:$B$300,B2,$C$2:$C$300,"yes"),COUNTIF($B$2:$B$300,B2))

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK
 
Upvote 0
you are welcome, hopefully it works as well in your REAL data
 
Upvote 0

Forum statistics

Threads
1,223,981
Messages
6,175,771
Members
452,668
Latest member
mrider123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top