> Hi. I am having issues with learning the idea behind the SUMPRODUCT
> formula
[quoted text clipped - 24 lines]
> ---------------------------------------------
> Thanks!
I really wish that I could use the SUMIF .... but doesn't that require that
both workbooks be open? I want this to work whether or not both are open. I
was told that SUMPRODUCT works to do this over SUMIF... I may be wrong. Can
I just translate that SUMIF statement over to the SUMPRODUCT, or do I need to
change anything?

Signature
---------------------------------------------
Thanks!
> The operation you describe is doable with simple a SUMIF:
> =SUMIF([WBA.xls]Sheet1!A:A,"John Doe",[WBA.xls]Sheet1!K:K)
[quoted text clipped - 31 lines]
> > ---------------------------------------------
> > Thanks!
Bob Phillips - 26 Jun 2006 18:23 GMT
=SUMPRODUCT(--([WBA.xls]Sheet1!A1:A1000="John
Doe"),[WBA.xls]Sheet1!K1:K1000)
Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.
--
HTH
Bob Phillips
(replace xxxx in the email address with gmail if mailing direct)
> I really wish that I could use the SUMIF .... but doesn't that require that
> both workbooks be open? I want this to work whether or not both are open. I
[quoted text clipped - 40 lines]
> > > ---------------------------------------------
> > > Thanks!
Franz Verga - 26 Jun 2006 18:25 GMT
> I really wish that I could use the SUMIF .... but doesn't that
> require that both workbooks be open? I want this to work whether or
[quoted text clipped - 4 lines]
>> The operation you describe is doable with simple a SUMIF:
>> =SUMIF([WBA.xls]Sheet1!A:A,"John Doe",[WBA.xls]Sheet1!K:K)
Hi Ashlynn,
SUMIF function requires both WB open.
To translate from SUMIF to SUMPRODUCT you have to remember that in
SUMPRODUCT you cannot use whole columns, so the above formula could be
translated in this way:
=SUMPRODUCT(([WBA.xls]Sheet1!A2:A1000="John
Doe")*([WBA.xls]Sheet1!K2:K1000))
or if you want the possibility to change the condition, you can use:
=SUMPRODUCT(([WBA.xls]Sheet1!A2:A1000=A3)*([WBA.xls]Sheet1!K2:K1000))
where in A3 you can type "John Doe" (whitout quote) or use a Data Validation
to change the value.

Signature
Hope I helped you.
Thanks in advance for your feedback.
Ciao
Franz Verga from Italy
Ashlynn Grace - 26 Jun 2006 18:55 GMT
Ok... I am about to be frustrated... Here is the formula:
=SUMPRODUCT(('[Production Manager Commission Payroll
Report.xls]Sheet1'!A2:A65536=Curtis B Carter)*('[Production Manager
Commission Payroll Report.xls]Sheet1'!K2:K65536))
Why am I getting a #NAME error in the cells? This is exactly what my
workbook is named... No Clue as to what I can do to make this work like it
should.
---------------------------------------------
Thanks!
> > I really wish that I could use the SUMIF .... but doesn't that
> > require that both workbooks be open? I want this to work whether or
[quoted text clipped - 21 lines]
> where in A3 you can type "John Doe" (whitout quote) or use a Data Validation
> to change the value.
Franz Verga - 26 Jun 2006 19:04 GMT
> Ok... I am about to be frustrated... Here is the formula:
>
[quoted text clipped - 5 lines]
> workbook is named... No Clue as to what I can do to make this work
> like it should.
If you put the value of condition insiide the formula, you must type quotes
around it if it is a text value, so you can use:
=SUMPRODUCT(('[Production Manager Commission Payroll
Report.xls]Sheet1'!A2:A65536="Curtis B Carter")*('[Production Manager
Commission Payroll Report.xls]Sheet1'!K2:K65536))
or
=SUMPRODUCT(('[Production Manager Commission Payroll
Report.xls]Sheet1'!A2:A65536=B2)*('[Production Manager
Commission Payroll Report.xls]Sheet1'!K2:K65536))
and typing
"Curtis B Carter" (without quotes) in B2

Signature
Hope I helped you.
Thanks in advance for your feedback.
Ciao
Franz Verga from Italy
Ashlynn Grace - 26 Jun 2006 21:13 GMT
Anyone have an idea why this formula would be giving me a #REF! error? The
help guide is of no help at all. I am sure that I don't have any cells
pointing at one another or anything like that. I don't know if this has
anything to do with it, but the cells in column K have a formula in them that
pulls from other cells in the same workbook to bring over to this new
workbook, where the following formula is placed:
=SUMPRODUCT(('[Production Manager Commission Payroll
Report.xls]Sheet1'!A2:A65536="Curtis B Carter")*('[Production Manager
Commission Payroll Report.xls]Sheet1'!K2:K65536))
---------------------------------------------
Please HELP!! Thanks!
> > Ok... I am about to be frustrated... Here is the formula:
> >
[quoted text clipped - 22 lines]
>
> "Curtis B Carter" (without quotes) in B2
Franz Verga - 26 Jun 2006 21:54 GMT
> Anyone have an idea why this formula would be giving me a #REF!
> error? The help guide is of no help at all. I am sure that I don't
[quoted text clipped - 7 lines]
> Report.xls]Sheet1'!A2:A65536="Curtis B Carter")*('[Production Manager
> Commission Payroll Report.xls]Sheet1'!K2:K65536))
It's seem very strange...
I think this should work...
Try this way
=SUMPRODUCT(--('[Production Manager Commission Payroll
Report.xls]Sheet1'!A2:A65536="Curtis B Carter"),('[Production Manager
Commission Payroll Report.xls]Sheet1'!K2:K65536))
If this should not work, you can try to post an example workbook at
www.savefile.com

Signature
Hope I helped you.
Thanks in advance for your feedback.
Ciao
Franz Verga from Italy