Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting

Perhaps something along these lines ..
(your subject line was lightly disregarded)

Source data as posted in cols A to C, from row1 down

Put in D1:
=IF(OR(SUMPRODUCT((($A$1:A1=B1)*($B$1:B1=A1)*($A$1 :A1<"")*($B$1:B1<"")))0,SUMPRODUCT((($A$1:A1=A1 )*($B$1:B1=B1)*($A$1:A1<"")*($B$1:B1<"")))1),"d up","")
Copy D1 down as far as required

Col D will check cols A & B and flag duplicates if any, as "dup"

Duplicates will be flagged either way, ie:

either:
x y
y x
(the 2nd line above is a duplicate - as per your post)

or:
r k
r k
(the 2nd line above is also a duplicate - as per normal interp)

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"ansoriano1" wrote:
I have a sheet of data dumped from a SQL query that is used to populate a
report.

Lets say that the data looks like this

A|B|C
1| x |y| Joe
2| r | k| John
3| y| x| Joe

I need a function that can look at the report, and where b1 = a3 and a1=b3,
then c1 is changed from joe to duplicate.

This way, Joe is only counted once, since for my purposes, rows 1 and 3 are
duplicate entries.

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
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 10:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 08:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM


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