Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-01-26
5
Medium Priority
?
742 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 800 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

972 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