PC Review


Reply
Thread Tools Rate Thread

How do I copy conditional formatting that changes lines

 
 
=?Utf-8?B?cnNtaXRo?=
Guest
Posts: n/a
 
      20th Sep 2007
Hi there

I would like to copy conditional formatting in one cell (i.e. that says
format C1 if is isn't equal to A1) to another row - say row 2. Instead of the
conditional formatting now saying if C2 isn't equal to A@ then format, it
just keeps it referring to A1 as in the first formula.

Is there any way to get it to change the row number accordingly, (as excel
does with other regular formulas) rather that having to go into each cell
individually and changing the numbers?

Any help would be greatly appreciated!
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      20th Sep 2007
Are you asking how to (easily) make the conditional formatting for each cell
in Column 2 be conditional on its value not being equal to the value in A1?
Click the "C" in the column header to select the entire column, select
Format/ConditionalFormatting from Excel's menu, select "Formula Is" from the
first drop down and place this formula in the second field...

=AND(I1<>"",I1<>$A$1)

then select a format condition and, finally, OK your way back to the
spreadsheet. The above formula makes blank cells and cells with the same
value as A1 remain non-formatted; however, any cells with a value different
from A1 will be formatted.

Rick

> I would like to copy conditional formatting in one cell (i.e. that says
> format C1 if is isn't equal to A1) to another row - say row 2. Instead of
> the
> conditional formatting now saying if C2 isn't equal to A@ then format, it
> just keeps it referring to A1 as in the first formula.
>
> Is there any way to get it to change the row number accordingly, (as excel
> does with other regular formulas) rather that having to go into each cell
> individually and changing the numbers?
>
> Any help would be greatly appreciated!


 
Reply With Quote
 
David McRitchie
Guest
Posts: n/a
 
      20th Sep 2007
You would have to put the conditional format formula into cell C2.
and it would be the active cell when you code the formula.
http://www.mvps.org/dmcritchie/excel/condfmt.htm
--
HTH,
David McRitchie, Microsoft MVP -- Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm


"rsmith" <(E-Mail Removed)> wrote in message news:BD32690A-5578-4F7A-A450-(E-Mail Removed)...
> Hi there
>
> I would like to copy conditional formatting in one cell (i.e. that says
> format C1 if is isn't equal to A1) to another row - say row 2. Instead of the
> conditional formatting now saying if C2 isn't equal to A@ then format, it
> just keeps it referring to A1 as in the first formula.
>
> Is there any way to get it to change the row number accordingly, (as excel
> does with other regular formulas) rather that having to go into each cell
> individually and changing the numbers?
>
> Any help would be greatly appreciated!

 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      20th Sep 2007
You need to look at the difference between relative and absolute addressing,
and adjust the $ symbols accordingly.
--
David Biddulph

"rsmith" <(E-Mail Removed)> wrote in message
news:BD32690A-5578-4F7A-A450-(E-Mail Removed)...
> Hi there
>
> I would like to copy conditional formatting in one cell (i.e. that says
> format C1 if is isn't equal to A1) to another row - say row 2. Instead of
> the
> conditional formatting now saying if C2 isn't equal to A@ then format, it
> just keeps it referring to A1 as in the first formula.
>
> Is there any way to get it to change the row number accordingly, (as excel
> does with other regular formulas) rather that having to go into each cell
> individually and changing the numbers?
>
> Any help would be greatly appreciated!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COPY conditional formatting aries_tys11 Microsoft Excel Discussion 0 5th Jun 2008 10:47 AM
Conditional formatting of lines in a chart =?Utf-8?B?am9ubnk=?= Microsoft Excel Charting 2 9th Jul 2007 04:12 AM
Conditional formatting of lines on charts? Zerex71 Microsoft Excel Discussion 2 8th Sep 2006 10:30 AM
conditional formatting for multiple lines using similar criteria? I Am Baltimore Microsoft Excel Worksheet Functions 2 3rd Aug 2006 09:26 PM
Conditional Formatting - Drawing Lines Between Sorted Groups Sam via OfficeKB.com Microsoft Excel Misc 2 26th May 2006 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:34 AM.