Color only numbers but not the entire cell

Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: Color only numbers but not the entire cell

  1. #1
    New Member
    Join Date
    Feb 2010
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool Color only numbers but not the entire cell

     
    I am Pramod Kumar using excel2007. I am facing problem in giving color on below given criteria.

    if value is between 90-100 (number colour in Green)
    80-89 (Then Yellow)
    79-0 (Then Red)

    My major problem is that my manager do not wants to color the entire cell rather he wants to color only number or percentage on abaove given criteria rather than colouring entire cell.

    Please help me out. Please let me know, if my points are not clear to you.

    Regards,
    Pramod Kumar

  2. #2
    MrExcel MVP VoG's Avatar
    Join Date
    Jun 2002
    Location
    127.0.0.1
    Posts
    63,651
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Color only numbers but not the entire cell

    You can change the font colour using Conditional Formatting http://www.contextures.com/xlCondFormat01.html
    HTH, Peter
    Please test any code on a copy of your workbook.

  3. #3
    New Member
    Join Date
    Feb 2010
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Color only numbers but not the entire cell

    Dear,

    I know the way how to color them but it will color the entire cell, but I want to color only numbers and not entire cell in which number exisit.

  4. #4
    Board Regular
    Join Date
    Mar 2011
    Location
    Solihull, UK
    Posts
    330
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Color only numbers but not the entire cell

    When using conditional format, click on "Custom Format" and you can specify to change just the text colour in there...
    Excel 2010 (64-bit)

  5. #5
    MrExcel MVP
    Join Date
    Apr 2006
    Posts
    18,992
    Post Thanks / Like
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Color only numbers but not the entire cell

      
    Quote Originally Posted by excel5111987 View Post
    Dear,

    I know the way how to color them but it will color the entire cell, but I want to color only numbers and not entire cell in which number exisit.
    I don't understand what you mean.

    If you specify a different font colour only the caracters will change colour, not the cell background.

    Do you mean you have other characters in the cell besides the number?
    Kind regards
    PGC

    To understand recursion, you must understand recursion.

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com