ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct - multiple Sum ifs (https://www.excelbanter.com/excel-worksheet-functions/229351-sumproduct-multiple-sum-ifs.html)

Louja

Sumproduct - multiple Sum ifs
 
=((SUMPRODUCT(--('Group Rate'!$A$3:$A$255=M2),--('Group Rate'!$B$3:$B
$255=F2),--('Group Rate'!$E$3:$E$255))))

I get a Value error when trying to use the above formula but am unsure
why as it does work for similar instances. Any help is appreciated.

Mike H

Sumproduct - multiple Sum ifs
 
Hi,

The formula is fine so a value error would be returned if there are non
numeric values in column E, check you have no text in that range.

Mike

"Louja" wrote:

=((SUMPRODUCT(--('Group Rate'!$A$3:$A$255=M2),--('Group Rate'!$B$3:$B
$255=F2),--('Group Rate'!$E$3:$E$255))))

I get a Value error when trying to use the above formula but am unsure
why as it does work for similar instances. Any help is appreciated.


Louja

Sumproduct - multiple Sum ifs
 
Thanks - I had somehow figured that myself just after posting it that
I had column headings and that is the problem.

bosco_yip[_2_]

Sumproduct - multiple Sum ifs
 
Try this instead :

=((SUMPRODUCT(--ISNUMBER(FIND(M2,'Group
Rate'!$A$3:$A$255)),--ISNUMBER(FIND(F2,'Group Rate'!$B$3:$B$255)),--('Group
Rate'!$E$3:$E$255))))

Regards
Bosco


"Louja" wrote:

=((SUMPRODUCT(--('Group Rate'!$A$3:$A$255=M2),--('Group Rate'!$B$3:$B
$255=F2),--('Group Rate'!$E$3:$E$255))))

I get a Value error when trying to use the above formula but am unsure
why as it does work for similar instances. Any help is appreciated.


bosco_yip[_2_]

Sumproduct - multiple Sum ifs
 
Try this instead :

=((SUMPRODUCT(--ISNUMBER(FIND(M2,'Group
Rate'!$A$3:$A$255)),--ISNUMBER(FIND(F2,'Group Rate'!$B$3:$B$255)),--('Group
Rate'!$E$3:$E$255))))

Regards
Bosco


"Louja" wrote:

=((SUMPRODUCT(--('Group Rate'!$A$3:$A$255=M2),--('Group Rate'!$B$3:$B
$255=F2),--('Group Rate'!$E$3:$E$255))))

I get a Value error when trying to use the above formula but am unsure
why as it does work for similar instances. Any help is appreciated.



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

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