excel - Sum quarter data according to months completed -


i need sum quarter data kept in column c2 w2. in cell w1 number of months passed, current purpose 7. sum in cell w2. 7 months have passed, hence need sum c2, d2 , 1/3* e2 , show value in w2. e2 multiplied 1/3 because 7th month 1/3rd of 3rd quarter. quarters financial quaters, doesn't start fy start.

hope clear. if point me in right direction appreciated.

try formula c2

=if(w$1<3,0,sum(c2:index(c2:w2,w$1/3)))+index(c2:w2,w$1/3+1)*mod(w$1,3)/3

that calculates how many whole quarters need included, partial ones. if function deals small c1 values


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -