ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum brings back null Value (https://www.excelbanter.com/excel-discussion-misc-queries/137489-sum-brings-back-null-value.html)

RedDevil

Sum brings back null Value
 
Hi,

I'm trying to sum in an imported excel file but it brings back a zero value
when there is numeric data in the selected cells.

Is there a work around as I've copied and pasted the sheet into a new excel
worksheet as "Paste Special" "Values" and I still can't get excel to
calculate the cells.

thanks
RD

RedDevil

Sum brings back null Value
 
Hi,

I just worked out a way round it.

I had a "$" in front of the number so it wouldn't sum. I removed the "$" and
now it works.



"RedDevil" wrote:

Hi,

I'm trying to sum in an imported excel file but it brings back a zero value
when there is numeric data in the selected cells.

Is there a work around as I've copied and pasted the sheet into a new excel
worksheet as "Paste Special" "Values" and I still can't get excel to
calculate the cells.

thanks
RD


Niek Otten

Sum brings back null Value
 
My standard list:


--
Kind regards,

Niek Otten
Microsoft MVP - Excel


================================================== ===============
Your Numbers don't behave (like numbers)
Niek Otten, May 11, 2006

Your numbers sort incorrectly, are not included in SUMs, cause #VALUE! results in formulas, cannot be found in LOOKUPs, etc.
In short:

Your Numbers look like Numbers, but they really are Text.
Sure! You formatted them as numbers, but alas, formatting afterwards doesn't help. Believe me, they are Text!

Here's a checklist which will help you solve most known cases. Make a copy of your workbook before trying! Always use Excel's
ISNUMBER() function to check your cells; maybe you solved your problem in the first step!

· Format an empty cell as Number. Enter the number 1 in it. EditCopy.
Select your "numbers". EditPaste Special, check Multiply. Hopefully your cells are "real" Numbers now
· If that doesn't help, there may be spaces in your "numbers". You can use the LEN() function to compare the number
of characters that Excel sees in the cell with the number of characters you see. If you suspect spaces, use Excel's TRIM()
function to remove them
· If that doesn't help, there may be nonprintable characters in your "numbers". You can use Excel's CLEAN() function
to remove most of them
· If that doesn't help, there may be non-breaking spaces in your "numbers" (mostly acquired from Web Pages). Use
David McRitchie's TRIMALL() function to remove them. It can be downloaded he
http://www.mvps.org/dmcritchie/excel/join.htm#trimall

================================================== ===============

"RedDevil" wrote in message ...
| Hi,
|
| I'm trying to sum in an imported excel file but it brings back a zero value
| when there is numeric data in the selected cells.
|
| Is there a work around as I've copied and pasted the sheet into a new excel
| worksheet as "Paste Special" "Values" and I still can't get excel to
| calculate the cells.
|
| thanks
| RD




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

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