Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Similar to Q re 2 Countifs, but Sumproduct doesn't work

I am using this formula to count the number of times that a column M is
=0.5% in the prior 100 days (given as the Referce L$23), only if there is a

matching "type" in column K.

SUMPRODUCT((OFFSET(K124,1-L$23,,L$23,1)=K125*(OFFSET(M124,1-L$23,,L$23,1)=V20)))

But this is not working.

I also tried:
COUNTIF(OFFSET(K124,1-L$23,,L$23,1),K125-(COUNTIF(OFFSET(M124,1-L$23,,L$23,1),"<.005"))))

But this did not work either.

Both formulas returned a value of "0" when it should not be 0.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Similar to Q re 2 Countifs, but Sumproduct doesn't work


No idea what is in all those cells, but maybe

=SUMPRODUCT((OFFSET(K124,1-L$23,,L$23,1)=K125)*(OFFSET(M124,1-L$23,,L$23,1)=V20))


--
__________________________________
HTH

Bob

"jtujague" wrote in message
...
I am using this formula to count the number of times that a column M is
=0.5% in the prior 100 days (given as the Referce L$23), only if there is
a

matching "type" in column K.

SUMPRODUCT((OFFSET(K124,1-L$23,,L$23,1)=K125*(OFFSET(M124,1-L$23,,L$23,1)=V20)))

But this is not working.

I also tried:
COUNTIF(OFFSET(K124,1-L$23,,L$23,1),K125-(COUNTIF(OFFSET(M124,1-L$23,,L$23,1),"<.005"))))

But this did not work either.

Both formulas returned a value of "0" when it should not be 0.

Thanks.



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 to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
sumproduct & Dates & similar Data Googley Excel Discussion (Misc queries) 2 August 23rd 07 01:44 AM
Sumproduct & Dates & Similar Data Googley Excel Worksheet Functions 0 August 23rd 07 12:35 AM
Help with sumproduct or similar type of function [email protected] Excel Discussion (Misc queries) 0 May 3rd 07 07:46 AM
SUMPRODUCT is OK for a while and later a similar formula returns 0 Pierian Spring Excel Worksheet Functions 4 January 18th 07 04:00 PM


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