+ Reply to Thread
Results 1 to 8 of 8

Conditional formating

  1. #1
    Registered User
    Join Date
    05-28-2014
    Posts
    4

    Conditional formating

    Dear all,

    i am sitting infront of a very nice problem. And I hope it could be solved via conditional formatting.

    Untitled.png

    As you can see in my matrix there are only two status... Open and Closed. Now I want to fill the cells
    when the status is changed from open to closed (not in the row! Only in column) and the other way round.
    In this cases the two cells where the status changed has to be filled in with a different color.

    At the moment I have no idea how to realize this and I hope some of you could help me with this probolem.
    Before asking you I tried to find something in google but without result.

    Regards
    Scuby
    Last edited by Scuby; 05-28-2014 at 09:10 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Conditional formating

    can you load a sample spreadsheet please - cannot really see the picture

    also when you say change - do you mean if some types in open or closed - you want a colour

    other wise you could use standard conditional formatting and change the fill colour based on if "open" or "closed"

    as i cant see the image clearly - then i'm not sure what to suggest

    but you can have the whole column change colour if any row contains the word "open"

    I suspect you want to colour if any row has the word in all the rows "changed"
    in which case that would need VBA to see the cell change
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Conditional formating

    Let's assume the first cell where statuses are written in is B3. Mark whole B3:L8 or whatever area where you have status one under another (empty line needs separate treatment)
    And use the formatting rule based on formula
    a formula like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and one formatting
    and for the same region next rule based on formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and other formatting.

    Play with that and next time post rather sample spreadsheet than a picture - see rationale behing in: http://www.excelforum.com/forum-rule...rum-rules.html
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    05-28-2014
    Posts
    4

    Re: Conditional formating

    Hi Kaper,

    now attached find the spreadsheet. What I want to do is in a colum to mark the cells when a status changed. Both cells has to be marked.
    Your idea was quite good but only depends on my bith cells and not indvidual on all cells.

    Example:

    open
    open (marked)
    close (marked)
    close
    close (marked)
    open (marked)
    close (marked)
    close (marked)
    open (marked)

    I hope this will clarify the problem a bit.

    Thanks for you assistance.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-28-2014
    Posts
    4

    Re: Conditional formating

    Are there some ideas to solve this problem?

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Conditional formating

    Hi,
    Have a look in the attached. Sheet1 has exactly the same formatting as proposed above.
    The only change: addresses - because layout is different

    Sheet2 has one combined rule, built slightly different way - including checking if any of involved cells (our formatted cell and one above ano one below are not empty.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-28-2014
    Posts
    4

    Re: Conditional formating

    Hi Kaper,

    thanks a lot this is exactly what I am looking for. Thanks for you great assistance.

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditional formating

    Scuby, if your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

    If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon below their name.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 03-14-2014, 04:03 AM
  2. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  3. Replies: 6
    Last Post: 08-14-2006, 05:00 PM
  4. Replies: 2
    Last Post: 03-27-2006, 12:10 PM
  5. Install dates formating using conditional formating?
    By Jerry Eggleston in forum Excel General
    Replies: 2
    Last Post: 11-09-2005, 01:49 PM

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