MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Mar 30th, 2004, 06:42 PM   #1
Warminster
 
Join Date: Jun 2002
Location: Philadelphia
Posts: 39
Default Conditional Formatting Questions

I have a list where column A is the category type. Each line lists the category type. When the category changes, I need a line to be drawn between the two categories. I've set up a conditional format uses the formula

=NOT($A2=$A1)

to distinguish where the current cell differs from the cell above and to apply a top border to the cell. This effectively draws a line between categories. I've copied this format over to the columns to the right and it draws the line correctly.

However, I have a column that has existing color highlights. When I try to copy this conditional format to the column, it pastes over the other color formatting as well.

I have two questions.

1) How can I paste only conditional formatting and leave all the other formatting intact?

2) How can I convert conditional formatting into standard formatting? I.e. I want to leave the results of the conditional formatting intact, but have the format actually no longer be conditional.
Warminster is offline   Reply With Quote
Old Mar 30th, 2004, 06:46 PM   #2
Zack Barresse
MrExcel MVP
 
Zack Barresse's Avatar
 
Join Date: Dec 2003
Location: Oregon, USA
Posts: 9,549
Default

1) copy -> paste special -> formats.

2) i have no idea! that would be cool though!

hth
__________________
Regards,
Zack Barresse

All Excel Functions
(If you would like comments in any code, please say so.)
Zack Barresse is offline   Reply With Quote
Old Mar 30th, 2004, 11:29 PM   #3
Warminster
 
Join Date: Jun 2002
Location: Philadelphia
Posts: 39
Default Re: Conditional Formatting Questions

Unfortunately when I use "copy -> paste special -> formats" it pastes the color from the column I am copying, which has no color. This erases the existing color formatting that exists in the cell.
Warminster is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On

Forum Jump


All times are GMT +1. The time now is 01:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.