Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default need to total by date

A B C
Date Amount if Jan total
if feb total if Mar
Jan, 21 2500.00 2500.00
Feb 10 3200.00 0.00
3200.00
Mar 19 5698.00 0.00
0.00 5698.


I need to figure out an if statement so Jan, feb Mar will transfer if date
is within time frame
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default need to total by date

Assuming you have real dates running in A2 down, with amounts in B2 down
You could place this in say, D2:
=SUMPRODUCT(--(TEXT(A$2:A$100,"mmmyy")=TEXT(DATE(2008,ROWS($1:1) ,1),"mmmyy")),B$2:B$100)
which will return the total amount for Jan08. Copy D2 down as far as
required to return correspondingly for Feb08 (in D3), Mar08 (in D4), and so
on. The expression will roll over the year 2008 as well, so it can be copied
right down to cover whatever MthYr period commencing from Jan08 (in D2).
Adapt the ranges to suit the max expected extents of your data.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"Suzuki24" wrote:
A B C
Date Amount if Jan total
if feb total if Mar
Jan, 21 2500.00 2500.00
Feb 10 3200.00 0.00
3200.00
Mar 19 5698.00 0.00
0.00 5698.


I need to figure out an if statement so Jan, feb Mar will transfer if date
is within time frame

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
Running total by date capt Excel Discussion (Misc queries) 2 December 12th 07 03:56 PM
to-date total based on current date dreamkeeper Excel Worksheet Functions 3 August 10th 06 09:33 PM
running total by date (not sorted by date though...) rainxking Excel Worksheet Functions 4 May 16th 06 02:01 AM
total to date excelchallenged New Users to Excel 1 February 14th 06 11:13 PM
How do I subtract a date from a date for a sum of total years? Paige Excel Discussion (Misc queries) 4 October 27th 05 03:10 PM


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