Changing Typeface with Conditional Formatting

by Allen Wyatt
(last updated August 26, 2017)

3

Conditional formatting is great at modifying the attributes of whatever text appears in a cell. However, Nadim needs a way to change the actual font using condtional formatting. He cannot use a macro to do this, so he wonders if there is a way to actually change the typeface used in cell through conditional formatting.

Nadim is correct—you cannot change the actual font through the use of conditional formatting. When you are setting up a conditional formatting rule you can click the Format button, which displays the Format Cells dialog box. Within the dialog box you can display the Font tab, but that doesn't allow you to change the font. The choices under the Font drop-down list are grayed out, and you can only change the font's attributes (Font Style, Color, etc.).

Many folks have complained about this shortcoming in Excel, but Microsoft has not seen fit to fix it yet. If you'd like, you can express your desire through Microsoft's "suggestion box" for Excel, here:

https://excel.uservoice.com/

If you poke around there you will undoubtedly discover that you aren't the only one pining for this capability.

At the current time, the only way around the problem is the way that Nadim says he cannot use—a macro.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (4273) applies to Microsoft Excel 2007, 2010, 2013, and 2016.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Fast AutoFill

Want to fill a long column with predictive data? It's easy to do by using AutoFill and a double-click of the mouse.

Discover More

Delimited Text-to-Columns in a Macro

The Text-to-Columns tool is an extremely powerful feature that allows you to divide data in a variety of ways. Excel even ...

Discover More

One Change Affects Everything

Have you ever made one formatting change in your document, only to see that change applied to all the paragraphs in the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Turning a Cell Red when a Threshold is Exceeded

Excel provides a great conditional formatting capability that allows you to change how a cell appears based on critiera ...

Discover More

Applying Conditional Formatting to Multiple Worksheets

If you just updated your copy of Excel, you may have noticed some differences in how the program handles applying ...

Discover More

Conditionally Highlighting Cells Containing Formulas

Excel's conditional formatting feature allows you to create formats that are based on a wide variety of criteria. If you ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 5 + 3?

2017-08-28 19:07:43

Dave Onorato, CFC

Although it isn't a font change, dramatic results can be had with italics, bold, and size (as well as color).
Personally, I only use 2 fonts in a sheet, or presentation. Titles and text/data. Make your accents with the bold, italics, and even some color. But remember, too much formatting destroys the effect. Much like spice in a dish. The right amount is magical; overdo it and it is ruined.


2017-08-27 07:04:05

Michael (Micky) Avidan

@Nadim,
You may consider using an Evnt Macro (VBA - Excel Programming Language) which will fire at any cell value change.
IN the body of the Macro you can place an IF Statement to check whatever you have in mind.
Serch "Google" for: EXCEL WORKSHEET_CHANGE EVENT MACRO".
--------------------------
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” Excel MVP – Excel (2009-2018)
ISRAEL


2017-08-26 11:16:27

Nadim Daouk

Hi Allen.

Thanks a lot for publishing and seeking solution to my problem with changing font typeface through conditional formatting.

While we are waiting for Microsoft to address the problem (if they ever do), is there a way for a macro to be automatically initiated say by changing the value of a cell? Kind of having some IF function that checks the value of the cell and calls a macro if the condition is met.

Thanks again for the valuable sites (excell and word) and keep up the good work.

Regards.

Nadim


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.