PC Review


Reply
Thread Tools Rate Thread

Counting Duplicates on two sheets

 
 
Greg
Guest
Posts: n/a
 
      2nd Nov 2009
I have two sheets that are the same except for the sheet names, in one
column on both sheets B8:B107 can contain multiple duplicates. i have a
column that uses this code to count how many duplicates of each record.
=""& COUNTIF($B$8:B8,B8)
What formula do i need to add that will count the duplicates that occur on
sheet one and sheet two.

Also on another note using this code is there some reason why i can't
conditional format those cells and a zero value appears. i do have it to not
show zero values as it hides other calculated cells on these sheets.

Many Thanks in Advance
Greg
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      2nd Nov 2009
The below formula will count the number of entries colB for both the sheets.

=SUMPRODUCT(COUNTIF(INDIRECT("'"&{"sheet1","sheet2"}&"'!B:B"),B8))

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


"Greg" wrote:

> I have two sheets that are the same except for the sheet names, in one
> column on both sheets B8:B107 can contain multiple duplicates. i have a
> column that uses this code to count how many duplicates of each record.
> =""& COUNTIF($B$8:B8,B8)
> What formula do i need to add that will count the duplicates that occur on
> sheet one and sheet two.
>
> Also on another note using this code is there some reason why i can't
> conditional format those cells and a zero value appears. i do have it to not
> show zero values as it hides other calculated cells on these sheets.
>
> Many Thanks in Advance
> Greg

 
Reply With Quote
 
Greg
Guest
Posts: n/a
 
      2nd Nov 2009
It does count duplicates on both sheets, like i described on first post.
I'm very sorry; I don't think i explained myself clear enough, i "assumed"
the formula would explain.
i was looking for a formula to count incremental like the formula i was
using.
if on sheet 1 there were two duplicates, in this column there would be a 1
and 2. if on sheet 2 i get that same duplicate, i would get 3 then 4, etc...
when sheet one "day one" is complete no more information will go on that
page. So Sheet 2 "day two" would pick up where sheet 1 left off.

I'm very sorry for not explaining myself clear enough. and hope this post
doesn't sound rude. it surly wasn't meant to be if it does.

Thanks Again
Greg

"Jacob Skaria" wrote:

> The below formula will count the number of entries colB for both the sheets.
>
> =SUMPRODUCT(COUNTIF(INDIRECT("'"&{"sheet1","sheet2"}&"'!B:B"),B8))
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "Greg" wrote:
>
> > I have two sheets that are the same except for the sheet names, in one
> > column on both sheets B8:B107 can contain multiple duplicates. i have a
> > column that uses this code to count how many duplicates of each record.
> > =""& COUNTIF($B$8:B8,B8)
> > What formula do i need to add that will count the duplicates that occur on
> > sheet one and sheet two.
> >
> > Also on another note using this code is there some reason why i can't
> > conditional format those cells and a zero value appears. i do have it to not
> > show zero values as it hides other calculated cells on these sheets.
> >
> > Many Thanks in Advance
> > Greg

 
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 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 Among Many Sheets, Possible?? Mhz Microsoft Excel New Users 5 5th Jul 2006 02:23 AM
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.