Stop a Running Total

1mrbrooks

New Member
Joined
Mar 31, 2016
Messages
11
I have a simple running total (0% to 100%) calculated from a series of monthly progress values. The number of months where progress is made varies within a set range of months, let's say its a 32 month project and the first progress value is in the 3rd month and it reaches 100% in the 24th month. If I have to select all 32 months to chart, how do I get the 0% months and all the 100% months after the first month with 100% to give me a #N/A? I have multiple rows with running totals all varying in start and finish months that need to be plotted as S-Curves and I only want to show the curves up to the first 100% value in each row.
 
Last edited:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
assuming that you're calculating these things, something like:

-if(or(progress=0,progress=1),na(),progress)

...where 'progress' is whatever formula you're using.

edit - just noticed that the above will mask the point where you first hit 100%.

im in a rush, so inelegant solution - assuming, e.g., you had a row of raw values from a2:a20, with the cumulative progress in col b, then in c2, copied down:

...if(or(b2=0,b1=1),na(),b2)

...then chart off that. using b1 in the second condition for the or() (i.e. the cell before your data starts) serves to make sure you include the first instance of 100%
 
Last edited:
Upvote 0
Thanks for the response. This worked great! When I first read it, I thought to myself, no, this is what I have already tried. ...but then I realized you were referencing the source data in all instances. I however had been referencing the previous cell from the formula I was writing. Which gave me all #N/A results, due to the previous cell being #N/A. Thanks so much for the resolution.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top