Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Countif Multiple Criteria

Hi-

The following array formula is working for me:
=(SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,"5/31/2007")).

However I would like for 5/31/2007 to be a cell reference of K1. I want to
be able to change just K1 each month. I can not get this to work with a cell
reference. Column D has dates and Column E is numbers.

Thanks again.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Countif Multiple Criteria

=SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),--(D9:D55<=K1),E9:E55)/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,K1))

"jackie" wrote:

Hi-

The following array formula is working for me:
=(SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,"5/31/2007")).

However I would like for 5/31/2007 to be a cell reference of K1. I want to
be able to change just K1 each month. I can not get this to work with a cell
reference. Column D has dates and Column E is numbers.

Thanks again.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Countif Multiple Criteria

You didn't say what formula you tried. Was it
=(SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,""&K1))
?
--
David Biddulph

"jackie" wrote in message
...
Hi-

The following array formula is working for me:
=(SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,"5/31/2007")).

However I would like for 5/31/2007 to be a cell reference of K1. I want to
be able to change just K1 each month. I can not get this to work with a
cell
reference. Column D has dates and Column E is numbers.

Thanks again.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Countif Multiple Criteria

I accidentally responded direct on this. So this is a re-response

I'm not sure exactly what this formula is supposed to accomplish, but see if
this helps.

=(SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),(--(D9:D55<=VALUE(K1))),E9:E55))/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,""
& VALUE(K1)))

HTH,
Paul

"jackie" wrote in message
...
Hi-

The following array formula is working for me:
=(SUMPRODUCT(--(D9:D55DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,"12/31/2006")-COUNTIF(D9:D55,"5/31/2007")).

However I would like for 5/31/2007 to be a cell reference of K1. I want to
be able to change just K1 each month. I can not get this to work with a
cell
reference. Column D has dates and Column E is numbers.

Thanks again.



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
Countif Multiple Criteria hot dogs Excel Discussion (Misc queries) 5 October 26th 06 12:00 PM
Countif, Multiple criteria Chris Excel Discussion (Misc queries) 4 September 21st 06 02:57 AM
Countif Multiple Criteria JoatNIC Excel Discussion (Misc queries) 1 August 10th 05 09:58 PM
Countif w/ Multiple Criteria Patrick_KC Excel Worksheet Functions 2 August 9th 05 09:25 PM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM


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