PC Review


Reply
Thread Tools Rate Thread

How do I count items based upon two separate values?

 
 
=?Utf-8?B?U291dGh3ZXN0ZXJuIEVyaWM=?=
Guest
Posts: n/a
 
      23rd Jun 2007
How do I get Excel to count the number of times two or more given values
occur together? I have a list of projects and one of the columns is "Area"
and another column is "Size." The "area" column has repeating values and
those values have different corresponding "size" values. How do I get Excel
to count the number of time a given combination of "area" and "size" occurs?
For example, "Far East" and "5-1/2"? There would be multiple "Far East"
entries but I am only interested in the number of time "5-1/2" occurs with
"Far East."

Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RWxrYXI=?=
Guest
Posts: n/a
 
      23rd Jun 2007
The SUMPRODUCT function will work here. Let's assume your Area is in column
A and Size is in column B.

=SUMPRODUCT(--(A1:A100="Far East"),--(B1:B100="5-1/2"))

HTH,
Elkar


"Southwestern Eric" wrote:

> How do I get Excel to count the number of times two or more given values
> occur together? I have a list of projects and one of the columns is "Area"
> and another column is "Size." The "area" column has repeating values and
> those values have different corresponding "size" values. How do I get Excel
> to count the number of time a given combination of "area" and "size" occurs?
> For example, "Far East" and "5-1/2"? There would be multiple "Far East"
> entries but I am only interested in the number of time "5-1/2" occurs with
> "Far East."
>
> Thanks

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count items based on two criteria Harry Flashman Microsoft Excel Discussion 7 8th Oct 2007 11:56 AM
Using SUMPRODUCT to count values in separate columns =?Utf-8?B?UyBTdHVuZWxs?= Microsoft Excel Worksheet Functions 4 19th Oct 2006 11:31 AM
Counting based on values in two separate columns =?Utf-8?B?V2F5bmU=?= Microsoft Excel Worksheet Functions 3 30th Aug 2006 07:43 PM
Count unique values and create list based on these values =?Utf-8?B?dmlwYTIwMDA=?= Microsoft Excel Worksheet Functions 7 5th Aug 2005 01:17 AM
Adding Values Based on a Separate Column =?Utf-8?B?YmluZGVy?= Microsoft Excel Misc 2 14th Feb 2005 07:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 AM.