View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
TomPl TomPl is offline
external usenet poster
 
Posts: 342
Default Need help with Counters

Better, use this and copy it down to cell M70:

=SUMPRODUCT(($D$146:$D$1465=A8)*($J$146:$J$1465="1-Yes"))

"tompl" wrote:

You just need to delete ":A70" resulting in:

=SUMPRODUCT((D146:D1465=A8)*(J146:J1465="1-Yes"))

Tom


"Vic" wrote:

I have a list of names from A8 thru A70. For each name I need to put in M8
thru M70 counters of how many occurences of those names from D146 thru D1465
I have. But only count the ones that have "1-Yes" in the corresponding J146
thru J1465.

I am trying to put this one in M8 but it does not work:
=SUMPRODUCT((D146:D1465=A8:A70)*(J146:J1465="1-Yes"))

Please help me to fix it. I need this very urgently.

Thank you.