Count Distinct Items With Multiple Criteria
I was wondering if anyone could point me in the right direction.
I'm looking to count the number of distinct records (text based cells) based on matching criteria from 2 or 3 other columns.
So I have a spreadsheet with a whole bunch of order information with one column being "end user". There are multiple orders for end users. There is another column with the "Rep" and also additional columns with "Purchase period" and "first purchase period"
So
Column A - Customer
Column B - Rep
Column C - Purchase period
Column D - First purchase period
I need to be able to count 2 things:
1. Number of distinct customers (not rows) per rep who purchased in a period -- i.e number of distinct "Customer" records based on "Rep" and "Purchase Period" or total number of customers Rep A sold to in 2010 - Q1
2. Number of new customers per rep / purchase period -- i.e number of distinct "Customer" records based on "Rep" and a correlating "Purchase Period" and first purchase period. or Total number of new customers Rep A sold to in 2010 - Q1
Any help you could provide would great.
Thanks heaps
iWork / Numbers-OTHER, Mac OS X (10.7.5)