LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 63
Default Formulas and Cumulative Values on a Line Chart

Okay, I need some help.

I am using a Line Chart to plot 2 lines: one for cumulative budgeted amount
and the other for cumulative amount actually spent.

All of our expenses etc are recorded in a worksheet called "Expenses
Entered", from which the data comes for calculating the amount actually
spent. To do this I am using the following formula structu

=SUMPRODUCT(--('Expenses Entered'!A2:A2000=AQ1),--('Expenses
Entered'!A2:A2000<=AR1),--('Expenses Entered'!F2:F2000="Subscriptions &
Memberships"),'Expenses Entered'!E2:E2000)

In the above formula I am basically getting Excel to add up all the amounts
in Column E if the corresponding expense type in Column F equals
"Subscriptions & Memberships" and if the expense occurred between two dates
as dictated by cells AQ1 and AR1.

So far so good. Now to the problem...

I am pretty much using the same formula in twelve cells, with the only
change being that reference to AR1 will change to AR2 or AR3 and so on up to
AR12, one for each month. A snapshot of the resulting table is below:


MAR APR MAY
JUN JUL
CUMULATIVE BUDGETED AMOUNT $200 $350 $850 $850 $950
CUMULATIVE AMOUNT SPENT $0 $200 $500 $500 $500

Now, the problem I have is that when I view the linked chart, the line
displaying the cumulative amount spent flatlines at $500 up to and including
December. I understand why this is happening, because at the present time
the cumulative amount actually spent is $500. But what I want is for this
particular line in the chart to stop plotting at May because it is the
current month, to stop plotting at June when we're in June, and so on?

What is the easiest way to achieve this?

Thanks,

Joe.

NOTE: This posit also appears in EXCEL PROGRAMMING. I did try and cross-post
this, but obviously got the USENET designation wrong!
 
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
Min and Max values in Line chart... NWO Charts and Charting in Excel 0 October 25th 07 11:06 PM
How do I add Cumulative values to Stacked Bar chart? aspelker Charts and Charting in Excel 1 April 13th 06 01:02 PM
Line chart zero values JC Charts and Charting in Excel 4 January 9th 06 12:57 AM
line chart with NA() values grime Charts and Charting in Excel 3 October 19th 05 01:56 PM
bar, line and cumulative bar graph in one chart Suchita Charts and Charting in Excel 2 January 14th 05 08:05 AM


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