#1   Report Post  
Posted to microsoft.public.excel.misc
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Sumproduct

Hello, I haven't managed to get this to work, maybe someone can help me with
the formula... I want to get the sum when it meets 2 criteria. I will fill
with this a table that has on x-axis: Month on y-axis: Supplier.

Month should be taken from Sheet: 2007, Column: Y
Supplier from Sheet: 2007, Column: I
and the amount added is Column: K

They are as a range, not as a table.

,thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Sumproduct

=SUMPRODUCT(--(MONTH(Y2:Y200)=12),--(I2:I200="supplier"),K2:K200)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ed" wrote in message
...
Hello, I haven't managed to get this to work, maybe someone can help me

with
the formula... I want to get the sum when it meets 2 criteria. I will fill
with this a table that has on x-axis: Month on y-axis: Supplier.

Month should be taken from Sheet: 2007, Column: Y
Supplier from Sheet: 2007, Column: I
and the amount added is Column: K

They are as a range, not as a table.

,thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Sumproduct

Thanks, both solutions work for me

,Ed
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default Sumproduct

Ed,

Not sure what you want to do, as your explanation is not very clear.
Do I understand that you want to make a table with Month versus Supplier out
of a list/range in your sheet 2007?
If that is the case, can I recommend you use a pivot table?
Look under Data - Pivot Table, select the range that you want (including
column I, K, and Y) and click through. Once done, drag the Month header to
the top line and the supplier header to the column side. Last but not least
drag the amount to the data area, and I guess that is what you need.
Make sure that all columns in your pivot table datarange have unique
headers, otherwise it won't allow you to make a pivot table. Good luck. Rob

"Ed" wrote:

Hello, I haven't managed to get this to work, maybe someone can help me with
the formula... I want to get the sum when it meets 2 criteria. I will fill
with this a table that has on x-axis: Month on y-axis: Supplier.

Month should be taken from Sheet: 2007, Column: Y
Supplier from Sheet: 2007, Column: I
and the amount added is Column: K

They are as a range, not as a table.

,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
Adding "OR" to a Sumproduct Formula Duke Carey Excel Worksheet Functions 0 March 21st 06 06:41 PM
Need help with sumproduct and dynamic ranges Bill_S Excel Worksheet Functions 2 March 19th 06 01:19 AM
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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