+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting- extending to whole row

  1. #1
    Registered User
    Join Date
    01-01-2008
    Posts
    6

    Conditional Formatting- extending to whole row

    Using the oldest version of Excel (200) I have to insure all members of our squad can utilize this function. Trying to format a whole row based on one cell in that row that reports number of days till the next physical. My formatting works correctly for the initial cell, but does not extend correctly to the rest of the row. I am using the "Cell value is" option. I used:

    Cell value is between 1 and 365 - color green
    Cell value is between 0 and -30 - Color Yellow
    Cell value is between -31 and -365 Color Red.

    All cells with no value in it are yellow, even if the original formatted cell is another color and the cells that have other data in them such as the physical date, have no color in them regardless. read and tried several approaches from other threads with no good results. considering the results from those threads, I am curious if it has to do with it being an older version.

    Thanks in advance.
    Last edited by rhlongo; 02-15-2010 at 05:42 PM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Conditional Formatting- extending to whole row

    For discussion assume cell A1 holds the value

    Beginning with the first cell in the range to apply CF, select all cells in the applicable range.
    Apply CF using the Formula Option and use these formula

    CF #1: AND($A1>=1, $A1<=365)
    CF #2: AND($A1>=-30,$A1<=0
    CF #3: AND($A1>=-365,$a1<=-31)

    Excel will apply the CF formual to all cells across the columns, adjusting the row reference so that all rows have the CF applied. Note the use the absolute column reference in the formula.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    01-01-2008
    Posts
    6

    Re: Conditional Formatting- extending to whole row

    That was perfect. Thank you for your help, been out of the loop and I am just reworking my skills! Thanks again!

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Conditional Formatting- extending to whole row

    Quote Originally Posted by rhlongo View Post
    That was perfect. Thank you for your help, been out of the loop and I am just reworking my skills! Thanks again!
    Glad to be of help.
    Please mark your thread as solved by going to the top of YOUR first post. Click on Thread Tools, then Go Advanced and choose the [SOLVED] prefix.

    See my signature for details on how to leave feedback to those who help answer your question.


    EDIT: never mind about marking the post as solved. I see you've already done so. Thanks.

+ 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