• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Pls suggest...

Ajinkya

Member
Hi,


I have a sales person names in cell range B3:B10 and his customer list in cell range C3:C10.

from the sales person names any ones name is in the cell B12, I want his uniqe customer's total count in the cell C12


hence im trying to use formula as per below,

=MATCH(B3:B10,B12)*(SUMPRODUCT(1/COUNTIF(C3:C10,C3:C10)))


but the problem is output is not coming, please suggest….
 
Hi Ajinkya,


Use this:


Code:
=SUM(IF(FREQUENCY(IF(A$1:A$7=E2,MATCH(B$1:B$7,B$1:B$7,0)),ROW(B$1:B$7)-ROW(B$1)+1),1))

[Ctrl+Shift+Enter]


See this file:

http://dl.dropbox.com/u/60644346/Ajinkya_Unique%20Values.xlsx


Regards,

Faseeh
 
Back
Top