Count multiple data by date

R

Racorfrank

I have data that increases on a daily basis and is input on the sho
floor from a drop-down list. Some of the data that is collecte
includes day, the type of failure and the corresponding part tha
failed.

For example:
COL_A COL_J COL_H
Date Type of Failure Part # Failed
10/20/2005 Supplier – Porosity 1357 – Gasket
10/20/2005 Internal – Cracked 5678 – O-Ring
10/20/2005 Internal – Split 2345 – Seal
10/20/2005 Internal – Pinched 1234 – Seal
10/20/2005 Internal – Pinched 1234 – Seal
10/20/2005 Internal – Pinched 1234 – Seal
10/20/2005 Internal – Pinched 1234 – Seal
10/21/2005 Internal – Pinched 1234 - Seal
10/21/2005 Internal – Cracked 5678 – O-Ring
10/21/2005 Internal – Cracked 5678 – O-Ring
10/21/2005 Internal – Cracked 5678 – O-Ring
10/21/2005 Internal – Cracked 5678 – O-Ring

I somehow need to develop a formula that will count the types o
failures and the corresponding part number that failed by the day i
occurred. I can do a COUNTIF but it cannot do all that is asked. I als
tried to filter by date then use COUNTIF, but it still looks at all dat
in the column.

Can someone point me in the right direction
 
B

Biff

Hi!

COL_A COL_J COL_H
Date Type of Failure Part # Failed
10/20/2005 Supplier - Porosity 1357 - Gasket

Other than the date, what data is in what column? It looks like the date is
in column A.

What's in column J? Supplier? Supplier - Porosity?

Biff
 
R

Racorfrank

Biff,

Col A contains the "Date" of repair (from a drop down box)

Col J contains the "Type of Failure" (from a drop down box), i.e.
Supplier - Porosity

Col H contains the "Part # Failed" (from a drop down box), i.e. 31496 -
O-Ring

Thanks for your interest!

Frank
 
B

Biff

Hi!

Table:

.....................A....................H....................J.............
1...............Date...............Part #...........Failure Type
2.........10/20/2005.......1234 - Seal......Internal - Pinched

OK!

For the criteria, do you want to count the Part # by using the entire part #
and nomenclature: 1234 - Seal

Or, can you count by using ONLY the numerical portion of the part #: 1234

Same thing for the Failure Type:

Do you want to use the entire description: Internal - Pinched

Or, can you use just Pinched or just Internal?

Based on the table you posted being in the range A1:J13 with the headers in
row 1 and the data starting in row 2:

This example will use just the numeric portion of the part # and just the
"Pinched" portion of the failure type:

So, to count the number of entries for 10/20/2005 with a part # of 1234 and
a failure type of pinched:

Use cells to hold the criteria:

A15 = Date = 10/20/2005
B15 = Part # = 1234
C15 = Failure Type = pinched

=SUMPRODUCT(--(A2:A13=A15),--(ISNUMBER(FIND(B15,H2:H13))),--(ISNUMBER(SEARCH(C15,J2:J13))))

Biff
 

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