Try
=SOMPRODUCT((LEFT('nieuwe productie 2006'!G4:G1004,3)="DUO")*
('nieuwe productie 2006'!O4:O1004="afgesloten")*('nieuwe productie
2006'!S4:S1004))
--
Regards,
Peo Sjoblom
"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:59c567156c97a@uwe...
Hi experts,
I have the following code that works fine:
=SOMPRODUCT(('nieuwe productie 2006'!G4:G1004,3)="DUO Bedrijfspensioen")*
('nieuwe productie 2006'!O4:O1004="afgesloten")*('nieuwe productie
2006'!S4:
S1004))
The problem is that not only do i want to sum the cells where G4:G1004 =
"DUO
Bedrijfspensioen" but where
the left 3 characters are "DUO"
Any ideas how to adapt my code so that it only looks at the first three
characters in G4:G1004?
Thanks,
Pierre
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200601/1