Did you try with a tiny dataset for which the answer is easy to find?
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
"Steved" wrote in message
...
Hello from Steved
"11-190" is type of vehicle
"11-190-12", "11-190-5", "11-190-6", "11-190-7"
Can the above be incorporated into the formula below.
=SUMPRODUCT(--($D$1:$D$798="City"),--(TRIM($C$1:$C$798)="11-190"))
Thankyou.