Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr

I may have spoke too soon on the prior thread, as I thought the sumproduct
solution worked on all my tabs but it did not. Anyway, I did get the countifs
to work correctly as shown below. But what I need to do is to convert the
below solutions/formulas to sumproducts so they'll work with 2003. Here are
the formulas I have in cells N1, N2 & N3:

=COUNTIFS($P$13:$P$100,"=-100",$P$13:$P$100,"<=100",$P$13:$P$100,"<")

=COUNTIFS($P$13:$P$100,"=-400",$P$13:$P$100,"<=400",$P$13:$P$100,"<")-N1

=COUNT($P$13:$P$100)-SUM(N1:N2)

Thanks in advance for everyone's patience with me.

Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr

=SUMPRODUCT(--(($P$13:$P$100=-100)--(,$P$13:$P$100<=100),--($P$13:$P$100<""))

=SUMPRODUCT(--($P$13:$P$100=-400).--($P$13:$P$100<=400),--($P$13:$P$100<""))-N1

--
__________________________________
HTH

Bob

"Steve" wrote in message
...
I may have spoke too soon on the prior thread, as I thought the sumproduct
solution worked on all my tabs but it did not. Anyway, I did get the
countifs
to work correctly as shown below. But what I need to do is to convert the
below solutions/formulas to sumproducts so they'll work with 2003. Here
are
the formulas I have in cells N1, N2 & N3:

=COUNTIFS($P$13:$P$100,"=-100",$P$13:$P$100,"<=100",$P$13:$P$100,"<")

=COUNTIFS($P$13:$P$100,"=-400",$P$13:$P$100,"<=400",$P$13:$P$100,"<")-N1

=COUNT($P$13:$P$100)-SUM(N1:N2)

Thanks in advance for everyone's patience with me.

Steve



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default Countifs to Sumproduct for 2003 - was Simple Countifs.. fro

Please ignore my prior response (if it shows up). The below worked perfectly,
with a couple of changes to parenthese and comma placements.

These are the corrected formulas that worked:

=SUMPRODUCT(--($P$13:$P$57<=100),--($P$13:$P$57=-100),--($P$13:$P$57<""))

=SUMPRODUCT(--($P$13:$P$57<=400),--($P$13:$P$57=-400),--($P$13:$P$57<""))-N1

Thanks again,

"Bob Phillips" wrote:

=SUMPRODUCT(--(($P$13:$P$100=-100)--(,$P$13:$P$100<=100),--($P$13:$P$100<""))

=SUMPRODUCT(--($P$13:$P$100=-400).--($P$13:$P$100<=400),--($P$13:$P$100<""))-N1

--
__________________________________
HTH

Bob

"Steve" wrote in message
...
I may have spoke too soon on the prior thread, as I thought the sumproduct
solution worked on all my tabs but it did not. Anyway, I did get the
countifs
to work correctly as shown below. But what I need to do is to convert the
below solutions/formulas to sumproducts so they'll work with 2003. Here
are
the formulas I have in cells N1, N2 & N3:

=COUNTIFS($P$13:$P$100,"=-100",$P$13:$P$100,"<=100",$P$13:$P$100,"<")

=COUNTIFS($P$13:$P$100,"=-400",$P$13:$P$100,"<=400",$P$13:$P$100,"<")-N1

=COUNT($P$13:$P$100)-SUM(N1:N2)

Thanks in advance for everyone's patience with me.

Steve




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
Countifs equiv in 2003 Dan Excel Discussion (Misc queries) 6 August 26th 09 08:30 AM
Alternative for =countifs (in 2007) for Excel 2003 Longhag Excel Discussion (Misc queries) 1 September 9th 08 03:28 PM
Converting COUNTIFS to 2003 format JMVenhaus Excel Worksheet Functions 6 May 29th 08 03:21 PM
COUNTIFS for 2003 Tromba Excel Worksheet Functions 4 April 13th 08 08:24 PM
excel's new countifs...on 2003? AndyBrown Excel Discussion (Misc queries) 1 July 20th 06 04:20 PM


All times are GMT +1. The time now is 05: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"