Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default help with conditional formatting

I have a very large list of cases. I have put codes in columns N and O to
determine if the cases need to be listed in a separate list. For example,
the main list is of F cases. If the client also has an A case, a "1" or "2"
is placed in column N, and if there is a "T" case, a "1" or "2" is placed in
column O.

Is there a way to use conditional formatting so that if the cell in either
column N or O contains a "1" or a "2", all of the other cells in the row
(A:M) will be formatted a certain way (for example, all cells colored red or
the font changed to white, etc.)?

Also, is there any way in Visual Basic to cut the formatted rows and paste
them in separate worksheets? For example, if row 36 also has an "A" case,
can it be formatted, then actually cut and pasted in another worksheet
entitled "A Cases", and likewise for other rows that have "A" or "T" cases?

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 181
Default help with conditional formatting

I can help with the c/f aspect. I'm assuming 2007.

If data is in row 1

Highlight a1:m1
Home tab - cond formatting
New rule
Use formula to determine which cells to format
Input =N1=1
format
fill red and font white
Ok

That's a simple way to get the row to perform as you want it when N1 has 1.
I don't know how to get the one formula to accept 1 & 2 for each cell but if
nobody comes up with it you can do as I did and simply format each of the two
cells twice as required.
--
Russell Dawson
Excel Student

Please hit "Yes" if this post was helpful.


"Bradly" wrote:

I have a very large list of cases. I have put codes in columns N and O to
determine if the cases need to be listed in a separate list. For example,
the main list is of F cases. If the client also has an A case, a "1" or "2"
is placed in column N, and if there is a "T" case, a "1" or "2" is placed in
column O.

Is there a way to use conditional formatting so that if the cell in either
column N or O contains a "1" or a "2", all of the other cells in the row
(A:M) will be formatted a certain way (for example, all cells colored red or
the font changed to white, etc.)?

Also, is there any way in Visual Basic to cut the formatted rows and paste
them in separate worksheets? For example, if row 36 also has an "A" case,
can it be formatted, then actually cut and pasted in another worksheet
entitled "A Cases", and likewise for other rows that have "A" or "T" cases?

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"