A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Need conditional formatting help!!!



 
 
Thread Tools Display Modes
  #1  
Old July 12th 12, 02:58 AM
NancyX NancyX is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2012
Posts: 1
Default Need conditional formatting help!!!

Someone help me about the excel problem? Really need your help!! Thank you!!

My logic: colour the duplicate values in column F, except that the corresponding value in G column = 330.

So I wrote the following formulas in conditional formatting and get the result as follows.

Rule1: formula: =G2=330, applies to $F$2:$F$11
Rule2: duplicate values, applies to $F$2:$F$11

F G
2 240 330
3 960 1320
4 4800 6600
5 32160 44220
6 240 300
7 10 20
8 10 20

But what I want the result is as follows. Since G2=330, so 240 (F2) will be coloured blank, then F6 should be coloured blank since the value in F2 (240) = Value in F2 (240).
F G
2 240 330
3 960 1320
4 4800 6600
5 32160 44220
6 240 300
7 10 20
8 10 20
Ads
  #2  
Old July 12th 12, 09:17 PM posted to microsoft.public.excel.worksheet.functions
Claus Busch
external usenet poster
 
Posts: 936
Default Need conditional formatting help!!!

Hi Nancy,

Am Thu, 12 Jul 2012 01:58:15 +0000 schrieb NancyX:

> But what I want the result is as follows. Since G2=330, so 240 (F2) will
> be coloured blank, then F6 should be coloured blank since the value in
> F2 (240) = Value in F2 (240).
> F G
> 2 240 330
> 3 960 1320
> 4 4800 6600
> 5 32160 44220
> 6 240 300
> 7 10 20
> 8 10 20


select F2:F8 and paste following formula to the CF:
=(COUNTIF($F$2:F2,F2)>1)*(G2<>330)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
 




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
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 11:21 AM.


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