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

Can anyone help with a Date range criteria in a SUMIF statement.
I'm trying to add up Values in line 4 between 2 dates

a b c d e f
1 start 11/11
2 end 13/11
3 dates 10/11 11/11 12/11 13/11 14/11
4 value 2 3 4 5 6
5

sumif(be:f3,"="&b1,b4:f4) will do more or = to one date how do i do a range.
Any help would be welcome


Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default SUMIF date criteria

Hi

Try this formula:

=SUMIF(A3:E3,"="&A1,A4:E4)-SUMIF(A3:E3,"" &A2,A4:E4)

Regards,
Per

"CSam" skrev i meddelelsen
...
Can anyone help with a Date range criteria in a SUMIF statement.
I'm trying to add up Values in line 4 between 2 dates

a b c d e f
1 start 11/11
2 end 13/11
3 dates 10/11 11/11 12/11 13/11 14/11
4 value 2 3 4 5 6
5

sumif(be:f3,"="&b1,b4:f4) will do more or = to one date how do i do a
range.
Any help would be welcome


Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default SUMIF date criteria

How about
sumif(be:f3,"="&b1,b4:f4) - sumif(be:f3,"="&b2,b4:f4)

You should check where to use = or

If you have Excel 2007+ then ise SUMIFS
best wishes
--
Bernard Liengme
http://people.stfx.ca/bliengme
Microsoft Excel MVP

"CSam" wrote in message
...
Can anyone help with a Date range criteria in a SUMIF statement.
I'm trying to add up Values in line 4 between 2 dates

a b c d e f
1 start 11/11
2 end 13/11
3 dates 10/11 11/11 12/11 13/11 14/11
4 value 2 3 4 5 6
5

sumif(be:f3,"="&b1,b4:f4) will do more or = to one date how do i do a
range.
Any help would be welcome


Thanks


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUMIF date criteria

Hi,

Try this

=sumproduct((b3:f3=B1)*(b3:f3<=b2)*(b4:f4))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"CSam" wrote in message
...
Can anyone help with a Date range criteria in a SUMIF statement.
I'm trying to add up Values in line 4 between 2 dates

a b c d e f
1 start 11/11
2 end 13/11
3 dates 10/11 11/11 12/11 13/11 14/11
4 value 2 3 4 5 6
5

sumif(be:f3,"="&b1,b4:f4) will do more or = to one date how do i do a
range.
Any help would be welcome


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
How to compare a cell containing a date in sumif criteria Retired Nick Excel Worksheet Functions 5 June 13th 08 03:09 PM
using a date in criteria for SUMIF Will Excel Discussion (Misc queries) 1 April 9th 07 05:58 PM
Sumif with two criteria including a date range Ladyofthewhitecity Excel Discussion (Misc queries) 4 February 4th 07 09:53 AM
tow criteria (Date and Name)in sumif Rolf Excel Discussion (Misc queries) 2 December 3rd 06 09:36 PM
SUMIF/SUMPRODUCT/IF - 2 criteria - Date and Text James T Excel Discussion (Misc queries) 4 May 25th 06 08:00 PM


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