Smoothing Data for Step Chart (to show flat lines and major increases)

Mgroner

New Member
Joined
Oct 8, 2016
Messages
1
Hello,

I've searched far and wide, and would greatly appreciate guidance for a method of smoothing increasing/decreasing data that results in flat lines separated by major increases, similar to a step line (but each line contains multiple points). I'm trying to create a chart to help identify major changes in demand of a product and competitive product as the price gap between the two products changes over time.

The method of smoothing involves checking each demand value (using velocity as a demand metric) to see if it's greater than the previous demand. If so, a weighted average is used to smooth the SPM value. If the next demand value is also greater, the the weighted average is calculated again with the previous two values. Then that smoothed value is used for all three values. The process is repeated for each row, until the next values is less than the previous weighted average value.

The issue arises if a later smoothed value ends up being greater than the previous value, because then you need to go back and calculated a weighted average with the previous value again. I have included an image below for the step-by-step calculations. Column G represents the Previously, this has been done manually, which as you can imagine is just a brutal, time-intensive process.

154zwyc.png
[/IMG]
Image - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting

This results in the step line chart seen in the photo pasted below.
1twkck.png
[/IMG]
Image - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting

Any tips for simplifying this process would be awesome. Thank you very much advance!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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