Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Totaling amounts based on duration

Hi,

I have three columns of data. What I am trying accomplish is totals
from one of the columns based on the difference between dates, i.e.
from the series of dates I would like to total the amounts where the
invoices were paid within a 7, 14, 21, etc. days. I tried using a
SUMIF statement using the dates as the range and "=7" as the criteria
but continually get a zero value.

invoice_date date_apid amount
11/9/2005 12/7/2005 200.00
10/13/2005 11/9/2005 406.48
10/13/2005 11/9/2005 512.79
10/26/2005 12/7/2005 500.00
11/30/2005 12/14/2005 500.00
9/8/2005 10/26/2005 104.31
10/3/2005 10/26/2005 104.31
12/1/2005 12/28/2005 104.31
9/5/2005 10/26/2005 3,053.00
9/4/2005 10/26/2005 1,688.00
8/21/2005 9/28/2005 1,680.00
8/21/2005 9/28/2005 1,688.00
9/11/2005 10/26/2005 1,239.00
9/11/2005 10/26/2005 1,603.60
9/18/2005 10/26/2005 1,680.00
9/18/2005 10/26/2005 1,848.00
9/25/2005 10/26/2005 1,848.00
9/28/2005 10/26/2005 1,491.00
9/25/2005 10/19/2005 1,584.00
10/2/2005 10/26/2005 1,680.00
10/2/2005 10/26/2005 1,848.00
10/2/2005 10/26/2005 2,640.00
9/15/2005 12/7/2005 80.00

I appreciate any help.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Totaling amounts based on duration

=SUMPRODUCT(--($B$2:$B$200-$A$2:$A$200<=7),C2:C200)

gives 7 days etc.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

wrote in message
ups.com...
Hi,

I have three columns of data. What I am trying accomplish is totals
from one of the columns based on the difference between dates, i.e.
from the series of dates I would like to total the amounts where the
invoices were paid within a 7, 14, 21, etc. days. I tried using a
SUMIF statement using the dates as the range and "=7" as the criteria
but continually get a zero value.

invoice_date date_apid amount
11/9/2005 12/7/2005 200.00
10/13/2005 11/9/2005 406.48
10/13/2005 11/9/2005 512.79
10/26/2005 12/7/2005 500.00
11/30/2005 12/14/2005 500.00
9/8/2005 10/26/2005 104.31
10/3/2005 10/26/2005 104.31
12/1/2005 12/28/2005 104.31
9/5/2005 10/26/2005 3,053.00
9/4/2005 10/26/2005 1,688.00
8/21/2005 9/28/2005 1,680.00
8/21/2005 9/28/2005 1,688.00
9/11/2005 10/26/2005 1,239.00
9/11/2005 10/26/2005 1,603.60
9/18/2005 10/26/2005 1,680.00
9/18/2005 10/26/2005 1,848.00
9/25/2005 10/26/2005 1,848.00
9/28/2005 10/26/2005 1,491.00
9/25/2005 10/19/2005 1,584.00
10/2/2005 10/26/2005 1,680.00
10/2/2005 10/26/2005 1,848.00
10/2/2005 10/26/2005 2,640.00
9/15/2005 12/7/2005 80.00

I appreciate any help.

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
Newbie question Pulling data from one sheet to another based on Tony Canevaro New Users to Excel 16 October 25th 05 02:10 PM
Adding amounts based on a conditional date ruleb Excel Discussion (Misc queries) 3 October 7th 05 11:25 PM
SUM cells together based on 2 criteria Ivano Excel Worksheet Functions 3 September 19th 05 12:58 AM
Subtract a group of cells from a total based on ending date Nicholas Scarpinato Excel Discussion (Misc queries) 0 May 17th 05 03:25 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM


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