View Single Post
  #4   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

I hope i have uinderstood your question.
Try this array formula (Ctrl+Shift+Enter)

SUM(IF((A3:A6="City")*(ISNUMBER(FIND(A8,$B$3:$B$6) )),1,0))

A8 houses 11-190
$B$3:$B$6 houses "11-190-12", "11-190-5", "11-190-6", "11-190-7"

Regards,

Ashish Mathur


"Steved" wrote:

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.