ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   CountA - using two columns of data (https://www.excelbanter.com/excel-discussion-misc-queries/189314-counta-using-two-columns-data.html)

ExcelNewbie

CountA - using two columns of data
 
I have a spreadsheet that looks like this:

Defect Priority Vendor
bug1 1 ACME
bug2 1 JONES
bug3 2 ACME
bug4 1 ACME

I need to be able to summarize the number of bugs for each vendor by priority.

Prirority 1 Priority 2
ACME: 2 ACME: 1
JONES: 1 JONESs: 0

I can't seem to find a function that will let me do it.
--
gm

PCLIVE

CountA - using two columns of data
 
Maybe something like this:

Priority 1
=SUMPRODUCT(--(B2:B10=1),--(C2:C10="ACME"))
=SUMPRODUCT(--(B2:B10=1),--(C2:C10="JONES"))

Priority 2
=SUMPRODUCT(--(B2:B10=2),--(C2:C10="ACME"))
=SUMPRODUCT(--(B2:B10=2),--(C2:C10="JONES"))

HTH,
Paul

--

"excelnewbie" wrote in message
...
I have a spreadsheet that looks like this:

Defect Priority Vendor
bug1 1 ACME
bug2 1 JONES
bug3 2 ACME
bug4 1 ACME

I need to be able to summarize the number of bugs for each vendor by
priority.

Prirority 1 Priority 2
ACME: 2 ACME: 1
JONES: 1 JONESs: 0

I can't seem to find a function that will let me do it.
--
gm




willy

CountA - using two columns of data
 
If you have a large table of this type of data you should learn how to use
PIVOT TABLES, this will give the output you are looking for.

"excelnewbie" wrote:

I have a spreadsheet that looks like this:

Defect Priority Vendor
bug1 1 ACME
bug2 1 JONES
bug3 2 ACME
bug4 1 ACME

I need to be able to summarize the number of bugs for each vendor by priority.

Prirority 1 Priority 2
ACME: 2 ACME: 1
JONES: 1 JONESs: 0

I can't seem to find a function that will let me do it.
--
gm



All times are GMT +1. The time now is 08:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com