Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / March 2006



Tip: Looking for answers? Try searching our database.

sum function ignoring text

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jexel - 20 Mar 2006 05:25 GMT
Can someone please tell me how to use the sum function to add values in
cell that have text in them as well?  i know excel for pcs have the
option of SUM and SUMA, how do I add just the numbers and ignore the
text?
JE McGimpsey - 20 Mar 2006 06:04 GMT
> Can someone please tell me how to use the sum function to add values in
> cell that have text in them as well?  i know excel for pcs have the
> option of SUM and SUMA, how do I add just the numbers and ignore the
> text?

SUM()ignore text.

A1:     3
A2:     hello
A3:     4
A4:     =SUM(A1:A3)         ===> 7
jexel - 20 Mar 2006 22:05 GMT
No, more like this:

A1: 600 livres
A2: 400 livres
A3: 800  livres

When I  put a SUM function in A4, it comes up as NAME#

PLease help!

> > Can someone please tell me how to use the sum function to add values in
> > cell that have text in them as well?  i know excel for pcs have the
[quoted text clipped - 7 lines]
> A3:     4
> A4:     =SUM(A1:A3)         ===> 7
CyberTaz - 21 Mar 2006 03:46 GMT
Hi Jessica -

The problem is that the illegal characters (<space>livres) prevent the cell
content from being used as values. AFAIK, there is no single function,
including  SUM & SUMIF (I believe that is the one you referred to as SUMA)
that will pick digits out of a text string for computation.

There are probably a few more complex expressions that will extract the
digits, convert them to values & perform the summing, but I would be more
likely to consider using Data>Text to Columns to create the numerical column
(600, 400, 800) separate from the text column (livres, ", "). Then, summing
the column of values would present no problem. In fact, I'd probably just
caption that column as "Livres" and save myself a lot of redundant data
entry... Although I must admit I have no idea what a 'livre' is :)

HTH |:>)

On 3/20/06 4:05 PM, in article
1142888752.403913.236710@e56g2000cwe.googlegroups.com, "jexel"
<jessicagillies@gmail.com> wrote:

> 600 livres
> A2: 400 livres
> A3: 800
Francis Hookham - 31 Mar 2006 21:46 GMT
I take it livres are old French currency

You could Custom Format the Cells like this:
0" livres"
or even
0" livres";-0" livers";
if you have minus values
then you would be entering numerals which can be =sum( ) in the usual way
but no good if there is a mixture of currancy

Francis Hookham

> No, more like this:
>
[quoted text clipped - 17 lines]
>> A3:     4
>> A4:     =SUM(A1:A3)         ===> 7
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.