ExcelBanter

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

[email protected]

Sumproduct problem...
 
So I can't get the formula below to work. Any suggestions?

For reference, the sheet with all the data is called "All Movements".
From that sheet I want to sum all the figures in column E that match

with the name "Mike" in column D, and the province abbreviation "AB" in
column O.

=SUMPRODUCT(--('All Movements'!D:D="Mike"),--('All
Movements'!O:O="AB"),'All Movements'!E:E)

Right now I get #NUM error in the cell.

Thanks.


Roger Govier

Sumproduct problem...
 
Hi

You can't use whole column references with Sumproduct.
Change to
=SUMPRODUCT(--('All Movements'!$D$1::$D$65535="Mike"),--('All
Movements'!$O$1:$O$65535="AB"),'All Movements'!$E$:$E$65535)


--
Regards

Roger Govier


wrote in message
ups.com...
So I can't get the formula below to work. Any suggestions?

For reference, the sheet with all the data is called "All Movements".
From that sheet I want to sum all the figures in column E that match

with the name "Mike" in column D, and the province abbreviation "AB"
in
column O.

=SUMPRODUCT(--('All Movements'!D:D="Mike"),--('All
Movements'!O:O="AB"),'All Movements'!E:E)

Right now I get #NUM error in the cell.

Thanks.




Roger Govier

Sumproduct problem...
 
Apologies
I inadvertently put an extra colon in when modifying your formula. It
should read
=SUMPRODUCT(--('All Movements'!$D$1:$D$65535="Mike"),--('All
Movements'!$O$1:$O$65535="AB"),'All Movements'!$E$:$E$65535)

--
Regards

Roger Govier


"Roger Govier" wrote in message
...
Hi

You can't use whole column references with Sumproduct.
Change to
=SUMPRODUCT(--('All Movements'!$D$1::$D$65535="Mike"),--('All
Movements'!$O$1:$O$65535="AB"),'All Movements'!$E$:$E$65535)


--
Regards

Roger Govier


wrote in message
ups.com...
So I can't get the formula below to work. Any suggestions?

For reference, the sheet with all the data is called "All Movements".
From that sheet I want to sum all the figures in column E that match

with the name "Mike" in column D, and the province abbreviation "AB"
in
column O.

=SUMPRODUCT(--('All Movements'!D:D="Mike"),--('All
Movements'!O:O="AB"),'All Movements'!E:E)

Right now I get #NUM error in the cell.

Thanks.







All times are GMT +1. The time now is 07:50 AM.

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