Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Conditional format

Hello,

I would like to set up conditional formatting for the following:

If the value in Row n, Column A equals the value in the row above it (n-1),
Column A--AND the value in row n, Column B is blank--AND the value in row
(n-1), Coumn B is NOT blank--then Row n, Column B should be highlighed.

In the example below: B3 should be higlighted, since A3 = A2, AND B3 is
blank, and B2 is NOT blank.

B5 is not highlighted, because B5 < B4-- and B6 is not highlighted, becuase
even though B6 = B5, B5 is blank.

A B
1 60 95
2 60 95
3 60
4 60
5 61
6 61
7 61



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Conditional format

--Select the range B2:B10..You can ignore cell B1 since that will never
satisfy the condition. Please note that in the selection B2 is the active
cell and apply the below formula..
=AND(A1=A2,B1<"",B2="")

If this post helps click Yes
---------------
Jacob Skaria


"richzip" wrote:

Hello,

I would like to set up conditional formatting for the following:

If the value in Row n, Column A equals the value in the row above it (n-1),
Column A--AND the value in row n, Column B is blank--AND the value in row
(n-1), Coumn B is NOT blank--then Row n, Column B should be highlighed.

In the example below: B3 should be higlighted, since A3 = A2, AND B3 is
blank, and B2 is NOT blank.

B5 is not highlighted, because B5 < B4-- and B6 is not highlighted, becuase
even though B6 = B5, B5 is blank.

A B
1 60 95
2 60 95
3 60
4 60
5 61
6 61
7 61



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 Format overwrighting previous conditional format davethewelder Excel Programming 2 April 10th 08 04:01 PM
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Multiple conditional on conditional format formula Frank Kabel Excel Programming 1 July 27th 04 06:24 PM
Multiple conditional on conditional format formula Bob Phillips[_7_] Excel Programming 0 July 27th 04 05:30 PM
Keep format after paste from other worksheets - conditional format or EnableControl solution doesn't work No Name Excel Programming 0 May 3rd 04 12:22 PM


All times are GMT +1. The time now is 02:04 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"