Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steved
 
Posts: n/a
Default Corporated into the same fromula please.

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.
  #2   Report Post  
Bernard Liengme
 
Posts: n/a
Default

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.



  #3   Report Post  
Ragdyer
 
Posts: n/a
Default

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"}))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"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.


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

  #5   Report Post  
Steved
 
Posts: n/a
Default

Hello from Steved

Thankyou.

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



  #6   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=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)))

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.


--

[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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a fromula comotoman Excel Discussion (Misc queries) 3 October 3rd 05 05:00 PM
Fromula to take employee # out of employee name field mikeburg Excel Discussion (Misc queries) 9 September 12th 05 03:41 AM


All times are GMT +1. The time now is 06:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"