+ Reply to Thread
Results 1 to 6 of 6

Change font color base on a value

  1. #1
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Change font color base on a value

    Anybody can help me to this problem ??

    if i input NO. "1" value on cell "B1"
    The font Color on "C1" will change to color red

    and when i input No. "2" The Font Color will change to color "BLUE"

    Thanks, Godbless..
    Last edited by jasond1992; 04-20-2016 at 02:08 AM.

  2. #2
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: Change font color base on a value

    help me plss

  3. #3
    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,933

    Re: Change font color base on a value

    jason, you need to wait at least a day before "bumping" your thread, and certainly more than 20 minutes

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =B1=1 FORMAT fill RED

    repeat this for BLUE
    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

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Change font color base on a value

    Put this in the worksheet change event for your workbook

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Change font color base on a value

    Quote Originally Posted by jasond1992 View Post
    Anybody can help me to this problem ??

    if i input NO. "1" value on cell "B1"
    The font Color on "C1" will change to color red

    and when i input No. "2" The Font Color will change to color "BLUE"

    Thanks, Godbless..
    Try:
    HTML Code: 

  6. #6
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: Change font color base on a value

    Sorry for the bump sir Admin.. i will not doing that again..Thank you so much everybody. GOD Bless

+ 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. cell value base on font color of cells in A column
    By raj soni in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-13-2015, 02:55 PM
  2. Replies: 2
    Last Post: 02-04-2013, 02:00 PM
  3. Change font color based on font color of another cell
    By Ibyers in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2012, 09:36 AM
  4. change font color and font style in shape
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2011, 10:05 AM
  5. [SOLVED] Change color of font base on time range
    By deathzorro in forum Excel General
    Replies: 2
    Last Post: 01-10-2006, 04:10 AM
  6. Sumif and base it on font color of cell
    By Bruce in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-28-2005, 06:05 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