Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scire
 
Posts: n/a
Default sumproduct three conditions

Need to count the number of time that first 3 characters in col a appear,
based on col b 0 and col c<1.
The following formula is not working, the formula is not finding AAS:
=SUMPRODUCT($A$4:$A$2002="aas*",$B$4:$B$20020,$D$ 4:$D$2002<1)

Data:
A B C D
AASR241 1 1 1
AASR340 1 1 0
AASR444 1 1 0
CAP1201 1 1 0

the results should be 2.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default sumproduct three conditions

Try this:

A1: AAS
B1: =SUMPRODUCT((LEFT(A4:A2002,LEN(A1))=A1)*(B4:B2002 0)*(D4:D2002<1))

Does that help?
***********
Regards,
Ron

XL2002, WinXP-Pro


"Scire" wrote:

Need to count the number of time that first 3 characters in col a appear,
based on col b 0 and col c<1.
The following formula is not working, the formula is not finding AAS:
=SUMPRODUCT($A$4:$A$2002="aas*",$B$4:$B$20020,$D$ 4:$D$2002<1)

Data:
A B C D
AASR241 1 1 1
AASR340 1 1 0
AASR444 1 1 0
CAP1201 1 1 0

the results should be 2.

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default sumproduct three conditions

Try...

=SUMPRODUCT(--(LEFT($A$4:$A$2002,3)="AAS"),--($B$4:$B$20020),--($D$4:$D$
2002<1))

Hope this helps!

In article ,
Scire wrote:

Need to count the number of time that first 3 characters in col a appear,
based on col b 0 and col c<1.
The following formula is not working, the formula is not finding AAS:
=SUMPRODUCT($A$4:$A$2002="aas*",$B$4:$B$20020,$D$ 4:$D$2002<1)

Data:
A B C D
AASR241 1 1 1
AASR340 1 1 0
AASR444 1 1 0
CAP1201 1 1 0

the results should be 2.

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scire
 
Posts: n/a
Default sumproduct three conditions

Thanks.

"Domenic" wrote:

Try...

=SUMPRODUCT(--(LEFT($A$4:$A$2002,3)="AAS"),--($B$4:$B$20020),--($D$4:$D$
2002<1))

Hope this helps!

In article ,
Scire wrote:

Need to count the number of time that first 3 characters in col a appear,
based on col b 0 and col c<1.
The following formula is not working, the formula is not finding AAS:
=SUMPRODUCT($A$4:$A$2002="aas*",$B$4:$B$20020,$D$ 4:$D$2002<1)

Data:
A B C D
AASR241 1 1 1
AASR340 1 1 0
AASR444 1 1 0
CAP1201 1 1 0

the results should be 2.

Thanks in advance.


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
using sumproduct on subtotals meeting certain conditions Jeff Manning Excel Worksheet Functions 0 November 10th 05 12:35 AM
Can wildcards be used in SUMPRODUCT conditions Reed Excel Worksheet Functions 4 June 13th 05 10:06 PM
Multiple SumProduct conditions wal50 Excel Worksheet Functions 3 November 23rd 04 10:48 PM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
Sumproduct Multiple Conditions Tysone Excel Worksheet Functions 3 November 10th 04 03:03 PM


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

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

About Us

"It's about Microsoft Excel"