Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Need help with sumproduct and dynamic ranges

Select the whole table from row 29 in the Brand column to whatever the last
row can be in the 24th Sales column and give it a name like MyTable
(insertnamedefine), then you can use this formula

=SUMPRODUCT((INDEX(MyTable,,1)=B1)*(INDEX(MyTable, ,2)=B2)*(INDEX(MyTable,,3)=B3)*(INDEX(MyTable,,4): INDEX(MyTable,,3+B4)))

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Bill_S" wrote in message
...
I need help creating a sumproduct formula to sum the sales data for a
particular sales territory. The data sheet that the formula will
reference
is set up such that the column headings are in row 28 and the data begins
in
row 29 (I won't bore you with why) and continues on for thousands of rows.
The columns a Brand, Territory, Product, Sales1 (sales for current
month),
Sales 2 (sales for last month), Sales 3,....,Sales 24.

On the summary sheet where I will place this this sumproduct formula in
cell
B10. I have in cells B1:B4 the values I am looking for that I can change
and
the formula in cell B10 should then update:
B1 = Brand in question
B2 = Territory in question
B3 = Product in question
B4 = # of sales months to sum.

B4 is a wrinkle because the # of columns of data for the sumproduct
formula
to sum is variable.

I am guessing that some combination of dynamic ranges and a sumproduct
formula maybe could accomplish this. How can I make this happen? Any
advice
would be greatly appreciated.


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
Conditional Sum Wizard with dynamic named ranges willee Excel Worksheet Functions 4 February 5th 06 07:03 PM
Dynamic Ranges: Speed Issue Sige Excel Worksheet Functions 5 December 12th 05 09:28 PM
Problem with Slow ReCalculation of Dynamic Range Using OFFSET Kris_Wright_77 Excel Worksheet Functions 2 November 18th 05 10:18 AM
Dynamic range names, multiple criteria, sumproduct [email protected] Excel Discussion (Misc queries) 1 September 20th 05 02:58 AM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM


All times are GMT +1. The time now is 12:37 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"