Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default how to create the formula for that attached explanation

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default how to create the formula for that attached explanation

=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)

"ddiicc" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default how to create the formula for that attached explanation

Many Thanks Bob and your prompt reply

"Bob Phillips" wrote:

=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)

"ddiicc" wrote in message
...
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




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
formula explanation Hoops Excel Discussion (Misc queries) 0 January 20th 10 03:54 PM
Would like an explanation of a formula: Leo New Users to Excel 4 November 9th 07 03:52 PM
FORMULA EXPLANATION SSJ New Users to Excel 7 July 26th 07 07:03 PM
Formula Explanation Please Ken Excel Discussion (Misc queries) 0 May 1st 07 02:23 PM
Formula Explanation Kirk[_4_] Excel Programming 2 November 24th 03 07:31 PM


All times are GMT +1. The time now is 02:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"