Rectify function - combination of Sumproduct and OR
Try it like this:
=SUMPRODUCT(($B$19:$B$24="av")*(LEFT($C$19:$C$24,4 )<"Bank")*($D$19:$D
$24))
Hope this helps.
Pete
On Feb 27, 10:04*am, "Hilton" wrote:
Hi,
1) how can I combine Sumproduct and the OR function?
eg
* * * av Bank1 1
* * * av Bank2 2
* * * av Bank3 3
* * * av LADD 4
* * * av LCH 3
* * * av MSL 2
=SUMPRODUCT(($B$19:$B$24="av")*OR(($C$19:$C$24<"B ank1"),($C$19:$C$24<"Ban*k
2"),($C$19:$C$24<"Bank3"))*($D$19:$D$24))
returns 15
but I want it to pick up only LADD, LCH & MSL
i.e return 9!
2) can one use wildcard characters?
eg if *there is a Bank4 and Bank5 in the list
|