Count occurences from one worksheet to another with "IF" Criteria

T

T. Valko

Try this:

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(ISNUMBER(Sheet1!I1:I10)),--(Sheet1!I1:I10>0))

If column I will contain only numbers or empty cells then you can eliminate
the ISNUMBER test.

=SUMPRODUCT(--(Sheet1!A1:A10="ABCD"),--(Sheet1!H1:H10="Dummy"),--(Sheet1!I1:I10>0))
 
J

jeannie v

Thank you, Biff: This works really good, but I still have the same problem
with it....There are 105 records but this formula only results to
104....There is one record that is a 2 Count and all the other records are a
1 Count....It appears that it is only extracting and counting the 1
Counts....Do you have any suggestions?

Thank you for your help,
 
J

jeannie v

Hi Biff: My bad.....I think I found the error....It seems to work
perfectly....If I have any other problems, I will post again...

Thank you for your expertise....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top