Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 109
Default summing a row with text in some cells

I am trying to sum a row, but some cells have text that explain why the data
is missing. I would like any text to be summed as zeros, but I can't seem to
figure out how to make excel do that. Any information you could give me
would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default summing a row with text in some cells

If you're using the SUM function it ignores text and this is essentially the
same as evaluating it as 0.

A1 = 10
A2 = XX
A3 = 10
A4 = NA
A5 = 10

=SUM(A1:A5) returns 30

--
Biff
Microsoft Excel MVP


"Jared" wrote in message
...
I am trying to sum a row, but some cells have text that explain why the
data
is missing. I would like any text to be summed as zeros, but I can't seem
to
figure out how to make excel do that. Any information you could give me
would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default summing a row with text in some cells

That is assuming the na is actually just na, and not an actual error such as
#N/A.
--
John C


"T. Valko" wrote:

If you're using the SUM function it ignores text and this is essentially the
same as evaluating it as 0.

A1 = 10
A2 = XX
A3 = 10
A4 = NA
A5 = 10

=SUM(A1:A5) returns 30

--
Biff
Microsoft Excel MVP


"Jared" wrote in message
...
I am trying to sum a row, but some cells have text that explain why the
data
is missing. I would like any text to be summed as zeros, but I can't seem
to
figure out how to make excel do that. Any information you could give me
would be appreciated.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default summing a row with text in some cells

That's true but you'll notice I typed it in as NA not as #N/A.

To exclude errors as well as text:

=SUMIF(A1:A5,"<1E100")

--
Biff
Microsoft Excel MVP


"John C" <johnc@stateofdenial wrote in message
...
That is assuming the na is actually just na, and not an actual error such
as
#N/A.
--
John C


"T. Valko" wrote:

If you're using the SUM function it ignores text and this is essentially
the
same as evaluating it as 0.

A1 = 10
A2 = XX
A3 = 10
A4 = NA
A5 = 10

=SUM(A1:A5) returns 30

--
Biff
Microsoft Excel MVP


"Jared" wrote in message
...
I am trying to sum a row, but some cells have text that explain why the
data
is missing. I would like any text to be summed as zeros, but I can't
seem
to
figure out how to make excel do that. Any information you could give
me
would be appreciated.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default summing a row with text in some cells

True, but MS Excel help every so often refers the the #N/A error as NA. :D
--
John C


"T. Valko" wrote:

That's true but you'll notice I typed it in as NA not as #N/A.

To exclude errors as well as text:

=SUMIF(A1:A5,"<1E100")

--
Biff
Microsoft Excel MVP


"John C" <johnc@stateofdenial wrote in message
...
That is assuming the na is actually just na, and not an actual error such
as
#N/A.
--
John C


"T. Valko" wrote:

If you're using the SUM function it ignores text and this is essentially
the
same as evaluating it as 0.

A1 = 10
A2 = XX
A3 = 10
A4 = NA
A5 = 10

=SUM(A1:A5) returns 30

--
Biff
Microsoft Excel MVP


"Jared" wrote in message
...
I am trying to sum a row, but some cells have text that explain why the
data
is missing. I would like any text to be summed as zeros, but I can't
seem
to
figure out how to make excel do that. Any information you could give
me
would be appreciated.








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
need help summing text in column Laura Larson Excel Worksheet Functions 3 June 4th 08 01:23 AM
Help with summing numbers in cells that also contain text Michael Slater New Users to Excel 6 September 1st 07 05:38 AM
summing cells with text and numbers val Excel Worksheet Functions 1 August 2nd 06 03:26 AM
Summing range that contains text quailc Excel Worksheet Functions 2 May 17th 06 03:31 PM
Summing cells that contain numbers and text Mango Excel Discussion (Misc queries) 10 May 13th 06 06:18 PM


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