#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stephen Connell
 
Posts: n/a
Default Sum function

I have a spreadsheet in which the sum function returns a zero value from a
range with positive numbers. The sum formula is correctly entered. Any ideas?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph
 
Posts: n/a
Default Sum function

"Stephen Connell" wrote in
message ...
I have a spreadsheet in which the sum function returns a zero value from a
range with positive numbers. The sum formula is correctly entered. Any
ideas?


The usual explanation is that the "numbers" aren't actually numbers, but
cells formatted as text.
--
David Biddulph


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Sum function

It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero value from a
range with positive numbers. The sum formula is correctly entered. Any ideas?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Sum function

Right click a new, unused cell, and choose "Copy".
Select the "bad" numbers.
Right click in that selection and choose "Paste Special".
Click on "Add", then <OK.

This should transform all 'text' numbered cells to *real*, XL recognized
numbers.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"ck in the sStephen Connell"
wrote in message ...
I have a spreadsheet in which the sum function returns a zero value from a
range with positive numbers. The sum formula is correctly entered. Any

ideas?

Thanks


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Sum function

TTC will *only* correct numbers designated as 'text' by the use of a
prefixed apostrophe.
If cells were formatted as 'text' prior to the entry of the numbers, TTC
won't work on those cells.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ron Coderre" wrote in message
...
It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero value from

a
range with positive numbers. The sum formula is correctly entered. Any

ideas?

Thanks




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Sum function

I stand corrected.
TTC does allow the Sum() function to calculate in those 'text' formatted
cells, even though the cell remains formatted as 'text'.

Sorry!
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
TTC will *only* correct numbers designated as 'text' by the use of a
prefixed apostrophe.
If cells were formatted as 'text' prior to the entry of the numbers, TTC
won't work on those cells.
--
Regards,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-
"Ron Coderre" wrote in message
...
It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero value

from
a
range with positive numbers. The sum formula is correctly entered. Any

ideas?

Thanks



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Sum function

Thanks, RD....(I was wondering why TTC was working ok on *my* PC. )

But, I think your suggestion of Copy/Paste_Special.Add is the better way to
go.

***********
Best Regards,
Ron

XL2002, WinXP


"Ragdyer" wrote:

I stand corrected.
TTC does allow the Sum() function to calculate in those 'text' formatted
cells, even though the cell remains formatted as 'text'.

Sorry!
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
TTC will *only* correct numbers designated as 'text' by the use of a
prefixed apostrophe.
If cells were formatted as 'text' prior to the entry of the numbers, TTC
won't work on those cells.
--
Regards,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-
"Ron Coderre" wrote in message
...
It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero value

from
a
range with positive numbers. The sum formula is correctly entered. Any

ideas?

Thanks




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Sum function

I prefer TTC *if* the data is in a single column.

The "Paste Special", of course, is the better way to go for global or
multi-column data revisions.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ron Coderre" wrote in message
...
Thanks, RD....(I was wondering why TTC was working ok on *my* PC. )

But, I think your suggestion of Copy/Paste_Special.Add is the better way

to
go.

***********
Best Regards,
Ron

XL2002, WinXP


"Ragdyer" wrote:

I stand corrected.
TTC does allow the Sum() function to calculate in those 'text' formatted
cells, even though the cell remains formatted as 'text'.

Sorry!
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Ragdyer" wrote in message
...
TTC will *only* correct numbers designated as 'text' by the use of a
prefixed apostrophe.
If cells were formatted as 'text' prior to the entry of the numbers,

TTC
won't work on those cells.
--
Regards,

RD


--------------------------------------------------------------------------
-
Please keep all correspondence within the NewsGroup, so all may

benefit !

--------------------------------------------------------------------------
-
"Ron Coderre" wrote in message
...
It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the

summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero

value
from
a
range with positive numbers. The sum formula is correctly entered.

Any
ideas?

Thanks




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Sum function

To add some more confusion <g

The copy an empty cell/paste special method:

If the cell being copied is formatted as TEXT and after the paste
specialadd, the SUM will return the correct result but the value returned
still "appears" to be TEXT (cell is aligned left). However, is you test
that value: =ISNUMBER( ) returns TRUE, =ISTEXT( ) returns FALSE. If you
check the format of the SUM cell is will show as TEXT.

Isn't this stuff loads 'o fun?

