+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting

  1. #1
    Registered User
    Join Date
    07-17-2007
    Posts
    14

    Question Conditional Formatting

    I want the following condition assigned to the formatting of cell A1:
    If the value of cell B1 is identical to the value of C1, D1, E1, F1 or G1 then A1 pattern if colored red.
    The problem is that Excel lets me define only 3 different formatting conditions per cell so I'll need to use a different formule then '=B1=C1'.

    thanks in advance!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    use OR() in your CF formula.

    select formula is from 1st drop down. Then enter formula

    =OR(B1=C1,B1=D1,B1=E1,B1=F1,B1=G1)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-17-2007
    Posts
    14

    Question Clear cell

    thanks, can I also clear the cell content when the above condition is met?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You can't clear the contents, but you can make the contents transparent by changing the font colour to match your background colour when your conditions are met.

  5. #5
    Registered User
    Join Date
    07-17-2007
    Posts
    14

    Question Is there a way to clear the content..

    .. not with the "conditional formatting" tool?

    I have aggregations based on this cell. I need it to clear, not just change color.
    Last edited by ysbn; 08-07-2007 at 10:04 AM.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    use the conditional formatting tool to change the font colour. You can't clear/delete the contents with the CF tool.

+ 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