sum

K

kevcar40

Hi
i have 2 columns of data

Column A contains the Week number
Column B contains the production figure

A B
27 121.8857005
28 124.5395703
29 119.0771351
30 88.77096952
31 0
32 0
33 0.038461538
34 77.17431369
35 73.75013132
35 10
36 110.4825398
37 113.597772
38 83.05902338
39 77.00068555
34 276.6528609
34 62.63818451
34 77.17431369

What i want to do is :-

Count the production against each week
E F
27 121.8857005
28 124.5395703
29 119.0771351
30 88.77096952
31 0
32 0
33 0.038461538
34 493.6396728
35 83.75013132
36 110.4825398
37 113.597772
38 83.05902338
39 77.00068555
i am using this formula but it is not summing

SUMIF(INDIRECT("d2:d"&$D$1),A2,INDIRECT("B2:b"&$D$1))

thanks

kevin
 
M

Mike H

Hi,

Put you week numbers in a column somewhere, I used D1 down. Put this in E1
and drag down

=SUMIF($A$1:$A$17,D1,$B$1:$B$17)

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top