This is my first post so please be patient with me! I use Excel 2007.
I have a data set that tracks ingredients in chemical products. For example sake the chemical product is a mixed color, and the calculated ingredient is a primary color.
I need to calculate the quantity of two primary colors based on their percentage of the mixture.
Column A contains the mixed color names. Columns B and C contain the percentage of the primary in each mix.
I began tracking this data in January 2009. Each month I add 3 columns to the worksheet. The 1st column contains the monthly mixed color quantity used. The 2nd and 3rd columns contain the calculation of the two primary colors.
I need the formula to calculate the 12 month rolling total for each primary color. (For July 2014 I need to calculate July 2013 through June 2014)
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]M[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]P[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1/1/14[/TD]
[TD][/TD]
[TD][/TD]
[TD]2/1/14[/TD]
[TD][/TD]
[TD][/TD]
[TD]3/1/14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Color[/TD]
[TD]% Red[/TD]
[TD]% Blue[/TD]
[TD="align: center"]Qty[/TD]
[TD]%Red[/TD]
[TD]%Blue[/TD]
[TD="align: center"]Qty[/TD]
[TD]%Red[/TD]
[TD]%Blue[/TD]
[TD="align: center"]Qty[/TD]
[TD]%Red[/TD]
[TD]%Blue[/TD]
[TD][/TD]
[TD]rolling %Red[/TD]
[TD]rolling %Blue[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Orange[/TD]
[TD].5[/TD]
[TD][/TD]
[TD="align: center"]3[/TD]
[TD]=E2*$B$2[/TD]
[TD]=E2*$C$2[/TD]
[TD="align: center"]6[/TD]
[TD]=H2*$B$2[/TD]
[TD]=H2*$C$2[/TD]
[TD="align: center"]2[/TD]
[TD]=K2*$B$2[/TD]
[TD]=K2*$C$2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Purple[/TD]
[TD].5[/TD]
[TD].5[/TD]
[TD="align: center"]7[/TD]
[TD]=E3*$B$3[/TD]
[TD]=E3*$C$3[/TD]
[TD="align: center"]2[/TD]
[TD]=H3*$B$3[/TD]
[TD]=H3*$C$3[/TD]
[TD="align: center"]3[/TD]
[TD]=K3*$B$3[/TD]
[TD]=K3*$C$3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Green[/TD]
[TD][/TD]
[TD].5[/TD]
[TD="align: center"]4[/TD]
[TD]=E4*$B$4[/TD]
[TD]=E4*$C$4[/TD]
[TD="align: center"]4[/TD]
[TD]=H4*$B$4[/TD]
[TD]=H4*$C$4[/TD]
[TD="align: center"]14[/TD]
[TD]=K4*$B$4[/TD]
[TD]=K4*$C$4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a data set that tracks ingredients in chemical products. For example sake the chemical product is a mixed color, and the calculated ingredient is a primary color.
I need to calculate the quantity of two primary colors based on their percentage of the mixture.
Column A contains the mixed color names. Columns B and C contain the percentage of the primary in each mix.
I began tracking this data in January 2009. Each month I add 3 columns to the worksheet. The 1st column contains the monthly mixed color quantity used. The 2nd and 3rd columns contain the calculation of the two primary colors.
I need the formula to calculate the 12 month rolling total for each primary color. (For July 2014 I need to calculate July 2013 through June 2014)
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]M[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]P[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1/1/14[/TD]
[TD][/TD]
[TD][/TD]
[TD]2/1/14[/TD]
[TD][/TD]
[TD][/TD]
[TD]3/1/14[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Color[/TD]
[TD]% Red[/TD]
[TD]% Blue[/TD]
[TD="align: center"]Qty[/TD]
[TD]%Red[/TD]
[TD]%Blue[/TD]
[TD="align: center"]Qty[/TD]
[TD]%Red[/TD]
[TD]%Blue[/TD]
[TD="align: center"]Qty[/TD]
[TD]%Red[/TD]
[TD]%Blue[/TD]
[TD][/TD]
[TD]rolling %Red[/TD]
[TD]rolling %Blue[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Orange[/TD]
[TD].5[/TD]
[TD][/TD]
[TD="align: center"]3[/TD]
[TD]=E2*$B$2[/TD]
[TD]=E2*$C$2[/TD]
[TD="align: center"]6[/TD]
[TD]=H2*$B$2[/TD]
[TD]=H2*$C$2[/TD]
[TD="align: center"]2[/TD]
[TD]=K2*$B$2[/TD]
[TD]=K2*$C$2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Purple[/TD]
[TD].5[/TD]
[TD].5[/TD]
[TD="align: center"]7[/TD]
[TD]=E3*$B$3[/TD]
[TD]=E3*$C$3[/TD]
[TD="align: center"]2[/TD]
[TD]=H3*$B$3[/TD]
[TD]=H3*$C$3[/TD]
[TD="align: center"]3[/TD]
[TD]=K3*$B$3[/TD]
[TD]=K3*$C$3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Green[/TD]
[TD][/TD]
[TD].5[/TD]
[TD="align: center"]4[/TD]
[TD]=E4*$B$4[/TD]
[TD]=E4*$C$4[/TD]
[TD="align: center"]4[/TD]
[TD]=H4*$B$4[/TD]
[TD]=H4*$C$4[/TD]
[TD="align: center"]14[/TD]
[TD]=K4*$B$4[/TD]
[TD]=K4*$C$4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: