Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Sumproduct Problem (AB)

Hi everyone, can you please sort out this problem for me?

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138 is the Client Name
Client Opening Stock'!C2:AH138 is the Product
'Client Opening Stock'!C2:X138 is the Amount

I belive the formula is not the proper formula, but this is the result I need.

Thank you for your kind help


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Sumproduct Problem (AB)

You need to tell us what the problem is, and what solution you want. Why is
it "not the proper formula"? What is "the result I need"?

Regards,
Fred

"albertmb" wrote in message
...
Hi everyone, can you please sort out this problem for me?

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138 is the Client Name
Client Opening Stock'!C2:AH138 is the Product
'Client Opening Stock'!C2:X138 is the Amount

I belive the formula is not the proper formula, but this is the result I
need.

Thank you for your kind help



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Sumproduct Problem (AB)

Hi Fred,
Thank you for responding and I apologise if I was not clear. The result I
am getting for this formula is 'VALUE' so I assume there is something wrong
with the formula. I will try to explain better,

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138=$A$1, (B2:B138) is the range where the client
names are listed and "A1" is where the client name is written on the result
sheet.

'Client Opening Stock'!C2:AH138=A7 (C2:AH138) is the range where the
Products are listed and 'A7' is where the product name is written on the
result sheet.

'Client Opening Stock'!C2:X138 is the Quantity of product that is associated
with the client name.

Thank You once again and I hope I was able to explain myself better

"Fred Smith" wrote:

You need to tell us what the problem is, and what solution you want. Why is
it "not the proper formula"? What is "the result I need"?

Regards,
Fred

"albertmb" wrote in message
...
Hi everyone, can you please sort out this problem for me?

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138 is the Client Name
Client Opening Stock'!C2:AH138 is the Product
'Client Opening Stock'!C2:X138 is the Amount

I belive the formula is not the proper formula, but this is the result I
need.

Thank you for your kind help



.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Sumproduct Problem (AB)

Your problem is that all ranges in a Sumproduct have to contain the same
number of cells. Do you mean:
SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:C138=A7),'Client Opening Stock'!X2:X138)
?

Regards,
Fred

"albertmb" wrote in message
...
Hi Fred,
Thank you for responding and I apologise if I was not clear. The result I
am getting for this formula is 'VALUE' so I assume there is something
wrong
with the formula. I will try to explain better,

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138=$A$1, (B2:B138) is the range where the
client
names are listed and "A1" is where the client name is written on the
result
sheet.

'Client Opening Stock'!C2:AH138=A7 (C2:AH138) is the range where the
Products are listed and 'A7' is where the product name is written on the
result sheet.

'Client Opening Stock'!C2:X138 is the Quantity of product that is
associated
with the client name.

Thank You once again and I hope I was able to explain myself better

"Fred Smith" wrote:

You need to tell us what the problem is, and what solution you want. Why
is
it "not the proper formula"? What is "the result I need"?

Regards,
Fred

"albertmb" wrote in message
...
Hi everyone, can you please sort out this problem for me?

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138 is the Client Name
Client Opening Stock'!C2:AH138 is the Product
'Client Opening Stock'!C2:X138 is the Amount

I belive the formula is not the proper formula, but this is the result
I
need.

Thank you for your kind help



.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sumproduct Approach

Your formula contains some overlapping ranges I don't think were intended.

Please consider the following:

Client 2 Product 2

Client Product Amount
Client 1 Product 1 1
Client 2 Product 2 2
Client 3 Product 3 3
Client 4 Product 4 4
Client 5 Product 5 5
Client 6 Product 6 6
Client 7 Product 7 7
Client 8 Product 8 8
Client 9 Product 9 9
Client 10 Product 10 10
Client 11 Product 11 11

=SUMPRODUCT((A4:A14=$A$1)*(B4:B14=$B$1),C4:C14) = 2

The intersecting "Amount" for your given Client and Product if and only if the two selections happen to occur on the same line.

Is this the intended effect?





albertmb wrote:

Sumproduct Problem (AB)
25-Feb-10

Hi everyone, can you please sort out this problem for me?

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138 is the Client Name
Client Opening Stock'!C2:AH138 is the Product
'Client Opening Stock'!C2:X138 is the Amount

I belive the formula is not the proper formula, but this is the result I need.

Thank you for your kind help

Previous Posts In This Thread:

On Thursday, February 25, 2010 11:21 PM
albertmb wrote:

Sumproduct Problem (AB)
Hi everyone, can you please sort out this problem for me?

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138 is the Client Name
Client Opening Stock'!C2:AH138 is the Product
'Client Opening Stock'!C2:X138 is the Amount

I belive the formula is not the proper formula, but this is the result I need.

Thank you for your kind help

On Thursday, February 25, 2010 11:51 PM
Fred Smith wrote:

You need to tell us what the problem is, and what solution you want.
You need to tell us what the problem is, and what solution you want. Why is
it "not the proper formula"? What is "the result I need"?

Regards,
Fred

On Friday, February 26, 2010 12:59 AM
albertmb wrote:

Hi Fred,Thank you for responding and I apologise if I was not clear.
Hi Fred,
Thank you for responding and I apologise if I was not clear. The result I
am getting for this formula is 'VALUE' so I assume there is something wrong
with the formula. I will try to explain better,

SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:AH138=A7),'Client Opening Stock'!C2:X138)

'Client Opening Stock'!B2:B138=$A$1, (B2:B138) is the range where the client
names are listed and "A1" is where the client name is written on the result
sheet.

'Client Opening Stock'!C2:AH138=A7 (C2:AH138) is the range where the
Products are listed and 'A7' is where the product name is written on the
result sheet.

'Client Opening Stock'!C2:X138 is the Quantity of product that is associated
with the client name.

Thank You once again and I hope I was able to explain myself better

"Fred Smith" wrote:

On Friday, February 26, 2010 10:45 AM
Fred Smith wrote:

Your problem is that all ranges in a Sumproduct have to contain the samenumber
Your problem is that all ranges in a Sumproduct have to contain the same
number of cells. Do you mean:
SUMPRODUCT(('Client Opening Stock'!B2:B138=$A$1)*('Client Opening
Stock'!C2:C138=A7),'Client Opening Stock'!X2:X138)
?

Regards,
Fred


Submitted via EggHeadCafe - Software Developer Portal of Choice
Using VSTO Add-In To Automate Frequent Excel 2007 Tasks
http://www.eggheadcafe.com/tutorials...n-to-auto.aspx


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
Problem with SUMPRODUCT....help please! Tasha Excel Worksheet Functions 5 July 16th 07 08:20 PM
Sumproduct problem... [email protected] Excel Worksheet Functions 2 October 6th 06 09:56 PM
sumproduct problem andy New Users to Excel 2 March 29th 06 01:52 PM
sumproduct problem Stefan Excel Worksheet Functions 2 January 5th 06 10:59 AM
SUMPRODUCT problem Jane Excel Worksheet Functions 3 November 8th 04 11:58 PM


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