how to create the formula for that attached explanation

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

Guest

Hi Professionals,

I have 2 columns of raw data, column A (code), colum B (nest).
Could you help me to write a formula that will count the quantity
that meets both criterias which the code and nest stated?

Code Nest Qty
9000 CBRNM1 ??
9000 CBLNM1 ??
3002 CBRNM1 ??
3002 CBLNM1 ??
3001 CBRNM1 ??
3001 CBLNM1 ??

Raw datas :-
Code Nest
9000 CBRNM1
9000 CBLNM1
9000 CBRNM1
9000 CBRNM1
9000 CBLNM2
9000 CBRNM2
9000 CBLNM1
9000 CBLNM1
9000 CBLNM1
3002 CBLNM1
3002 CBRNM1
3002 CBLNM1
3002 CBLNM1
3002 CBLNM1
3002 CBRNM1
3002 CBLNM1
3002 CBRNM1
3001 CBRNM1
3001 CBRNM1
3001 CBRNM1
3001 CBRNM1
3001 CBRNM1
3001 CBRNM1
3001 CBLNM1
 
=SUMPRODUCT(--($A$2:$A$200=9000),--($B$2:$B$200="CBRNM1"))

of course you can put the test values in cells and compare against those.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Many Thanks Bob and your prompt reply

Bob Phillips said:
=SUMPRODUCT(--($A$2:$A$200=9000),--($B$2:$B$200="CBRNM1"))

of course you can put the test values in cells and compare against those.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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