Corporated into the same fromula please.

G

Guest

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.
 
R

Ragdyer

Try this:

=SUMPRODUCT(($D$1:$D$798="City")*(TRIM($C$1:$C$798)={"11-190-12","11-190-5",
"11-190-6","11-190-7"}))
 
G

Guest

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
 
A

Aladin Akyurek

=SUMPRODUCT(--($D$1:$D$798="City"),--(ISNUMBER(MATCH(TRIM($C$1:$C$798),{"11-190-12",
"11-190-5", "11-190-6", "11-190-7"},0)))
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.

--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top