+ Reply to Thread
Results 1 to 32 of 32

Conditional Formatting specific text color

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Conditional Formatting specific text color

    I am trying to have an specific text to be color red in the cell.
    Under the "code" sheet you will the word "discontinued item". The item are listed in the "Item" sheet.

    Please see attached file.

  2. #2
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Is there a way to set the specific text “discontinued item” in Red font color by setting it in conditional formatting?

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    Select the column & use this formula
    =$J1="discontinued item"
    then select your format.
    Change the J1 to which ever column you want

  4. #4
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hi Fluff13
    Where do i set the code?
    Tnx

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    Home tab > Conditional Formatting > New Rule > Use a formula

  6. #6
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Ok... do i need to do this each cell and drag it down after i ser the formula or just each cell where the specific text is being placed?

    Tnx

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    Just highlight the entire column first & then set the formatting

  8. #8
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Just wondering... don’t i need to specify the name of the sheet which is the “code” sheet? I just don’t want to affect the other sheet.
    Thanks

  9. #9
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    I tried to select new rules and there is a bunch of selection for me to put in the =$K8="discontinued item", I don't really know which to select. I am not too familiar with the conditional formatting... please help.
    Thanks

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    You need to select Use a formula after new rule

  11. #11
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hi
    I did select the “use a formula” but it did not work.
    First I highlighted the ccolumn C from the item sheet, then After from the conditional setting I selected new rule, i selected the use a formula, then i type the =$K8=“DISCONTINUED CODE”... the K8 from the Code sheet did not change the color.

    Thanks

  12. #12
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    If you select the entire column the you need to use =$K1
    If you only want it to work on a particular area, then select the area rather then the column & use =$K8 where the 8 is the first row of the selected area

  13. #13
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    Having had a look at your file.
    On sheet "Item", select column C & use this formula
    =C1=' CODES '!$K$8

    There needs to be 4 spaces before CODES & a further 4 spaces after

  14. #14
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hi Fluff13

    It did not work. I tried to use the formula.

    thanks.

  15. #15
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    The "discontinued item" from the CODE sheet in cell K8 did not change to color red although I place the code in Item sheet from C1 all the way down.

  16. #16
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    What sheets do you want this to work on?

  17. #17
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Can you please look at the file I attached and tell me if is possible to get it done.

    Thanks.

  18. #18
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    a) I have already done that, see post#13
    b) Can you answer post#16

  19. #19
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hi,
    sorry...
    What sheets do you want this to work on? Answer: CODE worksheet in K8. I want the "DISCONTINUED" as a specific text only. See Item sheet where I listed the list.

    thanks.

  20. #20
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    So all you want to do is change K8 to red if it says Discontinued Item.
    Is that correct?

  21. #21
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hi.... Yes

  22. #22
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Can you send me the attachment after you work on it? I tried all the code and the step you told me but It didn't work on me.

    Thank you.
    Last edited by RJ1969; 07-24-2018 at 11:02 AM.

  23. #23
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    In that case select K7 > CF > Highlight cells rule > Equal to > "DISCONTINUED ITEM" > select format

  24. #24
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    I don't understand.... :o(

  25. #25
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    The last post should have been select K8 (not K7).

    What don't you understand?

  26. #26
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    I think all of it.
    The code that I need to use or where to put the code.
    I guessed the step.

  27. #27
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    It's quite simple.
    select cell K8, then on the home tab select Conditional formatting, then from the options that appear select "Highlight cells rule" then on the next menu select "Equal to", in the pop-up that appears type "DISCONTINUED ITEM" into the left hand box, then select the format you want in the right hand box & click OK.

  28. #28
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hi,
    I followed your instructions. It did change the color to red for once but once I selected another item and go back to it. It change the color to regular color.

  29. #29
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    That's because you have a worksheet event that deletes the conditional formatting

  30. #30
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Is there a way you can fix the code?

    Please Login or Register  to view this content.

  31. #31
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional Formatting specific text color

    Hello Fluff13,
    I got it. Thank you for all your time and help. I really appreciated.

    Thanks

  32. #32
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Conditional Formatting specific text color

    You're welcome

+ 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. Color text conditional formatting
    By RJ1969 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-27-2018, 02:28 PM
  2. Replies: 3
    Last Post: 05-30-2014, 10:24 AM
  3. [SOLVED] Conditional Formatting based on Text Color
    By JBailey-LMC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2013, 03:22 PM
  4. conditional formatting text color
    By mango matto in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 07-15-2010, 11:26 PM
  5. Formatting Cell Color to Specific Text
    By andreabeas in forum Excel General
    Replies: 9
    Last Post: 03-25-2009, 03:54 PM
  6. Replies: 6
    Last Post: 05-17-2007, 07:08 AM
  7. Replies: 3
    Last Post: 04-27-2005, 06:57 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