Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 28
Default Conditional formatting equal values 2007

Hi

I want to do 3 lots of conditional formatting.
1. Every other row has a bottom border - done using the =MOD(ROW(),2)=0
formula - this works fine
2. In one column a cell needs to be in red if it is the same as the cell
above. - selected the column and used =F1=F2 but whichever way round i enter
this it is always the top one which is red not the bottom one. Also loose the
bottom border formatting from condition 1
2. Another column has text in red if it says 'Service' - straight forward
apart from again losing the bottom border.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Conditional formatting equal values 2007

Phippsy,

The solution for your first #2 is to have F2 be the active cell when you apply the CF.

The solution to loosing the bottom border is to use

=AND(MOD(ROW(),2)=0,F1=F2)

as your first CF, with shading and border
then use the other two (just border, and just shading) as your second and third CFs.

A similar solution will work for your second #2 - for example

=AND(MOD(ROW(),2)=0, K2 = "Service")

HTH,
Bernie
MS Excel MVP


"Phippsy" wrote in message
...
Hi

I want to do 3 lots of conditional formatting.
1. Every other row has a bottom border - done using the =MOD(ROW(),2)=0
formula - this works fine
2. In one column a cell needs to be in red if it is the same as the cell
above. - selected the column and used =F1=F2 but whichever way round i enter
this it is always the top one which is red not the bottom one. Also loose the
bottom border formatting from condition 1
2. Another column has text in red if it says 'Service' - straight forward
apart from again losing the bottom border.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 28
Default Conditional formatting equal values 2007

Great thanks



"Bernie Deitrick" wrote:

Phippsy,

The solution for your first #2 is to have F2 be the active cell when you apply the CF.

The solution to loosing the bottom border is to use

=AND(MOD(ROW(),2)=0,F1=F2)

as your first CF, with shading and border
then use the other two (just border, and just shading) as your second and third CFs.

A similar solution will work for your second #2 - for example

=AND(MOD(ROW(),2)=0, K2 = "Service")

HTH,
Bernie
MS Excel MVP


"Phippsy" wrote in message
...
Hi

I want to do 3 lots of conditional formatting.
1. Every other row has a bottom border - done using the =MOD(ROW(),2)=0
formula - this works fine
2. In one column a cell needs to be in red if it is the same as the cell
above. - selected the column and used =F1=F2 but whichever way round i enter
this it is always the top one which is red not the bottom one. Also loose the
bottom border formatting from condition 1
2. Another column has text in red if it says 'Service' - straight forward
apart from again losing the bottom border.




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
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
Less than, Greater Than, equal to conditional formatting Lee West Excel Worksheet Functions 4 June 12th 09 08:37 AM
Problem with Conditional Formatting and Greater than or equal too Amanda Excel Discussion (Misc queries) 1 May 29th 08 05:17 PM
Conditional formatting based on an equal value in another workshee Jack New Users to Excel 1 May 19th 08 08:50 AM
Values w/conditional formatting Fred Timmons Excel Worksheet Functions 7 January 4th 05 03:31 AM


All times are GMT +1. The time now is 10:21 AM.

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

About Us

"It's about Microsoft Excel"