PC Review


Reply
Thread Tools Rate Thread

clarification: cumulative to-date total formula needed

 
 
dreamkeeper
Guest
Posts: n/a
 
      9th Aug 2006
I am trying to create a forumula that will give a cumulative or
"to-date" total that will exclude future months from the total.

i.e. ithe point in time is august and I need to show a to-date number
through august only even though september and october are included in
the spreadsheet. Next month will need to show through september and
exclude october.

columns: july august september october year-to-date
rows : 100 200 300 400
year-to-date as of august should show 300 if the point in time is
august and show 600 if it's september

is there a way to write a formula using time or that will change based
on the current date?

thanks for your help.
Tina

 
Reply With Quote
 
 
 
 
Mark
Guest
Posts: n/a
 
      9th Aug 2006

I may have a workaround if you are willing to change the titles of the
months to their numerical values. IE Jan=1, Jul=7, etc...

This formula will work assuming your data resides in cells(A1:L2)

=SUMIF(A1:L1,"<="&MONTH(NOW()),A2:L2))

This of course will only update when the current month changes, but it
sounded like that was all you wanted anyway.

Hope that works 4 ya......

 
Reply With Quote
 
dreamkeeper
Guest
Posts: n/a
 
      10th Aug 2006
Thank you Mark,
this does work and is just what I needed to complete the sreadsheet.
Thank you so much!
Tina
Mark wrote:
> I may have a workaround if you are willing to change the titles of the
> months to their numerical values. IE Jan=1, Jul=7, etc...
>
> This formula will work assuming your data resides in cells(A1:L2)
>
> =SUMIF(A1:L1,"<="&MONTH(NOW()),A2:L2))
>
> This of course will only update when the current month changes, but it
> sounded like that was all you wanted anyway.
>
> Hope that works 4 ya......


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cumulative total with date criteria Pas Microsoft Excel Misc 2 17th Feb 2010 11:19 AM
Formula for the calculation needed to come up with a total Phillse Microsoft Excel Worksheet Functions 5 7th Apr 2009 07:05 PM
What is the formula for cumulative year to date totals in Excel? SouthernMade Microsoft Excel Worksheet Functions 2 13th Sep 2008 10:31 PM
Formula for cumulative total =?Utf-8?B?RGF2ZQ==?= Microsoft Excel Misc 3 23rd Sep 2005 01:38 AM
Running total formula needed Gadgetman Microsoft Excel Worksheet Functions 2 30th May 2004 11:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:14 AM.