#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 201
Default Wont Sum

Hi there,

Hope someone can help with a odd problem that I have, I am returning some
rows from a SQL database with a column of numbers (int values), but for some
reason when they appear on the Excel sheet, I cannot Sum the values, I just
keeping getting 0 when I can clearly see numbers to SUM.

Any advice would be great, Thanks PD
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Wont Sum

Probably text numbers. One way to convert these to real numbers, just copy a
blank cell, then select the range of "numbers", right-click paste special
check "Add" ok. The SUM should work now.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Phil" wrote:
Hi there,

Hope someone can help with a odd problem that I have, I am returning some
rows from a SQL database with a column of numbers (int values), but for some
reason when they appear on the Excel sheet, I cannot Sum the values, I just
keeping getting 0 when I can clearly see numbers to SUM.

Any advice would be great, Thanks PD

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Wont Sum

Sounds like the values are being imported as Text rather than numbers.
One way to convert:

Copy a blank cell. Select your "numbers" and choose Edit/Paste Special,
selecting the Values and Add radio buttons.




In article ,
Phil wrote:

Hi there,

Hope someone can help with a odd problem that I have, I am returning some
rows from a SQL database with a column of numbers (int values), but for some
reason when they appear on the Excel sheet, I cannot Sum the values, I just
keeping getting 0 when I can clearly see numbers to SUM.

Any advice would be great, Thanks PD

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 201
Default Wont Sum

That's brillaint, thanks to both of you, just what I wanted.

PD

"Phil" wrote:

Hi there,

Hope someone can help with a odd problem that I have, I am returning some
rows from a SQL database with a column of numbers (int values), but for some
reason when they appear on the Excel sheet, I cannot Sum the values, I just
keeping getting 0 when I can clearly see numbers to SUM.

Any advice would be great, Thanks PD

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
Date format from excel to CVS file wont. Change in CVS wont stay. Fish''s Mermaid Excel Worksheet Functions 1 October 14th 06 12:28 AM
Macro wont run! Joe Excel Discussion (Misc queries) 9 January 17th 06 07:01 PM
wont calculate john mcmichael Excel Discussion (Misc queries) 1 August 12th 05 03:56 PM
Excel is there but it wont pop up amelia Excel Discussion (Misc queries) 1 July 19th 05 12:13 PM
Macro that wont go away - Help taxmom Excel Worksheet Functions 3 April 13th 05 06:39 PM


All times are GMT +1. The time now is 07:43 AM.

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"