+ Reply to Thread
Results 1 to 2 of 2

change font for cells containing Formulas

  1. #1
    Registered User
    Join Date
    05-09-2022
    Location
    Los Angeles
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO
    Posts
    5

    change font for cells containing Formulas

    Hi. I am trying to use a conditional formatting rule to change font color of a cell based on 3 criteria. See attached.

    Example data below. Also attached file. Some cells contain formulas and some contain hard coded values.


    January February March
    2,000 1,000 726
    29,999 29,722 31,409
    199,143 187,233 201,636
    2,561 1,146 3,328
    90,721 (11,253) 50,402


    3 example results:

    1.) cells containing hard coded values reflect font color as pink
    2.) cells containing an average formula (each row different row number) make yellow ' =AVERAGE($E8:$M8) '
    3.) cells containing a run-rate make font green (each row different number) ' =$M8 '


    Thank you!
    Attached Files Attached Files
    Last edited by Sabina00; 05-17-2022 at 12:59 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,284

    Re: change font for cells containing Formulas

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 1
    Last Post: 07-31-2021, 03:23 PM
  2. VBA to Change the Font Color if the Cells Value has Changed
    By PandoraGirl in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2019, 05:50 AM
  3. [SOLVED] Change Font for All Cells with Formulas
    By marysever in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-13-2014, 05:41 PM
  4. Replies: 2
    Last Post: 02-04-2013, 02:00 PM
  5. [SOLVED] Change default font and font size on COMMENTS in cells
    By Thistledown in forum Excel General
    Replies: 4
    Last Post: 11-23-2012, 09:26 AM
  6. Change font of cells with formulas
    By free.cupons in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2008, 10:53 PM
  7. [SOLVED] change font of certain cells in row(s) when ColorIndex of Column S changes
    By KAS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2005, 01:06 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