+ Reply to Thread
Results 1 to 2 of 2

change background color based on the value

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

    change background color based on the value

    0021.PNG

    Hi there anybody here can help me.

    i want to do that base on FORMULA and what is the formula i need to use ??

    for example when i type "OK" in "B2" in "C2" will change the background color into "RED"

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: change background color based on the value

    Select the range C2:C5

    Conditional Formatting
    New Rule
    Use a formula to determine...

    3 rules rwquired, one for each colour

    =(C3="OK")
    format as red

    =(C3="PENDING")
    format as yellow

    =(C3="NOT OK")
    format as green

    P.S. Decide if you're gonna spell OK as OK or OKAY, looks a bit tacky spelling it two different ways.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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] How to change background color based on first row value?
    By putritersenyum in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-18-2016, 05:54 AM
  2. [SOLVED] Change Background Color based on Value?
    By Jangorage in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-22-2014, 04:11 AM
  3. Change cell background color based on another cells background color
    By Queo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 06-10-2014, 05:28 AM
  4. VBA code to change background color based on another fields value
    By SZIMM in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-18-2013, 01:57 PM
  5. Change Background Color Based On Cell
    By radicalrom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2013, 10:58 AM
  6. Change Background Color of Row Based on Cell Value
    By ashishashish8 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-21-2011, 02:51 PM
  7. change text color based on background color
    By great.bean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-05-2009, 07:07 PM

Tags for this Thread

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