LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default SUM, COUNT and SUMPRODUCT

The following formulae yield the same results.



=SUMPRODUCT((A1:A10="a")*(E1:E10="j"))

=SUM((A1:A10="a")*(E1:E10="J")) array formula

=SUM(IF((A1:A10="a")*(E1:E10="J"),1)) array formula

=SUM(IF(A1:A10="a",IF(E1:E10="J",1))) array formula



I realize that SUM(IF(AND won't work because AND ( ) causes the entire array to be treated as one element.



I don't seem to be able to use COUNT, COUNTIF or COUNT(IF( either except the following.



Column H: =AND(A1="a",E1="j") (copied down the column). Then use the following formula:

=COUNTIF(H1:H10,TRUE)



Is it possible to use COUNT without a helper column?



I am trying to learn here. Thank you.



Epinn


 
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
SUMPRODUCT - Count Previous Month HearSay Excel Worksheet Functions 3 September 29th 06 04:42 PM
sumproduct to count two arguments [email protected] Excel Worksheet Functions 7 September 11th 06 03:18 AM
sumproduct partial text count Ribeye Excel Worksheet Functions 2 February 14th 06 06:43 PM
How to count uniques of a SUMPRODUCT subset? KeLee Excel Worksheet Functions 2 December 9th 05 01:25 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 12:01 PM.

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

About Us

"It's about Microsoft Excel"