LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 87
Default sumproduct and IF criteria??

I work in a hospital. I have named beds 600-649 = 6South and 650-699= 6North.


6south= cells d1:d50 6north=e1:e50

I want to to count the YES answers in column c but I only want to count the
beds on 6south that had yes answers during Jan1 thru Mar 31
This formula is working great to give me the yes answers between these dates
but now I want to add one more criteria to the formula . Can anyone help me?

=SUMPRODUCT((UnitDate=--"1-Jan-2007")*(UnitDate<=--"31-Mar-2007"))




A B C
BED UnitDate answer
1 655 4/1/2007 yes
2 689 5/13/2007 no
3 601 1/5/2007 no
4 603 3/31/2007 yes
5 649 2/25/2007 yes



The answer to this example would be 6South Jan1-Mar31 = 2

 
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
SUMPRODUCT - 2 Criteria Sam via OfficeKB.com Excel Worksheet Functions 23 February 10th 07 01:52 AM
Sumproduct - two+ criteria Bryce Excel Worksheet Functions 2 February 7th 07 02:00 AM
Sumproduct 4 criteria Laura Excel Worksheet Functions 0 November 29th 06 11:02 PM
Sumproduct with 2 criteria TMF in MN Excel Worksheet Functions 3 February 27th 06 07:16 PM
Sumproduct with two criteria Rob Excel Worksheet Functions 9 February 10th 06 03:15 AM


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