+ Reply to Thread
Results 1 to 8 of 8

customize number format/Display Text color

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    Michigan
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    44

    customize number format/Display Text color

    trying to i have a collum of numbers totaled. the total amount is checked against the actual numbers example 100 200 300 400 500 = 1500 (total, comes from weekly estimate) in cell I30 and the actual amount (actual comes from actual dial reading) is 1500 in cell B10. what i want to do is if the I30-B10= 0 I want the text color to be GREEN, If the amount is negative i want the text color to be RED and if the amount is postive I want the text color to be yellow.
    1500-1500 = 0 display 0 is 1500-1400= 100 display 100 or if 1500-1600= -100 display -100

    and i would like hole numbers no decimals...

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: customize number format/Display Text color

    [yellow]0;[red]-0;[green]0
    oughta work
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    05-07-2012
    Location
    Michigan
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    44

    Re: customize number format/Display Text color

    I have tried this 0 displays yellow...

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: customize number format/Display Text color

    if it shows yellow, it's not 0 (you just can't see the decimal places). you could use:
    round(I30-B10,0)

  5. #5
    Registered User
    Join Date
    05-07-2012
    Location
    Michigan
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    44

    Re: customize number format/Display Text color

    would it look like this?

    [Yellow]0;[Red]-0;[Green]0;round(I30-B10,0)

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: customize number format/Display Text color

    no-the formula goes in the cell not in the number format.

  7. #7
    Registered User
    Join Date
    05-07-2012
    Location
    Michigan
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    44

    Re: customize number format/Display Text color

    thank you...

  8. #8
    Registered User
    Join Date
    05-07-2012
    Location
    Michigan
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    44

    Re: customize number format/Display Text color

    it worked thanks a ton..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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