Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Need help with Counters

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Need help with Counters

Try:
=SUMPRODUCT((ISNUMBER(MATCH(D14:D1465,A8:A70,0))*( J14:J1465="1-Yes")))
Success? hit the YES below
--
Max
Singapore
---
"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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default Need help with Counters

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.

  #4   Report Post  
Posted to microsoft.public.excel.misc
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.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Vic Vic is offline
external usenet poster
 
Posts: 117
Default Need help with Counters

I used this =SUMPRODUCT(($D$146:$D$1465=A8)*($J$146:$J$1465="1-Yes")) copied
that down from M8 thru M70, and I still get zeroes in M8 thru M70.
What is the fix for this?
Thanks

"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.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Need help with Counters

If you get zeroes, that tells you that you haven't satisfied your
conditions.
If you are struggling with the debugging, put =D146=A$8 in one column, and
=J146="1-Yes" in another column. Copy those formulae down and see whether
your TRUE and FALSE results agree with what you expect. If you have strings
that look identical but aren't returning the expected result, look out for
spare spaces or non-breaking spaces or other non-printing characters. If
you think you've got "1-Yes" in column J, check whether =LEN(J146) returns
5.
--
David Biddulph


"Vic" wrote in message
...
I used this =SUMPRODUCT(($D$146:$D$1465=A8)*($J$146:$J$1465="1-Yes"))
copied
that down from M8 thru M70, and I still get zeroes in M8 thru M70.
What is the fix for this?
Thanks

"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.



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
Big Small....Bright Dark.....Split? Counters 23Hitamn Excel Discussion (Misc queries) 1 August 31st 07 01:54 AM
Date Counters Rachael Excel Worksheet Functions 0 March 6th 07 03:46 PM
INVOICE COUNTERS omega25 Excel Worksheet Functions 0 November 16th 05 10:20 PM
INVOICE COUNTERS omega25 Excel Worksheet Functions 1 November 16th 05 10:19 PM
Counters Paul Excel Worksheet Functions 2 February 11th 05 01:52 PM


All times are GMT +1. The time now is 11:39 PM.

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"