+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting Bold based on words

  1. #1
    Registered User
    Join Date
    04-28-2020
    Location
    Orange County, California, USA
    MS-Off Ver
    Office 365
    Posts
    5

    Conditional Formatting Bold based on words

    Hi, I want to use Conditional Formatting to show the words in bold if any of the following words are in the cell (see list below).

    Right now, I've created a rule per word. Which means I'm going to have 20+ rules for bolding text when all is said and done. Is there anyway to avoid that? Is there a performance hit to the spreadsheet by having so many conditional formatting rules?

    Words:

    metformin
    trulicity
    bydureon
    farxiga
    jardiance
    glimeperide
    glipizide
    januvia
    alogliptin

    statin
    atorvastatin
    lovastatin
    simvastatin
    pravastatin

    lisinopril
    losartan
    valsartan
    irbesartan

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting Bold based on words

    Yes there would be a performance hit, CF can be very resource-intense.

    Try using MATCH() instead? If a match is found, it will trigger a TRUE, which will fire the CF rule
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-28-2020
    Location
    Orange County, California, USA
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Conditional Formatting Bold based on words

    thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Conditional Formatting to add borders and bold on TOTAL row
    By andrewc in forum Excel General
    Replies: 3
    Last Post: 05-15-2020, 08:29 AM
  2. How to count bold cell with conditional formatting.
    By RoshanRaj in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-23-2019, 01:41 PM
  3. Replies: 3
    Last Post: 08-13-2019, 07:33 PM
  4. Replies: 2
    Last Post: 07-26-2016, 02:05 PM
  5. VBA Formatting on bold
    By devilchild99 in forum Excel General
    Replies: 3
    Last Post: 09-12-2013, 01:10 AM
  6. conditional formatting using words but exact words
    By bopsgtir in forum Excel General
    Replies: 5
    Last Post: 12-02-2010, 02:51 PM
  7. Bold text in rows (Conditional formatting XL2007)
    By chaomifen in forum Excel General
    Replies: 4
    Last Post: 08-13-2010, 01:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1