#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SUMPRODUCT

Hello,
In this worksheet all the details of every invoice are shown in columns:
invoice value, weight, destination, customer, etc. There is 1 row per invoice.
Column A shows in which period this invoice is, e.g. Period 2 (1 year = 13
periods of 4 weeks).

In the reporting for these results, the periods are horizontally, with the
details vertically.
I use the formula:
=SUMPRODUCT(--($A$2:$A60=L$66),--($U$2:$U60=$C67),$F$2:$F60).
A is the period (has to be the same as L66, €śPeriod 9€ť ; K66 is €śPeriod 8€ť
etc)
U is the destination (has to match the destination I write in C67:
€śSenegal€ť; C68 is €śHolland€ť etc)
F is the invoice value, the result I need.
So this formula gives me the total invoice value per destination per period.

I want to add another criteria now: in column AB, it shows if that customer
is part of the group or not: it has written in it €śGroup€ť or €ś3rd party€ť.
How do I get the invoice value per destination per period, but only for the
group, and the same for the 3rd parties?

Thank you very much,
Kristoff

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SUMPRODUCT

Add one more condition.

=SUMPRODUCT(--($A$2:$A60=L$66),--($U$2:$U60=$C67)
,--($AB$2:$AB60="Group"),$F$2:$F60)

If this post helps click Yes
---------------
Jacob Skaria


"ksel" wrote:

Hello,
In this worksheet all the details of every invoice are shown in columns:
invoice value, weight, destination, customer, etc. There is 1 row per invoice.
Column A shows in which period this invoice is, e.g. Period 2 (1 year = 13
periods of 4 weeks).

In the reporting for these results, the periods are horizontally, with the
details vertically.
I use the formula:
=SUMPRODUCT(--($A$2:$A60=L$66),--($U$2:$U60=$C67),$F$2:$F60).
A is the period (has to be the same as L66, €śPeriod 9€ť ; K66 is €śPeriod 8€ť
etc)
U is the destination (has to match the destination I write in C67:
€śSenegal€ť; C68 is €śHolland€ť etc)
F is the invoice value, the result I need.
So this formula gives me the total invoice value per destination per period.

I want to add another criteria now: in column AB, it shows if that customer
is part of the group or not: it has written in it €śGroup€ť or €ś3rd party€ť.
How do I get the invoice value per destination per period, but only for the
group, and the same for the 3rd parties?

Thank you very much,
Kristoff

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SUMPRODUCT

Thank you very much, that's exactly what I need!
(I tried to add a condition, but I must have done something wrong)

How come you know so much about this? And so fast! Are you working
professionally with Excel?



"Jacob Skaria" wrote:

Add one more condition.

=SUMPRODUCT(--($A$2:$A60=L$66),--($U$2:$U60=$C67)
,--($AB$2:$AB60="Group"),$F$2:$F60)

If this post helps click Yes
---------------
Jacob Skaria


"ksel" wrote:

Hello,
In this worksheet all the details of every invoice are shown in columns:
invoice value, weight, destination, customer, etc. There is 1 row per invoice.
Column A shows in which period this invoice is, e.g. Period 2 (1 year = 13
periods of 4 weeks).

In the reporting for these results, the periods are horizontally, with the
details vertically.
I use the formula:
=SUMPRODUCT(--($A$2:$A60=L$66),--($U$2:$U60=$C67),$F$2:$F60).
A is the period (has to be the same as L66, €śPeriod 9€ť ; K66 is €śPeriod 8€ť
etc)
U is the destination (has to match the destination I write in C67:
€śSenegal€ť; C68 is €śHolland€ť etc)
F is the invoice value, the result I need.
So this formula gives me the total invoice value per destination per period.

I want to add another criteria now: in column AB, it shows if that customer
is part of the group or not: it has written in it €śGroup€ť or €ś3rd party€ť.
How do I get the invoice value per destination per period, but only for the
group, and the same for the 3rd parties?

Thank you very much,
Kristoff

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 SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct sanders Excel Discussion (Misc queries) 2 August 18th 06 09:10 PM
Sumproduct Hunter Excel Worksheet Functions 1 August 17th 06 10:52 PM
SUMPRODUCT Sho Excel Worksheet Functions 5 November 11th 05 10:47 AM


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