have a worksheet that is from external data set:
SN,City,Date, SU,MO,TU,WE,TH,FR,SA, QTY ,[weeknum]
I add a column to put WEEKNUM based on date.
the dates are generally the past 13 weeks
what i am wanting to do is, sum each QTY (quantity sold) for each SN (store
number) by WEEKNUM and place results on another ws in same book
where the SN would be COL headings and the weeks in the ROW s.
thanks
yshridhar - 15 May 2008 04:29 GMT
Post sample data.
Try Sumproduct
may be you can try
=sumproduct(--(SN-range=sn)*--(weeknum-range=weekno),qtrrange)
Hope this is useful to you
Best wishes
Sreedhar
> have a worksheet that is from external data set:
> SN,City,Date, SU,MO,TU,WE,TH,FR,SA, QTY ,[weeknum]
[quoted text clipped - 5 lines]
> where the SN would be COL headings and the weeks in the ROW s.
> thanks
reno - 15 May 2008 22:38 GMT
thx, i setup different query to external data that gives me the correct data
w/o any further interevention
> Post sample data.
> Try Sumproduct
[quoted text clipped - 13 lines]
> > where the SN would be COL headings and the weeks in the ROW s.
> > thanks