+ Reply to Thread
Results 1 to 3 of 3

Format a Row based on data in a cell in that row (conditional formatting)

  1. #1
    Registered User
    Join Date
    07-26-2008
    Location
    Lexington, Ky
    Posts
    12

    Format a Row based on data in a cell in that row (conditional formatting)

    KY_Sports_Events.xlsx

    I don't get channels Fox sports South and SEC Network, So what i want to do is highlight rows (game info) that are on those channels. I was trying "=(IF(G1<>"ESPN""ESPNU""ESPN 2""CBS Sports Network",TRUE,FALSE))" but that doesn't seem to work and only gives me a value of true all the way down the sheet.

    Is there any way I can add in a different color if the game is before dark (in my area it gets dark about 5:30-6:00)

    Can anyone help me?
    Last edited by savage; 12-21-2011 at 05:47 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Format a Row based on data in a cell in that row (conditional formatting)

    Try this:

    =AND(NOT(ISNUMBER(MATCH({"ESPN","ESPNU","ESPN 2"}, G1, 0))))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-26-2008
    Location
    Lexington, Ky
    Posts
    12

    Re: Format a Row based on data in a cell in that row (conditional formatting)

    It won't let me use that formula in the conditional formatting rule, although it did give me the correct True or false in the column.

+ 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