Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Count if in different coulme

i have the following data
A B C D
1 aa 11 12 15
2 bb 15 18 20
3 aa 11 19 20
4 aa 12 20 21

how can i count how many times (aa & 11) togather in the array a1:d4 ?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Count if in different coulme

Do you want to count the below example as 2 or 1?

1 aa 11 12 11


If the above would be counted as 2:

=SUMPRODUCT((A1:A4="aa")*(B1:D4=11))

If the above would be counted as 1:

=SUMPRODUCT(--(A1:A4="aa"),--(MMULT(--(B1:D4=11),{1;1;1})0))

Biff

"osaka78" wrote in message
...
i have the following data
A B C D
1 aa 11 12 15
2 bb 15 18 20
3 aa 11 19 20
4 aa 12 20 21

how can i count how many times (aa & 11) togather in the array a1:d4 ?



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
Need formula to count spinoffs jamescarvin Excel Worksheet Functions 1 July 14th 06 04:07 PM
Subtotals by count PineRest Excel Discussion (Misc queries) 1 May 10th 06 05:09 PM
Count consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 10:58 AM.

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

About Us

"It's about Microsoft Excel"