Individual count of Pours base on criteria

NZAS

Board Regular
Joined
Oct 18, 2012
Messages
117
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi
I am looking for a formula to give the total count of individual pours from a column that has multiples of the same values base on the criteia in cell xx. The count formua I have tried gives the total of all pour not the individual count
Below is some data and what I am looking for re an answer from a formula
Count forIndividul pours = 2
Criteria is usingel A21 (F378)
The formula I have tried give a Total of all pours (6) that meets the crteria and not the indivual count for pours (2)

Pour Product
49767 2F378
51135 2F378
51135 2F378
51136 2F379
51136 2F379
51135 2F378
51135 2F378
51135 2F378

Cheers
NZAS
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi
I am looking for a formula to give the total count of individual pours from a column that has multiples of the same values base on the criteia in cell xx. The count formua I have tried gives the total of all pour not the individual count
Below is some data and what I am looking for re an answer from a formula
Count forIndividul pours = for product 2F378 is 2
Criteria is using cell B2 in this case (2F378)
I my not have explaine very well in earlier request
Here I am wanting to count the number of casts numbers that are product 2F378 but not where numbers have been duplicated here it hould return 2 as there are duplicates of the same cast number for the product
The formula I have tried give a Total of all pours (6) that meets the crteria and not the indivual count for pours (2)

Column H Column V
Pour Product
49767 2F378
51135 2F378
51135 2F378
51136 2F379
51136 2F379
51135 2F378
51135 2F378
51135 2F378

Cheers
NZAS
 
Upvote 0
Try:

=SUM(SIGN(FREQUENCY(IF(V2:V9=B2,MATCH(H2:H9,H2:H9,0)),ROW(H2:H9)-ROW(H2)+1)))

confirmed by pressing Control+Shift+Enter.
 
Last edited:
Upvote 0
Solution
Thanks Eric

Now able to update value in H2 with new product and get correct answer for the number of pours that meet the crteria (H2)

Cheers
NZAS
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top