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

x
?
Solved

Copying Conditional Formatting in Excel 2010

Posted on 2014-03-03
5
Medium Priority
?
610 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

670 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