Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default sumproduct formula

Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having the same
Invoıce number as in Sheet1 column A and having the same letter in column F
as in sheet1 column B.

Thanks for help

Ermek


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default sumproduct formula

Hi

Try
=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

Change ranges to suit, but keep them of equal length.

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default sumproduct formula

Apologies, got carried away with the dollars!!!
=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)


Should be
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default sumproduct formula

Roger thanks for help,
When I type the formula and push the "enter" button I got an error message?

Thanks,

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!
=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)


Should be
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default sumproduct formula

=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

when I chenge "," with ";" the formula works.

Roger thanks for your help.

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!
=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)


Should be
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default sumproduct formula

Hi

Thanks for the feedback.
Difference in Regional settings for you compared with me in the UK was
the reason you needed to change the commas to semi-colons.
Glad you got it to work.

--
Regards

Roger Govier


"ermeko" wrote in message
...
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

when I chenge "," with ";" the formula works.

Roger thanks for your help.

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!
=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)


Should be
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having
the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default sumproduct formula

Another reason to use:

=SUMPRODUCT((Sheet2!$A$1:$A$1000=A1)*(Sheet2!$F$1: $F$1000=B1)*Sheet2!$E$1:$E
$1000)
<vbg

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"Roger Govier" wrote in message
...
Hi

Thanks for the feedback.
Difference in Regional settings for you compared with me in the UK was
the reason you needed to change the commas to semi-colons.
Glad you got it to work.

--
Regards

Roger Govier


"ermeko" wrote in message
...

=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$
1:$E$1000)

when I chenge "," with ";" the formula works.

Roger thanks for your help.

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!

=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$

E$1:$E$1000)

Should be

=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$
1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having
the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek








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

I always used to, and I'm beginning to think your right RD<bg

--
Regards

Roger Govier


"RagDyeR" wrote in message
...
Another reason to use:

=SUMPRODUCT((Sheet2!$A$1:$A$1000=A1)*(Sheet2!$F$1: $F$1000=B1)*Sheet2!$E$1:$E
$1000)
<vbg

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"Roger Govier" wrote in message
...
Hi

Thanks for the feedback.
Difference in Regional settings for you compared with me in the UK was
the reason you needed to change the commas to semi-colons.
Glad you got it to work.

--
Regards

Roger Govier


"ermeko" wrote in message
...

=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$
1:$E$1000)

when I chenge "," with ";" the formula works.

Roger thanks for your help.

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!

=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$

E$1:$E$1000)

Should be

=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$
1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having
the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek










  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default sumproduct formula

It does have it's place, but they're few and far between.
--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------

"Roger Govier" wrote in message
...
I always used to, and I'm beginning to think your right RD<bg

--
Regards

Roger Govier


"RagDyeR" wrote in message
...
Another reason to use:


=SUMPRODUCT((Sheet2!$A$1:$A$1000=A1)*(Sheet2!$F$1: $F$1000=B1)*Sheet2!$E$1:$E
$1000)
<vbg

--

Regards,

RD
--------------------------------------------------------------------------

--
-------------------
Please keep all correspondence within the Group, so all may benefit !
--------------------------------------------------------------------------

--
-------------------

"Roger Govier" wrote in message
...
Hi

Thanks for the feedback.
Difference in Regional settings for you compared with me in the UK was
the reason you needed to change the commas to semi-colons.
Glad you got it to work.

--
Regards

Roger Govier


"ermeko" wrote in message
...


=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$
1:$E$1000)

when I chenge "," with ";" the formula works.

Roger thanks for your help.

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!

=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!

$
E$1:$E$1000)

Should be


=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$
1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having
the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek











  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default sumproduct formula

Hi,
I also think it is becouse of regional settings. Now I face problems with
date formulas, probably becouse of regional settings.

Thanks again

"Roger Govier" wrote:

Hi

Thanks for the feedback.
Difference in Regional settings for you compared with me in the UK was
the reason you needed to change the commas to semi-colons.
Glad you got it to work.

--
Regards

Roger Govier


"ermeko" wrote in message
...
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

when I chenge "," with ";" the formula works.

Roger thanks for your help.

"Roger Govier" wrote:

Apologies, got carried away with the dollars!!!
=SUMPRODUCT(--(Sheet2!$A$$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

Should be
=SUMPRODUCT(--(Sheet2!$A$1:$A$1000=A1),--(Sheet2!$F$1:$F$1000=B1),Sheet2!$E$1:$E$1000)

--
Regards

Roger Govier


"ermeko" wrote in message
...
Hi,
I hava a workbook with 2 worksheets.

Sheet1 consists of 3 columns:
column A: invoice number
column B: "H" or "B" letters
column C: numerical value

Sheet2 consists of 10 columns:
column A: invoice number
column B: product item ID
column C: product weight
column D: price
column E: number of Items
column F: "H" or "B"

The task is:
1.For C column in Sheet1 to sum all the column E in Sheet2 having
the
same
Invoice number as in Sheet1 column A and having the same letter in
column F
as in sheet1 column B.

Thanks for help

Ermek








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
SumProduct Formula Help bountifulgrace Excel Worksheet Functions 2 May 4th 06 08:14 PM
do I need array formula or sumproduct for counting? Karin Excel Worksheet Functions 3 March 30th 06 05:50 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
sumproduct formula to slow Todd Excel Worksheet Functions 4 December 21st 04 11:25 PM
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 02:33 PM.

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

About Us

"It's about Microsoft Excel"