Biff

"Ragdyer" wrote in message
...
I prefer TTC *if* the data is in a single column.

The "Paste Special", of course, is the better way to go for global or
multi-column data revisions.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ron Coderre" wrote in message
...
Thanks, RD....(I was wondering why TTC was working ok on *my* PC. )

But, I think your suggestion of Copy/Paste_Special.Add is the better way

to
go.

***********
Best Regards,
Ron

XL2002, WinXP


"Ragdyer" wrote:

I stand corrected.
TTC does allow the Sum() function to calculate in those 'text'
formatted
cells, even though the cell remains formatted as 'text'.

Sorry!
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Ragdyer" wrote in message
...
TTC will *only* correct numbers designated as 'text' by the use of a
prefixed apostrophe.
If cells were formatted as 'text' prior to the entry of the numbers,

TTC
won't work on those cells.
--
Regards,

RD


--------------------------------------------------------------------------
-
Please keep all correspondence within the NewsGroup, so all may

benefit !

--------------------------------------------------------------------------
-
"Ron Coderre" wrote in message
...
It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the

summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero

value
from
a
range with positive numbers. The sum formula is correctly
entered.

Any
ideas?

Thanks






  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Sum function

Of course I'm nit-picking <bg, BUT ...
I, and "most" of what I've read in these groups, DO stipulate:
"new, unused cell"
Which of course means that the *unused* cell is formatted to the XL default
'General' format.

This does mean however, that the OP will *always* know which cells are/have
been, unused.
That is, of course, it they even noticed the 'unused' stipulation in the
instructions in the first place.<g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Biff" wrote in message
...
To add some more confusion <g

The copy an empty cell/paste special method:

If the cell being copied is formatted as TEXT and after the paste
specialadd, the SUM will return the correct result but the value returned
still "appears" to be TEXT (cell is aligned left). However, is you test
that value: =ISNUMBER( ) returns TRUE, =ISTEXT( ) returns FALSE. If you
check the format of the SUM cell is will show as TEXT.

Isn't this stuff loads 'o fun?

Biff

"Ragdyer" wrote in message
...
I prefer TTC *if* the data is in a single column.

The "Paste Special", of course, is the better way to go for global or
multi-column data revisions.
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Ron Coderre" wrote in message
...
Thanks, RD....(I was wondering why TTC was working ok on *my* PC. )

But, I think your suggestion of Copy/Paste_Special.Add is the better

way
to
go.

***********
Best Regards,
Ron

XL2002, WinXP


"Ragdyer" wrote:

I stand corrected.
TTC does allow the Sum() function to calculate in those 'text'
formatted
cells, even though the cell remains formatted as 'text'.

Sorry!
--
Regards,

RD



-------------------------------------------------------------------------

-
-
Please keep all correspondence within the NewsGroup, so all may

benefit
!


-------------------------------------------------------------------------

-
-
"Ragdyer" wrote in message
...
TTC will *only* correct numbers designated as 'text' by the use of

a
prefixed apostrophe.
If cells were formatted as 'text' prior to the entry of the

numbers,
TTC
won't work on those cells.
--
Regards,

RD



-------------------------------------------------------------------------

-
-
Please keep all correspondence within the NewsGroup, so all may

benefit !


-------------------------------------------------------------------------

-
-
"Ron Coderre" wrote in message
...
It sounds like the "numbers" are really numeric text.

Try this:
Select the range to be summed
<data<text-to-columns....Click the [Finish] button

That should convert any numeric text to actual numbers. Does the

summary
cell show a non-zero total now?
***********
Regards,
Ron

XL2002, WinXP


"Stephen Connell" wrote:

I have a spreadsheet in which the sum function returns a zero

value
from
a
range with positive numbers. The sum formula is correctly
entered.

Any
ideas?

Thanks









  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Sum function

Another way is to enter this array* formula instead of your normal sum(
) formula:

=SUM(VALUE(range of cells))

*As this is an array formula, once you have typed it in (or
subsequently edit it) you must use CTRL-SHIFT-ENTER instead of the
usual ENTER. If you do this correctly then Excel will add curly braces
{ } around the formula - you must not type these yourself.

Though changing the text to numbers as described above is the better
way if you want to use the numbers in other calculations, this gives
you an alternative.

Hope this helps.

Pete

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
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"