View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin McCartney
 
Posts: n/a
Default Counting unique values with criteria

Hi Dav,

Unfortunately this doesn't help because the sample data is was just to show
problem that I have, the real data contains several thousand rows so I can't
set the data range individualy for each employee.
Thanks any way

ciao
KM

"Dav" wrote:


Try something like

=SUMPRODUCT(((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))*(C1:C8="employee1"))

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=534492