Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default Counting Duplicates on two sheets

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Counting Duplicates on two sheets

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default Counting Duplicates on two sheets

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
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
Counting Duplicates Once kevin giblin Excel Worksheet Functions 4 November 24th 09 09:18 PM
Counting duplicates James Excel Discussion (Misc queries) 2 May 6th 08 10:20 PM
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
Counting duplicates Neil Excel Discussion (Misc queries) 11 November 14th 06 11:35 PM
counting duplicates Among Many Sheets, Possible?? Mhz New Users to Excel 5 July 5th 06 02:23 AM


All times are GMT +1. The time now is 03:01 PM.

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

About Us

"It's about Microsoft Excel"