+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting Based On %

  1. #1
    Registered User
    Join Date
    10-27-2008
    Location
    UK
    Posts
    5

    Exclamation Conditional Formatting Based On %

    I am wanting to change the colour of a cell e.g F9 based on the percentage of cell G9

    (The state column)

    I want it red if = 0 %
    orange if between but not equal to 0 & 100
    green if = 100%


    I've tried cf but the green displays as orange ? I'm rather confused

    I'm using 2007 in compatibility mode because my schoolCo has 2003
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    Remember that % are decimals so you want =0, greater than 0 and less than 1 and then = 1.

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702
    You would need conditional formating:

    =$G$9=0%
    =OR(G9>1%,G9<99%)
    =$G$9=100%

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Condition 1: Cell value Is, equal to, 0 (format red)
    Condition 2: Cell value Is, equal to, 1 (format green)
    Condition 3: Cell value Is, between, 0 and 1 (format orange)

    Paul, your solution doesn't color, for example, 0.5% or 99.5%
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    I love these repetitive threads... maybe I should post another solution too ;-)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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