+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting for whole worksheet on excel 2007

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    6

    Conditional formatting for whole worksheet on excel 2007

    Hi there,

    I'm trying to do conditioning formatting on excel 2007 involving dates. So for instance, I've got =today()-c2>0 for the cell c2. My question is how do I apply this to the whole worksheet?

    Thanks

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Conditional formatting for whole worksheet on excel 2007

    Depends, do you want every cell to refer to C2 ?
    Or do you then want C3 to refer to C3, C4 to refer to C4 ?

    If you want the C4 to adjust according to which cell it's applied to, then you can just
    Copy the cell that you already have working (C2)
    Highlight all others
    Right Click - Paste Special - Formats.


    But if you want all cells to refer to C2, then change the formula to
    =today()-$c$2>0
    Then follow same steps as above.



    Also, I would highly recommend designating a single cell to contain the =Today() function.
    Say Z1 for example.
    Then refer to that cell in all formulas.
    =$Z$1-c2>0


    This will greatly reduce calculation time.

  3. #3
    Registered User
    Join Date
    10-01-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Conditional formatting for whole worksheet on excel 2007

    Quote Originally Posted by Jonmo1 View Post
    Depends, do you want every cell to refer to C2 ?
    Or do you then want C3 to refer to C3, C4 to refer to C4 ?

    If you want the C4 to adjust according to which cell it's applied to, then you can just
    Copy the cell that you already have working (C2)
    Highlight all others
    Right Click - Paste Special - Formats.


    But if you want all cells to refer to C2, then change the formula to
    =today()-$c$2>0
    Then follow same steps as above.



    Also, I would highly recommend designating a single cell to contain the =Today() function.
    Say Z1 for example.
    Then refer to that cell in all formulas.
    =$Z$1-c2>0


    This will greatly reduce calculation time.
    Thanks! Managed to work it out.

    A follow up question, what if I want to set multiple conditional formatting on the same cell? E.g. If the value is great than 10, then it's white, if it's less than 10, it's yellow and if it's less than 0, then red. I tried to add another conditional formatting rule but I don't think the two are working together.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Conditional formatting for whole worksheet on excel 2007

    It's all about the ORDER they appear in the Manage Rules window.
    They are processed one at a time, from Top to Bottom
    The first one to evaluate as TRUE is applied.

    So I would say the order should be
    1. Less than zero
    2. Less than 10
    3. Greater than 10

+ 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: 0
    Last Post: 06-12-2013, 09:44 AM
  2. Replies: 10
    Last Post: 05-20-2012, 08:41 AM
  3. Excel 2007 : Conditional Formatting excel 2007
    By prashants_2k in forum Excel General
    Replies: 3
    Last Post: 06-10-2011, 05:35 PM
  4. Excel 2007 : Conditional Formatting with excel 2007
    By ralanyo in forum Excel General
    Replies: 3
    Last Post: 12-15-2008, 06:17 PM
  5. Replies: 0
    Last Post: 09-18-2008, 03:08 PM

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