ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct error (https://www.excelbanter.com/excel-worksheet-functions/116607-sumproduct-error.html)

Curtis

Sumproduct error
 
I am using the following fomula below to calculate the sum of the number of
times the value of 1 is returned in cloumn g based on the conditions below.
However it returns an error of #VALUE!.

Column J contains employee ID's
Column b contains a value of 1 if certain conditions are met
Column G contains a value of 1 if certain conditions are met

=SUMPRODUCT((('Employee Data'!$J$5:$J$260=$A33)*('Employee
Data'!$B$5:$B$260=1)*('Employee Data'!$G$5:$G$260=1)*('Employee
Data'!$G$5:$G$260)))


Thanks

ce


Bob Phillips

Sumproduct error
 
You don't need the final range

=SUMPRODUCT(('Employee Data'!$J$5:$J$260=$A33)*
('Employee Data'!$B$5:$B$260=1)*
('Employee Data'!$G$5:$G$260=1))

but that apart, it works fine, so there must be some problems with the data.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Curtis" wrote in message
...
I am using the following fomula below to calculate the sum of the number

of
times the value of 1 is returned in cloumn g based on the conditions

below.
However it returns an error of #VALUE!.

Column J contains employee ID's
Column b contains a value of 1 if certain conditions are met
Column G contains a value of 1 if certain conditions are met

=SUMPRODUCT((('Employee Data'!$J$5:$J$260=$A33)*('Employee
Data'!$B$5:$B$260=1)*('Employee Data'!$G$5:$G$260=1)*('Employee
Data'!$G$5:$G$260)))


Thanks

ce




Curtis

Sumproduct error
 
I thought I treid that...

Thanks

"Bob Phillips" wrote:

You don't need the final range

=SUMPRODUCT(('Employee Data'!$J$5:$J$260=$A33)*
('Employee Data'!$B$5:$B$260=1)*
('Employee Data'!$G$5:$G$260=1))

but that apart, it works fine, so there must be some problems with the data.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Curtis" wrote in message
...
I am using the following fomula below to calculate the sum of the number

of
times the value of 1 is returned in cloumn g based on the conditions

below.
However it returns an error of #VALUE!.

Column J contains employee ID's
Column b contains a value of 1 if certain conditions are met
Column G contains a value of 1 if certain conditions are met

=SUMPRODUCT((('Employee Data'!$J$5:$J$260=$A33)*('Employee
Data'!$B$5:$B$260=1)*('Employee Data'!$G$5:$G$260=1)*('Employee
Data'!$G$5:$G$260)))


Thanks

ce






All times are GMT +1. The time now is 12:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com