Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Countifs function equivalent for Excel 2002 (XP)

I need the functionality of COUNTIFS but for Excel 2002. I don't want to sum
but rather count. Below is the formula I would use if I had the COUNTIFS
function.

=COUNTIFS(A3:A7764,"PGA",J3:J7764,"x")

Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Countifs function equivalent for Excel 2002 (XP)

=sumproduct(--(a3:a7764="pga"),--(j3:j7764="x"))

Adjust the ranges to match--but you can't use whole columns (except in xl2007+).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html

Task Database Nightmare wrote:

I need the functionality of COUNTIFS but for Excel 2002. I don't want to sum
but rather count. Below is the formula I would use if I had the COUNTIFS
function.

=COUNTIFS(A3:A7764,"PGA",J3:J7764,"x")

Any suggestions?


--

Dave Peterson
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
NZ function equivalent in Excel jg Excel Worksheet Functions 7 April 21st 23 05:15 PM
Excel 2007 countifs function problem rcindyj01 Excel Discussion (Misc queries) 2 April 29th 09 05:34 PM
Lotus 123 @nsum function equivalent in excel(?) marke54805 Excel Worksheet Functions 10 October 15th 08 08:28 AM
translating countifs function to Excel 2003 ridgeback Excel Worksheet Functions 4 April 29th 08 10:18 PM
What is the Excel equivalent of the CELL function? JP Excel Worksheet Functions 8 September 5th 06 12:49 AM


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

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"