How to count COl3 with criteria in COl 1

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to check for a value in column 1, and if true, count the value in the
same row in column 3.

Is it possible or feasible with Countif, or should I loop through the array
and set a counter etc.

Thanks
 
I thought that SUmif couldn't be made to simply count. I need to count
ocurrances , not sum them up. I can devide the sum by number oof occurances
since I don't know how namy there will be and also, the numbers vary wildly.
 
=SUMIF(A:A,val,C:C)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
You can use SUMPRODUCT to count values in column C, where there is a
value in the same row in column A:

=SUMPRODUCT(--(A1:A17<>""),--(C1:C17<>""))
 
You said count the value, that is why Trevor suggested SUMIF. I thought the
same thing. Also, if you want to count them, which will you count, the
number in column A or column CO. Your requirement doesn't make sense to me.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Back
Top