Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-01-26
5
Medium Priority
?
698 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

722 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