Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default running total between two dates

I am trying to have my spreadsheet sum up purchases that fall between (month)
12th to (month) 12th, and when/if a new purchasing month starts, restart
summing the purchases. Column G are purchase amts. Column A are purchase
dates.

Originally, I just referenced month to month, with Column I formula:
=MONTH(A5) etc., and my running total forumla:
=IF(I4<I5,G5,IF(I5=I4,(G5+J4),0))
but because my purchasing dates are middle of the month, this is not working
so well.

I would like something I can fill down and not have to rewrite for each date.
I've looked through the discussion threads trying to figure out what might
work for me but haven't found anything.

Thanks in advance for your willingness to help!
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default running total between two dates

why don't you try this formula?
SUMIF(range,criteria,sum_range)
for example =sumif(I:I,1,G:G)
If you can give an example of the data and the wished outcome, it will be
helpful to derive the formula.

"lolan7" wrote:

I am trying to have my spreadsheet sum up purchases that fall between (month)
12th to (month) 12th, and when/if a new purchasing month starts, restart
summing the purchases. Column G are purchase amts. Column A are purchase
dates.

Originally, I just referenced month to month, with Column I formula:
=MONTH(A5) etc., and my running total forumla:
=IF(I4<I5,G5,IF(I5=I4,(G5+J4),0))
but because my purchasing dates are middle of the month, this is not working
so well.

I would like something I can fill down and not have to rewrite for each date.
I've looked through the discussion threads trying to figure out what might
work for me but haven't found anything.

Thanks in advance for your willingness to help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default running total between two dates

Sounds like you want a running total for the month as well as a total running
total. Col J is your running total, right? Add col. J or another for you
month totals. If so, try this. Add col. J or another for your month totals.
Of course the first entry for your running total column is the data you are
adding. In the second row (J), try this.

=IF(MONTH(A2)<MONTH(A1),G2,G2+G1)

this is presuming your list of transactions is in chronological order
starting at the top and the most recent transaction at the bottom.

This works because all of your transactions in a particular month have the
same month.

You might also try taking a look at DATA|SUBTOTALS menu to see if this
wouldn't provide better/easier information and displays the information in an
easy to read fashion. (using numbers 1-12for the month)As I recall you can
elect to put a summary at the bottom
..

"lolan7" wrote

:

I am trying to have my spreadsheet sum up purchases that fall between (month)
12th to (month) 12th, and when/if a new purchasing month starts, restart
summing the purchases. Column G are purchase amts. Column A are purchase
dates.

Originally, I just referenced month to month, with Column I formula:
=MONTH(A5) etc., and my running total forumla:
=IF(I4<I5,G5,IF(I5=I4,(G5+J4),0))
but because my purchasing dates are middle of the month, this is not working
so well.

I would like something I can fill down and not have to rewrite for each date.
I've looked through the discussion threads trying to figure out what might
work for me but haven't found anything.

Thanks in advance for your willingness to help!

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
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
running total and average of that total after 3 events belvy123 Excel Discussion (Misc queries) 0 March 28th 07 02:57 AM
running total and average of that total after 3 events Toppers Excel Discussion (Misc queries) 1 March 28th 07 02:19 AM
Formula Needed to Compare Dates and return a running total Cmonroe Excel Worksheet Functions 3 June 8th 06 08:54 PM
RUNNING TOTAL LOST IN EXCEL 2000 Excel Worksheet Functions 7 December 27th 05 05:52 AM


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