+ Reply to Thread
Results 1 to 5 of 5

Color coding to cells in columns with specific text

Hybrid View

  1. #1
    Registered User
    Join Date
    04-12-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Color coding to cells in columns with specific text

    Hi all,

    I am preparing a document for a few test cases. where in Each test case has three columns commonly.
    suppose we have the columns titled 'PASS', 'FAIL' and 'Not applicable'available for each test case.

    Now I want to have a Conditional formatting formula that acts as below:
    1. When a cell under the column 'PASS' for any test case is filled with ANY TEXT, It should be Filled in 'Green' color.
    2. When a cell under the column 'FAIL' for any test case is filled with ANY TEXT, It should be Filled in 'RED' color.
    3. And when a cell under the column 'Not applicable' for any test case is filled with ANY TEXT, It should be Filled in 'Grey' color.

    Also in point '2' and '3', Once any text is entered, I need a cell from another column (titled 'comments') of the same row to be filled with the same color as the result (i.e. Fail or Not applicable)

    My question is, Is this possible to have it this way. If so, How can I do that?

    And if this is achievable, will deleting the entered text revert the cell back to plain format (white filled and without any text).

    Please kindly let me know of the possible solutions and help me with this.

    Thanks...

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Color coding to cells in columns with specific text

    aaaaa.xlsx

    use conditional formatting.

    At
    column A(PASS):Cells that contain "NO BLANK", green
    column B(FAIL):Cells that contain "NO BLANK", red
    column C(Not applicable):Cells that contain "NO BLANK", grey
    column D(Comments): Formula = B2 <>"", red & C2 <>"",gey (expend it by scroll down)

    Hope it help
    Last edited by wenqq3; 04-12-2013 at 05:30 AM.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    04-12-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Re: Color coding to cells in columns with specific text

    Quote Originally Posted by wenqq3 View Post
    Attachment 227587

    use conditional formatting.

    At
    column A(PASS):Cells that contain "NO BLANK", green
    column B(FAIL):Cells that contain "NO BLANK", red
    column C(Not applicable):Cells that contain "NO BLANK", grey
    column D(Comments): Formula = B2 <>"", red & C2 <>"",gey (expend it by scroll down)

    Hope it help
    That did help.
    One more query though...
    How do i remove the red filling from the comments column once i enter a comment in that cell (with the Fail and Not applicable) parts untouched

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Color coding to cells in columns with specific text

    BBBBB.xlsx

    Add one more condition at column D.
    if contain cell is not blank, put white color.

  5. #5
    Registered User
    Join Date
    04-12-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Color coding to cells in columns with specific text

    Bingo!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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