+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting not copying

  1. #1
    Registered User
    Join Date
    07-23-2015
    Location
    Charlottesville, Va
    MS-Off Ver
    Office 2010 (with work restrictions)
    Posts
    2

    Unhappy Conditional formatting not copying

    I have a spreadsheet to track attendance violations at my job. Our policy allows for violations to expire. This expiration date changes the further you progress, though. What I'm trying to do is have my cell blacked out if the cell next to it contains a date later than it. So, for example, cell S15 has the date of 1/1/2015, but cell T15 has the date of 4/1/2015. Right now, both of these dates will appear. What I'd like to happen is the shading of S15 to become black since the date in T15 is after it.

    I have figured out how to do this with conditional formatting and it works perfectly. I select the cell (We'll use S15 again as an example), select conditional formatting, click new rule, then select "Format only cells that contain" and make it so it formats if the value is less than the value in T15. Works perfectly and shows me exactly what I want to see.

    The only thing I can't seem to get to work right is copying the formatting to the other rows. I've tried clicking the cell (which makes the value absolute $T$15) and that doesn't work. I've tried hand keying the cell location (T15) and no matter what, it copies that same condition into each one regardless of whether I'm using format painter or copying the cell and pasting it below. I'd like it to change it to T16 when I go one row below, but it stays T15 on every row.

    Basically, I'm not trying to adjust each cell individually that needs this formatting. I'd like it to copy the formatting from one row to the next and have Excel automatically changethe reference cell as it goes along, but I can't seem to get excel to do that.

  2. #2
    Registered User
    Join Date
    07-23-2015
    Location
    Charlottesville, Va
    MS-Off Ver
    Office 2010 (with work restrictions)
    Posts
    2

    Re: Conditional formatting not copying

    Wow I solved my own issue 3 minutes after posting. If anybody else has this problem, apparently the solution was to make mixed instead of absolute or relative. So, it became $T15 instead of $T$15 or just simply T15. I swear I tried that before posting, but I guess the stars became aligned or something.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,559

    Re: Conditional formatting not copying

    Glad that you got your formatting to work the way you want, however if the stars should become unaligned here is another possibility.
    Select conditional formatting, click new rule then "Use formula to determine which cells to format".
    Put in your formula i.e.
    Please Login or Register  to view this content.
    This will let the rule flow from cell to cell throughout the range.
    Make sure that the "applies to:" box contains the entire range of cells that you wish to receive the formatting rule. i.e.
    Please Login or Register  to view this content.
    Take a look at the way that this spreadsheet is formatted, using the above description.

    Attachment 409315

    Hope this helps.

+ 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. Copying conditional formatting
    By Dexter Stagg in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-29-2012, 12:35 PM
  2. copying conditional formatting
    By Lugar07 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-14-2011, 05:42 PM
  3. copying conditional formatting
    By umbata in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-29-2011, 01:02 PM
  4. Copying Conditional Formatting
    By Cambion in forum Excel General
    Replies: 1
    Last Post: 06-29-2010, 12:18 PM
  5. Copying conditional formatting
    By kenelder in forum Excel General
    Replies: 12
    Last Post: 02-25-2010, 02:57 PM
  6. copying conditional formatting
    By Wzbell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2007, 01:16 PM
  7. [SOLVED] Copying Conditional Formatting - example.bmp (0/1)
    By Warhawk in forum Excel General
    Replies: 1
    Last Post: 04-18-2006, 03:55 PM
  8. [SOLVED] Copying Conditional Formatting
    By SMac in forum Excel General
    Replies: 3
    Last Post: 03-11-2005, 04:06 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