+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting based on two criteria

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Conditional formatting based on two criteria

    Hi all,

    I have a macro that runs on another workbook to format it for the user. I would like ONLY the cells in the E column where the cell above in the A column is equal to the current cell in the A column and the DAY value for days wait (E column) is greater than 7 to be highlighted. I basically want it highlight the cells where the days wait is greater than 7.

    Here's what I have so far:

    Please Login or Register  to view this content.
    But it still doesn't seem to get them to be highlighted.

    Please see the attached file to see example of the unhighlighted version and the what the finished version should look like.

    Example.xlsx

    Thanks for you anticipated help.
    Last edited by Brumbot; 01-24-2013 at 05:45 AM.
    Did I help? Click *- add to my rep.

  2. #2
    Registered User
    Join Date
    01-21-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Conditional formatting based on two criteria

    when i run your code

    it show error at this line

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Conditional formatting based on two criteria

    Quote Originally Posted by sky1in5 View Post
    when i run your code

    it show error at this line

    Please Login or Register  to view this content.
    Sorry that should be:
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    01-21-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Conditional formatting based on two criteria

    Quote Originally Posted by Brumbot View Post
    Sorry that should be:
    Please Login or Register  to view this content.
    same, error.

  5. #5
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Conditional formatting based on two criteria

    Quote Originally Posted by sky1in5 View Post
    same, error.
    Here's my current code:

    Please Login or Register  to view this content.
    I'm hoping you can tell me where I'm going wrong...

    EDIT: Solved by recording my actions.
    Last edited by Brumbot; 01-24-2013 at 07:27 AM.

+ 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