Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default sumproduct across worksheets

Hi, I have the following formula in cell A1, sheet 1:
=sumproduct--('sheet2'!a1:a10="apple"),--('sheet2'!b1:b10="orange"),--('sheet2'!c1:c10)
1.how do I simplify this formula
2.can i include another sumproduct formula from sheet 3
Pls. help
Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default sumproduct across worksheets

1. That formula isn't valid. You're missing some of the parentheses.
Perhaps you intended to say
=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),--(Sheet2!C1:C10))
or
=SUMPRODUCT((Sheet2!A1:A10="apple")*(Sheet2!B1:B10 ="orange")*(Sheet2!C1:C10))
?
2.. Yes.
--
David Biddulph

"freebee" wrote in message
...
Hi, I have the following formula in cell A1, sheet 1:
=sumproduct--('sheet2'!a1:a10="apple"),--('sheet2'!b1:b10="orange"),--('sheet2'!c1:c10)
1.how do I simplify this formula
2.can i include another sumproduct formula from sheet 3
Pls. help
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default sumproduct across worksheets

Hi

=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),Sheet2!C1:C10)

to your 2nd question regarding sheet 3

=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),Sheet2!C1:C10)
+
SUMPRODUCT(--(Sheet3!A1:A10="apple"),--(Sheet3!B1:B10="orange"),Sheet3!C1:C10)

if this helps please click yes, thanks

"freebee" wrote:

Hi, I have the following formula in cell A1, sheet 1:
=sumproduct--('sheet2'!a1:a10="apple"),--('sheet2'!b1:b10="orange"),--('sheet2'!c1:c10)
1.how do I simplify this formula
2.can i include another sumproduct formula from sheet 3
Pls. help
Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default sumproduct across worksheets

Hi,thanks for the reply.
Sheet 3 is a file I copied from other workbook. When I add sheet 3, it
keeps asking me to update values by selecting a file. I tried to retrieve
sheet 3 and save as a new file then move to my master workbook, still does
not work. Anything I'm not doing right?
Thanks.

"Eduardo" wrote:

Hi

=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),Sheet2!C1:C10)

to your 2nd question regarding sheet 3

=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),Sheet2!C1:C10)
+
SUMPRODUCT(--(Sheet3!A1:A10="apple"),--(Sheet3!B1:B10="orange"),Sheet3!C1:C10)

if this helps please click yes, thanks

"freebee" wrote:

Hi, I have the following formula in cell A1, sheet 1:
=sumproduct--('sheet2'!a1:a10="apple"),--('sheet2'!b1:b10="orange"),--('sheet2'!c1:c10)
1.how do I simplify this formula
2.can i include another sumproduct formula from sheet 3
Pls. help
Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default sumproduct across worksheets

Hi,thanks for the reply.
Sheet 3 is a sheet I copied from other workbook. When I tried to add
sumproduct formula from sheet 3, a window always pops up asking me to update
value by selecting files from the directory. I tried to copy sheet 3, save as
new file, move it back to my master workbook, still does not work. Anything
I'm not doing right?
Thanks.

"Eduardo" wrote:

Hi

=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),Sheet2!C1:C10)

to your 2nd question regarding sheet 3

=SUMPRODUCT(--(Sheet2!A1:A10="apple"),--(Sheet2!B1:B10="orange"),Sheet2!C1:C10)
+
SUMPRODUCT(--(Sheet3!A1:A10="apple"),--(Sheet3!B1:B10="orange"),Sheet3!C1:C10)

if this helps please click yes, thanks

"freebee" wrote:

Hi, I have the following formula in cell A1, sheet 1:
=sumproduct--('sheet2'!a1:a10="apple"),--('sheet2'!b1:b10="orange"),--('sheet2'!c1:c10)
1.how do I simplify this formula
2.can i include another sumproduct formula from sheet 3
Pls. help
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
sumproduct using criteria from 2 worksheets brownmre Excel Worksheet Functions 1 February 10th 09 11:24 PM
Sumproduct across multiple worksheets Paul Excel Worksheet Functions 3 December 20th 08 04:40 AM
Sumproduct across worksheets mikelee101[_2_] Excel Worksheet Functions 3 January 31st 08 09:34 PM
Sumproduct across multiple worksheets woodcockmolely Excel Worksheet Functions 3 August 30th 06 09:28 AM
SUMPRODUCT across worksheets Stephen POWELL Excel Discussion (Misc queries) 3 January 25th 05 02:25 AM


All times are GMT +1. The time now is 04:52 AM.

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"