Prev Previous Post   Next Post Next
  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Problem

Just to complete the thread for the archives, the OP wanted conditional
formatting for any duplicate value in a row or any two of the values he gave
below in a row.

Two suggestions, with 2 conditional formats:

Any duplicate value:
=AND(B12<"",COUNTIF($B12:$U12,B12)1)

Any two of the values below:
=AND(B12<"",SUMPRODUCT(--(B12=$AA$1:$AA$7))=1,SUMPRODUCT(--($B12:$U12=$AA$1:$AA$7))1)

Or both conditions in one formula:
=AND(B12<"",OR(COUNTIF($B12:$U12,B12)1,AND(SUMPR ODUCT(--(B12=$AA$1:$AA$6))=1,SUMPRODUCT(--($B12:$U12=$AA$1:$AA$6))1)))

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"damanwitdaplan" wrote in message
...
I also need to make sure that '10', '20', '30', '-5', '-10', '-15' only
appears once in the cells B12:16, B26:31. Any combonation of numbers (i.e.
'10' in B14 and '-15' in B26) also needs to be highlighted. Thanks again
for
your help!



 
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
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


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