Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default SUMIF between 2 dates

Summing it falls between to dates. This is not working. Need a fix. Thanx!


=SUMIF(b17:b50000,""&DATE(1/1/2003),b17:b50000,"<"&DATE(12/31/2003),n17:x50000)

Ray
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default SUMIF between 2 dates

Hi Ray;

Am Mon, 13 Jan 2014 21:29:36 -0800 (PST) schrieb rhhince:

Summing it falls between to dates. This is not working. Need a fix. Thanx!

=SUMIF(b17:b50000,""&DATE(1/1/2003),b17:b50000,"<"&DATE(12/31/2003),n17:x50000)


try:
=SUMPRODUCT((YEAR(B17:B50000)=2003)*N17:X50000)
or
=SUMPRODUCT((B17:B50000=DATE(2003,1,1))*(B17:B500 00<=DATE(2003,12,31))*N17:X50000)


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Sumif() with dates AnotherNewGuy Excel Discussion (Misc queries) 10 November 25th 08 07:37 PM
Sumif & Dates angela Excel Worksheet Functions 4 May 17th 06 07:30 PM
SUMIF and Dates Mike Excel Worksheet Functions 7 December 14th 05 06:16 PM
SUMIF USING DATES RayG Excel Discussion (Misc queries) 4 January 6th 05 11:31 PM
SUMIF between dates Bruce Excel Worksheet Functions 3 November 25th 04 05:25 PM


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