Solved

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

Posted on 2014-01-26
5
604 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bar graph 15 43
Re-order columns of data in Excel 3 55
pull a field from a programme into Excel 4 15
Conditional fromatting formula 29 32
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

756 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