Solved

Excel - Conditional format rule is broken after using copy + paste

Posted on 2014-01-26
5
569 Views
Last Modified: 2014-01-26
Hi

I use conditional formatting to identify duplicates.  This appeared to be working well but I have just discovered the conditional formatting rule is broken if I copy and paste data rather than enter data.

In the attached worksheet a conditional formatting rule has been applied to the range B2:B13.

If I type the values "Text1", "Text2" and "Text1" in cells B3:B5 the duplication is highlighted.
But if I copy and paste the data from cells B17:B19 to cells B7:B9 the duplication is not highlighted.
If I look at the conditional formatting rule, I see it has been modified to =$B$2:$B$6,$B$10:$B$13 i.e. there is a break where I pasted the data.

However, if I paste the data using Paste Special and select Values, without any format, the duplication is identified and highlighted.

The data in cells B17:B19  does not contain any formatting, and even if I clear any formatting from these cells before copy and paste into cells B7:B9 the duplication is not highlighted.

At the moment I am left with having to use Paste Special but wondering if there is an easier method?

Many thanks in advance
Alison
Example-with-duplicates-conditio.xls
0
Comment
Question by:alisonthom
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:Steven Harris
ID: 39810702
The default setting is to keep formatting, in this instance, you are bypassing the the conditional formatting.

Which version of Office are you running?

You can try using Alt > e > s > v > enter
0
 

Author Comment

by:alisonthom
ID: 39810718
Thanks for the quick reply.  I am using Excel 2010.
0
 
LVL 18

Accepted Solution

by:
Steven Harris earned 200 total points
ID: 39810721
You can use the Alt > e > s > v > enter method, or you can also set a QAT item with the preferred paste option.
0
 

Author Closing Comment

by:alisonthom
ID: 39810729
I like the QAT suggestion - a very neat solution indeed.  Thank you!
0
 
LVL 18

Expert Comment

by:Steven Harris
ID: 39810731
Not a problem, and thank you!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question