Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Illinois
    Posts
    552
    Thanks
    0
    Thanked 1 Time in 1 Post

    Conditional formatting with number plus text (Excel 2003)

    I want to shade a column of numbers with green if positive, red if negative and yellow if = 0.

    The problem is the numbers have the word "point" after them. So it's 0 points, 5 points, -1 point. The text prevents me from using the conditional formatting. How can I work around this? Thanks

  2. #2
    5 Star Lounger
    Join Date
    Aug 2004
    Location
    Connecticut, USA
    Posts
    816
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Conditional formatting with number plus text (

    As long as there is a space between the number and "point" you can use the following as your formulas:
    For items >0
    =LEFT(A1,FIND(" ",A1))*1>0

    For items =0
    =LEFT(A1,FIND(" ",A1))*1=0

    For items >0
    =LEFT(A1,FIND(" ",A1))*1<0

  3. #3
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Illinois
    Posts
    552
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Conditional formatting with number plus text (

    thanks, worked great!

Posting Permissions

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