+ Reply to Thread
Results 1 to 2 of 2

applying conditional formatting to numbers in brackets

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    4

    applying conditional formatting to numbers in brackets

    i have some data referring to % that comes in the format of 1.1% for a positive number and (1.1)% for a negative number

    how can i get the 1.1% to display green and the (1.1)% to display red?

    thanks in advance

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: applying conditional formatting to numbers in brackets

    I'm assuming that you have numeric data formatted as percentage, with parentheses for negative values.

    Create a new conditional formatting rule using "Format only cells that contain" and then specify "Cell value less than 0" for the red, and another rule that is "Cell value greater than or equal to 0" formatted green.

    (If your data is instead text data, then the rules would be different, but that would also not be a good practice.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Conditional Formatting not applying
    By Lovelylou79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2013, 11:01 PM
  2. Replies: 8
    Last Post: 04-22-2013, 04:37 AM
  3. Conditional formatting on non-empty cells - VBA
    By kotonikak in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-18-2013, 02:57 PM
  4. Conditional Formatting - based on value in brackets
    By gurj_sandhu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2009, 10:57 AM
  5. [SOLVED] Formatting negative numbers in brackets in excel
    By Mark McDonough in forum Excel General
    Replies: 1
    Last Post: 06-02-2005, 01:05 AM

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