Solved

Copying Conditional Formatting in Excel 2010

Posted on 2014-03-03
5
605 Views
Last Modified: 2014-03-03
Supposedly, you can copy conditional formatting from row to row when using a formula as your conditional format, but I can't seem to get it to work without modifying my rules in every single row. I keep reading that you should be able to make some of your references relative and then copy down, but it's not working for me.  I have a sample attached.  

What I want to do is if the first cell in the row is blank, I want it to use a fill color to fill in Columns A through E.  If the first cell is NOT blank, then I want it to use a different fill color in Columns A through E.  So I want to set this formula in Row 1, and then copy it down several rows without having to modify the rules in each row.  But whenever I modify my conditional formatting to be relative for either the formula or the "Applies to" part, then the conditional formatting doesn't work right.  

Please let me know what I'm doing wrong.  Thanks.
CONDITIONAL-FORMATTING-ISSUE.xlsx
0
Comment
Question by:esu4236
[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
  • 4
5 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39900569
Change the conditional formats to:

=$A1=""

and

=$A1<>""

(notice: I removed $ from before the 1)

and change the Applies to ranges to cover whole range of interest...

e.g.

=$A$1:$E$3

or =$A:$E  (if you want entire columns)
0
 

Author Comment

by:esu4236
ID: 39900865
Okay I did that, but now how do I copy this conditional formatting to my other rows?  Because when I copied the conditional formatting using the Format Painter, it changed the "Applies to" to the cells that I had selected to copy into.  So my "Applies to" changed from $A$1:$E$3 to $A$4:$A$17. It did not change relative to the row ($A$4:$E$4 and so on). I tried using Paste Special, Formatting, but that didn't work either.

Getting closer.
0
 

Author Comment

by:esu4236
ID: 39900873
I uploaded the edited file so you can see what it did when I copied the conditional formatting down.
CONDITIONAL-FORMATTING-ISSUE.xlsx
0
 

Author Comment

by:esu4236
ID: 39900879
Oh, I think I got it.  I had to highlight the cells in columns B through E when copying the conditional formatting.  I think it's working right now.  I'm going to test a little more just to make sure.
0
 

Author Closing Comment

by:esu4236
ID: 39901206
Thanks for your help and such quick response.  It's working like a charm!!  Thanks again!!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

617 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