Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a datatable with a number of columns and I want to add all the numbers
in column "S" when the text in column "M begin with an "A". I also want to use the same function for all the numbers in Cloumns "T", "U", "V", etc. I have tried =SUMIF($M$3:$M$100,LEFT($M3,1)="A",S3:S100) and all I get is "0". Any suggestions? |
#2
![]() |
|||
|
|||
![]()
try
=sumproduct((left(m3:m100,1)="A")*s3:s100) =sumproduct((left(m3:m100,1)="A")*s3:v100) -- Don Guillett SalesAid Software "pfdubz" wrote in message ... I have a datatable with a number of columns and I want to add all the numbers in column "S" when the text in column "M begin with an "A". I also want to use the same function for all the numbers in Cloumns "T", "U", "V", etc. I have tried =SUMIF($M$3:$M$100,LEFT($M3,1)="A",S3:S100) and all I get is "0". Any suggestions? |
#3
![]() |
|||
|
|||
![]()
Hi
=SUMPRODUCT(--(LEFT(M3:M300)="A"),S3:S300) The formula above sums all rows with entriea im column M starting with either "a" or "A". A case sensitive variant of same formula is =SUMPRODUCT(--(EXACT(LEFT(D1:D5),"A")),C1:C5) Arvi Laanemets "pfdubz" wrote in message ... I have a datatable with a number of columns and I want to add all the numbers in column "S" when the text in column "M begin with an "A". I also want to use the same function for all the numbers in Cloumns "T", "U", "V", etc. I have tried =SUMIF($M$3:$M$100,LEFT($M3,1)="A",S3:S100) and all I get is "0". Any suggestions? |
#4
![]() |
|||
|
|||
![]()
I am not trying to multiply column M and column S. I am trying to add all
the numbers in column S that correspond with text in column M that begins with the letter "A" "Don Guillett" wrote: try =sumproduct((left(m3:m100,1)="A")*s3:s100) =sumproduct((left(m3:m100,1)="A")*s3:v100) -- Don Guillett SalesAid Software "pfdubz" wrote in message ... I have a datatable with a number of columns and I want to add all the numbers in column "S" when the text in column "M begin with an "A". I also want to use the same function for all the numbers in Cloumns "T", "U", "V", etc. I have tried =SUMIF($M$3:$M$100,LEFT($M3,1)="A",S3:S100) and all I get is "0". Any suggestions? |
#5
![]() |
|||
|
|||
![]()
Hi
and this is just what this formula does. Just try it. For an explanation see: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Regards Frank Kabel Frankfurt, Germany "pfdubz" schrieb im Newsbeitrag ... I am not trying to multiply column M and column S. I am trying to add all the numbers in column S that correspond with text in column M that begins with the letter "A" "Don Guillett" wrote: try =sumproduct((left(m3:m100,1)="A")*s3:s100) =sumproduct((left(m3:m100,1)="A")*s3:v100) -- Don Guillett SalesAid Software "pfdubz" wrote in message ... I have a datatable with a number of columns and I want to add all the numbers in column "S" when the text in column "M begin with an "A". I also want to use the same function for all the numbers in Cloumns "T", "U", "V", etc. I have tried =SUMIF($M$3:$M$100,LEFT($M3,1)="A",S3:S100) and all I get is "0". Any suggestions? |
#6
![]() |
|||
|
|||
![]()
Thanks for the reference Frank. It is most illuminating and it works!
.. "Frank Kabel" wrote: Hi and this is just what this formula does. Just try it. For an explanation see: http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- Regards Frank Kabel Frankfurt, Germany "pfdubz" schrieb im Newsbeitrag ... I am not trying to multiply column M and column S. I am trying to add all the numbers in column S that correspond with text in column M that begins with the letter "A" "Don Guillett" wrote: try =sumproduct((left(m3:m100,1)="A")*s3:s100) =sumproduct((left(m3:m100,1)="A")*s3:v100) -- Don Guillett SalesAid Software "pfdubz" wrote in message ... I have a datatable with a number of columns and I want to add all the numbers in column "S" when the text in column "M begin with an "A". I also want to use the same function for all the numbers in Cloumns "T", "U", "V", etc. I have tried =SUMIF($M$3:$M$100,LEFT($M3,1)="A",S3:S100) and all I get is "0". Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMIF Criteria | Excel Discussion (Misc queries) | |||
SUMIF with only one criteria cell within range | Excel Discussion (Misc queries) | |||
SUMIF with more than 1 criteria | Excel Worksheet Functions | |||
How to load Engineering Functions into the Fx function wizard? | Excel Worksheet Functions | |||
Can I use a cell reference in the criteria for the sumif function. | Excel Worksheet Functions |