Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sumif comparing dates in criteria

I'm trying to use SUMIF
=SUMIF(L6:L8,"=and(B20,<=C20)",K6:K8)
where column L has dates in it, column K has dollar amounts and the criteria
is looking at a fields that have dates.
So, trying to include in the sum the payment amount if the estimated payment
date is greater than last week's date but less then the current week's date.

Working on a cash flow tool that would read from a list of all of our
contracts entered and their estimated payment dates.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 376
Default Sumif comparing dates in criteria

Hi

Try
=SUMPRODUCT(($L$6:$L$8=B20)*($L6:$L8<=C20)*K6:K8)
--
Regards
Roger Govier

sdjsage wrote:
I'm trying to use SUMIF
=SUMIF(L6:L8,"=and(B20,<=C20)",K6:K8)
where column L has dates in it, column K has dollar amounts and the criteria
is looking at a fields that have dates.
So, trying to include in the sum the payment amount if the estimated payment
date is greater than last week's date but less then the current week's date.

Working on a cash flow tool that would read from a list of all of our
contracts entered and their estimated payment dates.



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 criteria between two dates Steve R Excel Worksheet Functions 3 October 17th 08 11:04 AM
Help with SUMIF using a range of dates as criteria [email protected] Excel Discussion (Misc queries) 3 May 3rd 07 10:00 PM
Sumif between 2 dates and specify criteria [email protected] Excel Discussion (Misc queries) 2 September 6th 06 04:18 PM
SUMIF function - criteria of between two dates. How? Frannie21 Excel Worksheet Functions 4 January 27th 05 03:28 PM
can I use a range of dates as a criteria when using sumif? D@annyBoy Excel Worksheet Functions 5 December 2nd 04 01:37 PM


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