ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sumif (https://www.excelbanter.com/excel-discussion-misc-queries/163330-sumif.html)

tacgibeht

sumif
 
I'm trying to get the sum of a list of numbers that start with a certain
group of 7 numbers (in this example 1234567). I've tried
=SUMPRODUCT(--(LEFT(A1:A1000,7)=1234567),B1:T1000) to no avail. Can someone
help out with this?Thanks in advance.


Don Guillett

sumif
 
try "1234567"
quotation

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"tacgibeht" wrote in message
...
I'm trying to get the sum of a list of numbers that start with a certain
group of 7 numbers (in this example 1234567). I've tried
=SUMPRODUCT(--(LEFT(A1:A1000,7)=1234567),B1:T1000) to no avail. Can
someone
help out with this?Thanks in advance.



Nikki

sumif
 

If all the numbers you are trying to sum are in column B, this should work,

=SUMPRODUCT(--(LEFT(A1:A1000,7)="1234567"),B1:B1000)


"tacgibeht" wrote:

I'm trying to get the sum of a list of numbers that start with a certain
group of 7 numbers (in this example 1234567). I've tried
=SUMPRODUCT(--(LEFT(A1:A1000,7)=1234567),B1:T1000) to no avail. Can someone
help out with this?Thanks in advance.


tacgibeht

sumif
 
Thanks. It's always the simple things...

"Nikki" wrote:


If all the numbers you are trying to sum are in column B, this should work,

=SUMPRODUCT(--(LEFT(A1:A1000,7)="1234567"),B1:B1000)


"tacgibeht" wrote:

I'm trying to get the sum of a list of numbers that start with a certain
group of 7 numbers (in this example 1234567). I've tried
=SUMPRODUCT(--(LEFT(A1:A1000,7)=1234567),B1:T1000) to no avail. Can someone
help out with this?Thanks in advance.


Don Guillett

sumif
 

Glad to help
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"tacgibeht" wrote in message
...
Thanks. It's always the simple things...

"Nikki" wrote:


If all the numbers you are trying to sum are in column B, this should
work,

=SUMPRODUCT(--(LEFT(A1:A1000,7)="1234567"),B1:B1000)


"tacgibeht" wrote:

I'm trying to get the sum of a list of numbers that start with a
certain
group of 7 numbers (in this example 1234567). I've tried
=SUMPRODUCT(--(LEFT(A1:A1000,7)=1234567),B1:T1000) to no avail. Can
someone
help out with this?Thanks in advance.




All times are GMT +1. The time now is 01:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com