Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jasmine
 
Posts: n/a
Default summary report with duplicates

I have a report that lists the following columns:

Month Port# Name
April 123 Smith
April 123 Smith
April 234 Smith
April 345 Taylor
April 456 Taylor
May 567 Cox

I need a summary report from this that counts for each month and name how
many occurences. However, if the port# field is the same it counts it once.
So for April, Smith would have 2, Taylor would have 2. I tried to use a
PivotTable, but can't figure out how to not get it to count 123 twice. Any
suggestions would be greatly appreciated. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default summary report with duplicates

Hi!

Assume your table is in the range A2:C7

G2 = April
H2 = Smith

Array enterd using the key combination of CTRL,SHIFT,ENTER:

=SUM(N(FREQUENCY(IF((A2:A7=G2)*(C2:C7=H2),MATCH(B2 :B7,B2:B7,0)),MATCH(B2:B7,B2:B7,0))0))

Biff

"Jasmine" wrote in message
...
I have a report that lists the following columns:

Month Port# Name
April 123 Smith
April 123 Smith
April 234 Smith
April 345 Taylor
April 456 Taylor
May 567 Cox

I need a summary report from this that counts for each month and name how
many occurences. However, if the port# field is the same it counts it
once.
So for April, Smith would have 2, Taylor would have 2. I tried to use a
PivotTable, but can't figure out how to not get it to count 123 twice. Any
suggestions would be greatly appreciated. Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jasmine
 
Posts: n/a
Default summary report with duplicates

My problem lies in that what shows up in the name column could end up being
up to 300 different entries. I don't want to have to define what all those
entires could be. They will change occasionally as we add or get rid of
employees.

"Biff" wrote:

Hi!

Assume your table is in the range A2:C7

G2 = April
H2 = Smith

Array enterd using the key combination of CTRL,SHIFT,ENTER:

=SUM(N(FREQUENCY(IF((A2:A7=G2)*(C2:C7=H2),MATCH(B2 :B7,B2:B7,0)),MATCH(B2:B7,B2:B7,0))0))

Biff

"Jasmine" wrote in message
...
I have a report that lists the following columns:

Month Port# Name
April 123 Smith
April 123 Smith
April 234 Smith
April 345 Taylor
April 456 Taylor
May 567 Cox

I need a summary report from this that counts for each month and name how
many occurences. However, if the port# field is the same it counts it
once.
So for April, Smith would have 2, Taylor would have 2. I tried to use a
PivotTable, but can't figure out how to not get it to count 123 twice. Any
suggestions would be greatly appreciated. Thanks!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default summary report with duplicates

Use an advanced filter for the unique names and use the copy to another
location option then you just copy the formula for each name.

Biff

"Jasmine" wrote in message
...
My problem lies in that what shows up in the name column could end up
being
up to 300 different entries. I don't want to have to define what all those
entires could be. They will change occasionally as we add or get rid of
employees.

"Biff" wrote:

Hi!

Assume your table is in the range A2:C7

G2 = April
H2 = Smith

Array enterd using the key combination of CTRL,SHIFT,ENTER:

=SUM(N(FREQUENCY(IF((A2:A7=G2)*(C2:C7=H2),MATCH(B2 :B7,B2:B7,0)),MATCH(B2:B7,B2:B7,0))0))

Biff

"Jasmine" wrote in message
...
I have a report that lists the following columns:

Month Port# Name
April 123 Smith
April 123 Smith
April 234 Smith
April 345 Taylor
April 456 Taylor
May 567 Cox

I need a summary report from this that counts for each month and name
how
many occurences. However, if the port# field is the same it counts it
once.
So for April, Smith would have 2, Taylor would have 2. I tried to use
a
PivotTable, but can't figure out how to not get it to count 123 twice.
Any
suggestions would be greatly appreciated. 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
Spreadsheet Summary Report JerryS Excel Worksheet Functions 1 February 4th 06 10:41 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Summary Report (OLAP kind) Kamlesh Charts and Charting in Excel 1 November 10th 05 12:57 AM
How to create summary of expense report? KAE1994 Excel Worksheet Functions 2 July 8th 05 05:52 PM
Can I create an order summary report in Excel? kvo Excel Worksheet Functions 2 April 6th 05 12:37 AM


All times are GMT +1. The time now is 04:25 AM.

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"