ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   No Sum= in HTM File (https://www.excelbanter.com/excel-discussion-misc-queries/84591-no-sum%3D-htm-file.html)

nr

No Sum= in HTM File
 
I create files using SAS, outputting to an HTM file, which opens up
easily in Excel. If I drag the cursor over a few cells I do not get
the 'sum=....' note at the bottom, which happens with a regular XLS
sheet.

If I use the sum function, 'sum(b2:b4)', I'll get a result of 0, but if
I enter '=b2+b3+b4' I get the correct number.

Anyone know of what might be causing this and how to correct?

Thanks for any help.


Ragdyer

No Sum= in HTM File
 
The SUM() function ignores non-numeric (text) numbers.
If you check the format of your imported data you'll find that it's probably
'Text'.

To convert those "non" (text) numbers to true XL recognizable numbers, right
click in a new, unused cell, and choose "Copy".
Select those text numbers and right click in that selection.
Choose "PasteSpecial", then click "Add", then OK, then <Esc.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"nr" wrote in message
ups.com...
I create files using SAS, outputting to an HTM file, which opens up
easily in Excel. If I drag the cursor over a few cells I do not get
the 'sum=....' note at the bottom, which happens with a regular XLS
sheet.

If I use the sum function, 'sum(b2:b4)', I'll get a result of 0, but if
I enter '=b2+b3+b4' I get the correct number.

Anyone know of what might be causing this and how to correct?

Thanks for any help.




All times are GMT +1. The time now is 05:56 PM.

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