LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 783
Default Need assistance with COUNTIF while using multiple data arrays

Harlan Grove wrote:
. . .
=SUMPRODUCT((MOD(ROW(A1:C6),2)=0)*(A1:C6=1))

returns the number of 1s (the number the OP mentioned, just for kicks) in
the odd numbered rows. . . .


Just to avoid confusion, it's the even numbered rows. Not sure from the
above just what the analogous formula would be if it were the odd rows
to be tested.

I used 4s instead of 1s because the OP already got a "solution" that
correctly returned the number of 1s in the even numbered rows, but only
because that was the same as the number of 1s in ALL rows. The incidence
of 4s didn't have that problem.

Alan Beban
 
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
multiple data ranges for countif David G[_2_] Excel Worksheet Functions 4 August 8th 07 04:51 PM
Sum multiple arrays of data according to criteria [email protected] Excel Worksheet Functions 7 July 25th 07 10:05 AM
Sumproduct assistance - need multiple ANDs and ORs Heidi Excel Worksheet Functions 3 January 31st 07 05:09 PM
LOOKUP across multiple arrays willcozz Excel Discussion (Misc queries) 0 December 15th 06 04:36 PM
sum of multiple arrays? paula k Excel Worksheet Functions 3 August 17th 06 08:35 PM


All times are GMT +1. The time now is 01:15 AM.

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"