PC Review


Reply
Thread Tools Rate Thread

counting duplicates Among Many Sheets, Possible??

 
 
Mhz
Guest
Posts: n/a
 
      2nd Jul 2006

Hi, I have spent countless days trying to find a formula that
will allow me to find duplicates across Multiple Sheets within a single
workbook. All resources I have checked only allow duplicate finding
formulas for A single Sheet.

I have multiple sheets 1 to 31 representing a month in which I have a
column of phone numbers. i want to be able to know from sheet to sheet
(Day to Day) if I may be retyping a number from a previous day. Thats
why I need to have a formula to check acrosss the sheets for duplicate
numbers...

even better if I can have the duplicates displayed on a new sheet...

Any formula or help would be much appreciated..Thanks In Advance..


--
Mhz
------------------------------------------------------------------------
Mhz's Profile: http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=557662

 
Reply With Quote
 
 
 
 
Franz Verga
Guest
Posts: n/a
 
      3rd Jul 2006
Mhz wrote:
>> confused: Hi, I have spent countless days trying to find a formula
>> that

> will allow me to find duplicates across Multiple Sheets within a
> single workbook. All resources I have checked only allow duplicate
> finding formulas for A single Sheet.
>
> I have multiple sheets 1 to 31 representing a month in which I have a
> column of phone numbers. i want to be able to know from sheet to
> sheet (Day to Day) if I may be retyping a number from a previous day.
> Thats why I need to have a formula to check acrosss the sheets for
> duplicate numbers...
>
> even better if I can have the duplicates displayed on a new sheet...
>
> Any formula or help would be much appreciated..Thanks In Advance..



Maybe you could find usefule this page at Chip Pearson's site:

http://www.cpearson.com/excel/duplic...tingDuplicates

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      4th Jul 2006
Here's an approach using non-array formulas which dynamically gathers & lists
all tel #s from all source sheets (identically structured) into a single col
in a summary sheet, then flags duplicate tel#s (if any) and extracts a
"master" list of unique tel#s for ref.

A sample construct is available at:
http://www.savefile.com/files/5448014
Dynamic data list fr 31 shts n Flag dups n Extract uniques.xls

Assume tel #s would be listed within A1:A10* in 3 source sheets named simply
as: 1, 2, 3. *max expected data extent is say: 10 rows per sheet

In a new sheet: Summary (say),

Col headers placed in A1:C1, and in E1
In A1: In sheet
In B1: Tel# List
In C1: Dup Tel#?
In E1: List of unique Tel# (from all source sheets)

In A2:
=INT((ROW(A1)-1)/10)+1

In B2:
=OFFSET(INDIRECT("'"&INT((ROW(A1)-1)/10)+1&"'!A1"),MOD(ROW(A1)-1,10),)

Note: Just change the "10" in the formulas in A2 and B2 to a figure equal to
the max expected number of rows of source data

In C2:
=IF(B2=0,"",IF(COUNTIF($B$2:B2,B2)>1,"Dup",""))

In D2:
=IF(B2=0,"",IF(COUNTIF($B$2:B2,B2)>1,"",ROW()))
(Leave D1 empty)

In E2:
=IF(ROW(A1)>COUNT(D),"",INDEX(B:B,MATCH(SMALL(D,ROW(A1)),D,0)))

Select A2:E2, fill down to E31, to cover the max expected aggregated extent
of source data. In this example, the max is 10 rows per sheet x 3 sheets = 30
rows total. (Extend the formulas fill to suit your actual aggregate)

Cols A auto-labels sequentially the sheetnames: 1, 2, 3 (repeating
automatically each sheetname for 10 rows) while col B lists the corresponding
tel# entries within A1:A10 from each sheet. Zeros will be returned in col B
for any empty source cells.

Col C will flag duplicate tel #s within col B, if any, for reference ("Dup").
Just autofilter on C1 as needed. To count the # of duplicates, just use in
any cell (other than within col C): =COUNTIF(C:C,"Dup")

Col D is a criteria col for col E to dynamically extract a uniques list of
tel #s from col B (Col D can be hidden away)

Col E extracts the List of unique Tel# for reference
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mhz" wrote:
> Hi, I have spent countless days trying to find a formula that
> will allow me to find duplicates across Multiple Sheets within a single
> workbook. All resources I have checked only allow duplicate finding
> formulas for A single Sheet.
>
> I have multiple sheets 1 to 31 representing a month in which I have a
> column of phone numbers. i want to be able to know from sheet to sheet
> (Day to Day) if I may be retyping a number from a previous day. Thats
> why I need to have a formula to check acrosss the sheets for duplicate
> numbers...
>
> even better if I can have the duplicates displayed on a new sheet...
>
> Any formula or help would be much appreciated..Thanks In Advance..
>
>
> --
> Mhz
> ------------------------------------------------------------------------
> Mhz's Profile: http://www.excelforum.com/member.php...o&userid=35980
> View this thread: http://www.excelforum.com/showthread...hreadid=557662
>
>

 
Reply With Quote
 
Mhz
Guest
Posts: n/a
 
      4th Jul 2006

Thanks for the replies... Quite interesting Max and very detailed thanks
alot.. I have multiple columns with names, phone remarks, etc on each
sheet, so I think the master Page will be more ideal for capturing the
dupes. Some of the programing you wrote is a bit over my head at the
time, but I will study it... I am still in an old world of BASIC
programming and havn't quite had the time to get up to par on Visual
Basic. But thanks anyhow, I'll see what I can put together on the
wonderful info you have given me... Thanks Much


--
Mhz
------------------------------------------------------------------------
Mhz's Profile: http://www.excelforum.com/member.php...o&userid=35980
View this thread: http://www.excelforum.com/showthread...hreadid=557662

 
Reply With Quote
 
=?Utf-8?B?bTk2?=
Guest
Posts: n/a
 
      4th Jul 2006
Try Duplicate Master:
http://members.iinet.net.au/~brettdj/

As Application scope you can either choose Entire workbook or choose Range
and click on the different sheets or sheets/columns which you want to search.

Works great!

BR,
 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      5th Jul 2006
You're welcome, Mhz !
Thanks for the feedback ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mhz" wrote:
> Thanks for the replies... Quite interesting Max and very detailed thanks
> alot.. I have multiple columns with names, phone remarks, etc on each
> sheet, so I think the master Page will be more ideal for capturing the
> dupes. Some of the programing you wrote is a bit over my head at the
> time, but I will study it... I am still in an old world of BASIC
> programming and havn't quite had the time to get up to par on Visual
> Basic. But thanks anyhow, I'll see what I can put together on the
> wonderful info you have given me... Thanks Much

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Duplicates on two sheets Greg Microsoft Excel Programming 2 2nd Nov 2009 04:48 PM
counting function but not double counting duplicates =?Utf-8?B?SlJE?= Microsoft Excel Worksheet Functions 2 7th Nov 2007 06:43 PM
Counting Duplicates Pam Microsoft Access Queries 10 26th Oct 2006 08:41 PM
Counting and duplicates =?Utf-8?B?SmVmZg==?= Microsoft Excel Misc 1 23rd Oct 2006 03:18 PM
Counting duplicates\Frequency of duplicates A.D. Microsoft Excel Worksheet Functions 3 30th Jun 2004 04:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:09 PM.