#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default SUMIF?

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



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default SUMIF?

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

"reno" wrote:

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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default SUMIF?

thx, i setup different query to external data that gives me the correct data
w/o any further interevention

"yshridhar" wrote:

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

"reno" wrote:

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
SumIf Dorian C. Chalom Excel Worksheet Functions 7 July 14th 06 10:21 AM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"