Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default format microsoft query data

I returned several columns of data from a sql server db to an excel
worksheet. When I selected a column & tried to sum it, it whacked out all
the data. I don't know what it did, but it certainly wasn't a sum. How do
you work with external data once it has been returned?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default format microsoft query data

What type of data were you trying to sum, and what does "whacked out" mean,
exactly?

Tim

"Johnslg" wrote in message
...
I returned several columns of data from a sql server db to an excel
worksheet. When I selected a column & tried to sum it, it whacked out all
the data. I don't know what it did, but it certainly wasn't a sum. How
do
you work with external data once it has been returned?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default format microsoft query data

Number fields. 329 rows were returned. I just sumed the last two from one
column for an example.

Before sum:
300
300

After sum (the last value being the sum):
-200
-250
-300

If I cut the block of fields and paste them elsewhere in the workbook, I can
work with them. I tried breaknig the link back to SQL Server but that didn't
help. I suspect there is some sort of calculation going on somewhere, but I
just need to treat these fields as general.


"Tim Williams" wrote:

What type of data were you trying to sum, and what does "whacked out" mean,
exactly?

Tim

"Johnslg" wrote in message
...
I returned several columns of data from a sql server db to an excel
worksheet. When I selected a column & tried to sum it, it whacked out all
the data. I don't know what it did, but it certainly wasn't a sum. How
do
you work with external data once it has been returned?




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
Data Lost in Microsoft Query Eva Excel Worksheet Functions 0 December 10th 09 05:37 PM
import data with microsoft query PaCoCourt Excel Programming 1 September 25th 06 02:58 PM
Waiting for data to be returned from Microsoft Query bclakey Excel Discussion (Misc queries) 0 July 1st 05 12:36 AM
Microsoft Query: retrieve data by dates Raminhos Excel Programming 6 February 8th 05 08:42 AM
Using Microsoft Query to Extract Data Jim Wallace Excel Programming 1 October 20th 03 11:30 PM


All times are GMT +1. The time now is 08:23 AM.

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"