+ Reply to Thread
Results 1 to 13 of 13

conditional formatting text

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    conditional formatting text

    i have a drop down menu of teams. there can only be one of two correct choices. I want the cell to change color if if any team other than the two are selected and remain clear if no team is selected.

  2. #2
    Registered User
    Join Date
    08-23-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: conditional formatting text

    Can you provide your workbook and what values you are looking to highlight, etc?
    A macro does what you tell it, not what you want.

  3. #3
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting text

    Segres Family NFL 2012 Picks v1.1.xlsb

    using excel 2007

  4. #4
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting text

    For example, I would like cell D3 to turn red if any team other than DAL or NYG is selected. If possible, have it referenced to cell B3.

  5. #5
    Registered User
    Join Date
    08-23-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: conditional formatting text

    Hopefully someone else can come along with a better solution, but this is what I can offer for now:

    Change all of your variable (drop-down) cells to an "inactive" color such as a light to medium grey.

    Add conditional formatting variables for each row based on the two possible (correct) choices and have them revert to "no color".

    Sorry I couldn't come up with a "one-click" solution for you.

  6. #6
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting text

    thanks. i'll give it a try.

  7. #7
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: conditional formatting text

    Select C3:U305, then in conditional format,

    =ISERROR(SEARCH(C3,$B3))*SEARCH("@",$B3)

    Apply the format
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: conditional formatting text

    maybe also

    =SEARCH($D3,$B3) - only could do that
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  9. #9
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting text

    Quote Originally Posted by Haseeb A View Post
    Select C3:U305, then in conditional format,

    =ISERROR(SEARCH(C3,$B3))*SEARCH("@",$B3)

    Apply the format
    Thank you so much. That is exactly what I was looking for. The only thing now is that only works for that first section. How do I get it to work for the rest of the sheet?

  10. #10
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: conditional formatting text

    Sorry for the delay.

    in Conditional Forma 'Applies to' type =$C$3:$U$305

  11. #11
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting text

    Unfortunately its still not working. Can you take a look at it and see?

  12. #12
    Registered User
    Join Date
    08-21-2012
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting text

    Segres_Family_NFL_2012_Picks_v1.1.xlsb

    Here is the file Im trying to format.

  13. #13
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: conditional formatting text

    See the attached quincy.

    Segres_Family_NFL_2012_Picks.xlsb

+ 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