#1   Report Post  
Ket
 
Posts: n/a
Default Adding Cells

Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London
  #2   Report Post  
Ket
 
Posts: n/a
Default

Apologies, should have stated that the formula needs to find all
entries in column A that begin with 0000013 and then add up the
corresponding cells in column M.


On Thu, 10 Mar 2005 16:58:04 +0000, Ket wrote:

Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London


  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi Ket

that makes it a bit easier :)

=SUMIF(A:A,"0000013*",M:M)

should give you what you're after

Cheers
JulieD

"Ket" wrote in message
...
Apologies, should have stated that the formula needs to find all
entries in column A that begin with 0000013 and then add up the
corresponding cells in column M.


On Thu, 10 Mar 2005 16:58:04 +0000, Ket wrote:

Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London




  #4   Report Post  
Ket
 
Posts: n/a
Default

Thankyou!

On Fri, 11 Mar 2005 01:04:34 +0800, "JulieD"
wrote:

Hi Ket

that makes it a bit easier :)

=SUMIF(A:A,"0000013*",M:M)

should give you what you're after

Cheers
JulieD

"Ket" wrote in message
.. .
Apologies, should have stated that the formula needs to find all
entries in column A that begin with 0000013 and then add up the
corresponding cells in column M.


On Thu, 10 Mar 2005 16:58:04 +0000, Ket wrote:

Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London




  #5   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome

"Ket" wrote in message
...
Thankyou!

On Fri, 11 Mar 2005 01:04:34 +0800, "JulieD"
wrote:

Hi Ket

that makes it a bit easier :)

=SUMIF(A:A,"0000013*",M:M)

should give you what you're after

Cheers
JulieD

"Ket" wrote in message
. ..
Apologies, should have stated that the formula needs to find all
entries in column A that begin with 0000013 and then add up the
corresponding cells in column M.


On Thu, 10 Mar 2005 16:58:04 +0000, Ket wrote:

Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London







  #6   Report Post  
N Harkawat
 
Posts: n/a
Default

=SUMIF(A1:A80,"0000013*",m1:m80)

"Ket" wrote in message
...
Apologies, should have stated that the formula needs to find all
entries in column A that begin with 0000013 and then add up the
corresponding cells in column M.


On Thu, 10 Mar 2005 16:58:04 +0000, Ket wrote:

Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London




  #7   Report Post  
Dave R.
 
Posts: n/a
Default

You can convert to number by doing a math operation on the cell. Easiest way
is to enter 1 in a cell, copy it (ctrl-c), select your range of text
00001345 numbers, and go to editpaste specialmultiply. (you could also
copy a 0 and use paste specialadd or subtract). This will convert them to
numbers.

=SUMPRODUCT(--(--LEFT(--A1:A8,2)=13),(M1:M8))

(based on info on your follow-up post). This would work whether or not you
convert these text to numbers with the paste special method above.. the --
before LEFT converts text to number.




"Ket" wrote in message
...
Hello,

I have a worksheet where column A contains reference numbers, eg
000001346, 000001347, 000001542 etc.
What formula can I create in column B that will find all entries in
column A that begin with 0000013 and add them up?

The other factor is that this data is imported from an external system
so that all the reference numbers are currently recognised as text. Is
there an easy way to convert these to numbers? Presently I am having
to right click each cell individually and choosing 'Convert to number'

I am using Excel 2003.

Thanks in advance for your help.

Ket
London



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
adding cells that contain formulas that have returned error messag Daniel R Excel Worksheet Functions 3 February 21st 05 07:14 PM
Adding contents of one cell to a range of cells. CLJinVA Excel Worksheet Functions 1 February 10th 05 10:19 PM
Adding contents of cells by clicking in Excel 2002 Kevin Gordon Excel Discussion (Misc queries) 7 January 11th 05 04:49 PM
ADDING SUM TOTAL OF MORE THAN 30 CELLS IN A COLUMN TOGETHER - WON. Robin Smith Excel Discussion (Misc queries) 0 December 20th 04 08:47 PM
ADDING CELLS WHICH ARE <> THAN OTHER CELLS boogie Excel Worksheet Functions 2 November 25th 04 02:41 PM


All times are GMT +1. The time now is 11:37 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"