+ Reply to Thread
Results 1 to 11 of 11

Conditional Formating if A1 is 100 then B1 text is red

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    92

    Conditional Formating if A1 is 100 then B1 text is red

    Trying to formulate
    Conditional Formating:
    if A1 < 100 then B1 text is red in color, else text is Blue in color

    however, B1 already has an if formula =IF(B1=100%,"Yes","No")


    Hope there is a way

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Conditional Formating if A1 is 100 then B1 text is red

    1. highlight the range you want to apply the conditional formatting to (A1 or A1:A100, whatever you need)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =A1<100 format text Red

    Repeat 3&4 with =A1>=100 format text BLUE

    Edit: on a side-note. Conditional Formatting is just that...formatting, so it's not an actual entry IN the cell, it kinda sits "on top" of the cell
    Last edited by FDibbins; 06-13-2013 at 05:55 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-10-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Conditional Formating if A1 is 100 then B1 text is red

    I am afraid to declare that it did not work for me.

    I am attaching a copy of the Excel File.
    Attached Files Attached Files

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Conditional Formating if A1 is 100 then B1 text is red

    Give this a shot....I changed the color scheme a bit
    Attached Files Attached Files
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Conditional Formating if A1 is 100 then B1 text is red

    In post 1 you said <100, what you forgot to add was <100%

    go back into CF and edelete the 2 rules you have in there and start again.
    3. select new rule, select use formula
    4. enter =D4<1

    Then click the FORMAT button, click FONT, select the COLOR drop-down and select RED

    Repeat this (new rule) and use =D4>=1 and then select the color to format it with

  6. #6
    Registered User
    Join Date
    10-10-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Conditional Formating if A1 is 100 then B1 text is red

    Quote Originally Posted by judgeh59 View Post
    Give this a shot....I changed the color scheme a bit
    Excellent, but i was hoping that you can include the tutorial

  7. #7
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Conditional Formating if A1 is 100 then B1 text is red

    Sorry, I'm bit confused?....tutorial?...

  8. #8
    Registered User
    Join Date
    10-10-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Conditional Formating if A1 is 100 then B1 text is red

    Quote Originally Posted by judgeh59 View Post
    Sorry, I'm bit confused?....tutorial?...
    How did you get the colors to change ?

  9. #9
    Registered User
    Join Date
    10-10-2012
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Conditional Formating if A1 is 100 then B1 text is red

    Quote Originally Posted by FDibbins View Post
    In post 1 you said <100, what you forgot to add was <100%

    go back into CF and edelete the 2 rules you have in there and start again.
    3. select new rule, select use formula
    4. enter =D4<1

    Then click the FORMAT button, click FONT, select the COLOR drop-down and select RED

    Repeat this (new rule) and use =D4>=1 and then select the color to format it with


    Ok, Got it. My Bad. Thanks

  10. #10
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Conditional Formating if A1 is 100 then B1 text is red

    no problem at all....glad we could help....

  11. #11
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Conditional Formating if A1 is 100 then B1 text is red

    Reminder - Please set the Thread to Solved if we're done....thanks

+ 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