+ Reply to Thread
Results 1 to 3 of 3

Copy and Paste Conditional formatting

  1. #1
    Registered User
    Join Date
    Leeds, England
    MS-Off Ver

    Copy and Paste Conditional formatting


    I have a rota where people can be assigned to a particular venue. Each venue has a colour and I've written CF rules to apply this colour to the range of cells for that particular day.

    e.g. rule - =$H$8="A/L" format -fill red Applies to - =$H$8:$J$10

    This appears to work as I'd expect, the range "=$H$8:$J$10" becomes red when I type "A/L" into H8. If I make the reference relative then it only appears to affect H8 even though the range is still the same.

    The following problem is that if I copy these rules from Wednesday, for example, to Thursday =$K$8:$M$10 using the Format Painter, then the reference remains the same, H8.

    I'd rather not have to manually change the reference cell every time I paste as I've got 6 rules to copy across 6 people across 7 days.

    Any help would be appreciated.


    CF Rules.jpg
    CF Rota.jpg

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)

    Re: Copy and Paste Conditional formatting

    My best advice regarding CF is NOT to use copy and paste or the format painter! Just set the ranges in the applies to box - in your case, either extend the range, or add ranges separated by commas.

    However, if the reference cell needs to change from H8 to K8, then you are going to need a separate rule for each day - sorry.
    Last edited by AliGW; 06-30-2020 at 01:43 AM.

    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16

    Re: Copy and Paste Conditional formatting

    I tend to agree with Ali on this. I have seen a specific CF rule repeated as many times as the rule was copied (copied 5 times, rule was repeated 5 times)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you


+ 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. Copy Paste Conditional Formatting
    By gwflyer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2016, 05:34 PM
  2. [SOLVED] Copy and paste without Conditional Formatting
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-17-2015, 01:38 AM
  3. Copy/Paste - without Conditional Formatting
    By timothyjquinn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2013, 01:12 PM
  4. [SOLVED] Copy & paste conditional formatting?
    By Ltat42a in forum Excel General
    Replies: 15
    Last Post: 10-02-2012, 01:55 AM
  5. Excel 2007 : conditional formatting: Copy/Paste
    By blizz in forum Excel General
    Replies: 4
    Last Post: 04-07-2011, 08:57 AM
  6. Conditional Formatting Copy & Paste
    By adam2308 in forum Excel General
    Replies: 2
    Last Post: 06-07-2010, 06:03 PM
  7. [SOLVED] Copy paste Conditional Formatting
    By Bud Hughes in forum Excel General
    Replies: 3
    Last Post: 10-01-2005, 07:05 PM


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