ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Why can't I use SUM when pasting HTML code into new sheet. (https://www.excelbanter.com/excel-worksheet-functions/64003-why-cant-i-use-sum-when-pasting-html-code-into-new-sheet.html)

Crosscatch

Why can't I use SUM when pasting HTML code into new sheet.
 
I have tried using the SUM function from different cells to no avail.

Roger Govier

Why can't I use SUM when pasting HTML code into new sheet.
 
Hi

It sounds as though the values may have come across as Text.
In a spare cell on your sheet, enter the number 1. Copy the cell, mark
the range of Data you have copied and Paste SpecialMultiply.
That may well coerce the values to numeric.

Alternatively there may be extraneous spaces, or the non-breaking space
character Char(160) embedded within the data.
Use David McRitchie's TRIMALL() function to clean up the data.
http://www.mvps.org/dmcritchie/excel/join.htm#trimall

--
Regards

Roger Govier


"Crosscatch" wrote in message
...
I have tried using the SUM function from different cells to no avail.





All times are GMT +1. The time now is 06:26 AM.

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