+ Reply to Thread
Results 1 to 5 of 5

IF Function to change color of cells

  1. #1
    Registered User
    Join Date
    06-11-2016
    Location
    Covington, WA
    MS-Off Ver
    2007
    Posts
    2

    IF Function to change color of cells

    I am looking for the function I would use to change the color of a cell if the value falls into a rang of numbers.

    I.e If the value if between 90 and 110 color cell green, between 110 and 120 Yellow if >120 red

    Thanks in advance!

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: IF Function to change color of cells

    Hi
    Try to use Conditional Formating.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: IF Function to change color of cells

    See the file for clarification
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF Function to change color of cells

    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: IF Function to change color of cells

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    Ben Van Johnson

+ 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. IF Function to change color of cells
    By npucci in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2016, 01:59 PM
  2. [SOLVED] Change a cells fill color. VBA to make another cell the same color and also changes.
    By PeteABC123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2016, 12:34 PM
  3. Function to change color to group of cells..
    By kenharding in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2014, 12:35 PM
  4. change fill color of a range of cells based on color of a cell?
    By DarMelNel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2014, 04:48 PM
  5. Replies: 2
    Last Post: 02-04-2013, 02:00 PM
  6. Replies: 0
    Last Post: 01-27-2011, 02:54 AM
  7. Replies: 3
    Last Post: 07-08-2010, 06:48 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