You are here:

Advanced Math/Ratios: Contribution to Change in Weighted Average


Tim wrote at 2015-01-13 22:39:58
I have the same problem when comparing Gross Profit Percentages (GP%).  I wanted to create a "walk" to show the contributing change in GP% changes.

GP% = Gross Profit $ / Sales $

I have 100 product categories that equal the total.  The total change for the year involves the numerator changing and denominator changing with each category contributing.  I want to know how each of the 100 product categories contribute to the total GP% change (GP% end - GP% beg).  In another words, what product category caused the GP% to go up and which ones caused it to go down and by how much.

Because the denominator changes, I couldn't do the traditional contribution impact analysis (ex. SalesChng% = SalesChng$/Sales$ = (SalesChng$1 + SalesChng$2 + SalesChng$3...) / Sales$ = SalesChng$1/Sales$ + SalesChng$2/Sales$ + SalesChng$3/Sales$...)

I had to do an "incremental" contribution impact analysis.  Here's what I did.  This ties out so you can create a walk.

LY = Last Year

D = Delta (change in GP or Sales)

# = Category Number (ex. 1 = product category 1)

T = Total (ex. Total Sales or Total GP)

Category1 Impact Contribution = ((LY T GP$ + D 1 GP$)/(LY T Sales$ + D 1 Sales$)) - LY GP%

Category2 Impact Contribution = ((LY T GP$ + D 1 GP$ + D 2 GP$)/(LY T Sales$ + D 1 Sales$ + D 2 Sales$)) - (LY GP% + Category1 Impact Contribution)

Category3 Impact Contribution = ... Follow the pattern.  Excel will make this formula not that bad.

If you add all your Category impact contributions, they will equal the total GP% change.  Technically, it does matter which category you calculate first (what order you sort... it will still tie out but the categories will be weighted slightly differently by how it is sorted).  The impact of this was very small in my business case (less than a basis point), but I did add a special sort field so my categories would be sorted in impact order.

I do have a spreadsheet example which would help show what I did.



Advanced Math

All Answers

Answers by Expert:

Ask Experts


Scott A Wilson


I can answer any question in general math, arithetic, discret math, algebra, box problems, geometry, filling a tank with water, trigonometry, pre-calculus, linear algebra, complex mathematics, probability, statistics, and most of anything else that relates to math. I can also say that I broke 5 minutes for a mile, which is over 12 mph, but is that relevant?


Experience in the area; I have tutored people in the above areas of mathematics for over two years in I have tutored people here and there in mathematics since before I received a BS degree back in 1984. In just two more years, I received an MS degree as well, but more on that later. I tutored at OSU in the math center for all six years I was there. Most students offering assistance were juniors, seniors, or graduate students. I was allowed to tutor as a freshman. I tutored at Mathnasium for well over a year. I worked at The Boeing Company for over 5 years. I received an MS degreee in Mathematics from Oregon State Univeristy. The classes I took were over 100 hours of upper division credits in mathematical courses such as calculus, statistics, probabilty, linear algrebra, powers, linear regression, matrices, and more. I graduated with honors in both my BS and MS degrees. Past/Present Clients: College Students at Oregon State University, various math people since college, over 7,500 people on the PC from the US and rest the world.

My master's paper was published in the OSU journal. The subject of it was Numerical Analysis used in shock waves and rarefaction fans. It dealt with discontinuities that arose over time. They were solved using the Leap Frog method. That method was used and improvements of it were shown. The improvements were by Enquist-Osher, Godunov, and Lax-Wendroff.

Master of Science at OSU with high honors in mathematics. Bachelor of Science at OSU with high honors in mathematical sciences. This degree involved mathematics, statistics, and computer science. I also took sophmore level physics and chemistry while I was attending college. On the side I took raquetball, but that's still not relevant.

Awards and Honors
I earned high honors in both my BS degree and MS degree from Oregon State. I was in near the top in most of my classes. In several classes in mathematics, I was first. In a class of over 100 students, I was always one of the first ones to complete the test. I graduated with well over 50 credits in upper division mathematics.

Past/Present Clients
My clients have been students at OSU, people who live nearby, friends with math questions, and several people every day on the PC. I would guess that you are probably going to be one more.

©2017 All rights reserved.