+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Conditional format one cell based on another cell

  1. #1
    Registered User
    Join Date
    06-09-2009
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    25

    Conditional format one cell based on another cell

    Is this possible? example:


    ____A______B

    1___cat_____y
    2___dog
    3___bird
    4___cow____y
    5___fish


    Can a condional format be applied that would make anything in column "A" that also had a "y" in column "b" blue and anything without a "y" red? How would you do this? In the above example, cat and cow would be formated with blue text and dog, bird and fish would have red text.
    Last edited by strokedmaro; 10-29-2010 at 11:53 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Conditional format one cell based on another cell

    Sure.

    Cell A1: Condition 1: Formula is: =B1="y", format blue
    Cell A1: Condition 2: Formula is: =B1<>"y" format red

    Copy the formats to the remaining cells in column A

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    06-09-2009
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Conditional format one cell based on another cell

    Thank you very much!!!! Works perfectly!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Conditional format one cell based on another cell

    You're welcome. Thanks for the feedback.

+ 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