Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 155
Default Import External Data not picking up letters

Hi everyone,

I'm using Import External Data with 2 excel tables as a relational
datasource as per the website tutorial "Use MS Query to Treat Excel As a
Relational Data Source http://exceluser.com/explore/msquery1_1.htm by Charles
Kyd.

My problem is that one column of data is either numbers or letters and when
I run the query the numbers are pulled out ok but the letters aren't.

My source data are two csv files that I copy to an excel book using Edit
|Move or Copy Sheet. Once the data is there as individual sheets in the book
I name the data tables for use in the query.

I'm getting round the problem by using auto filter and replacing letters
with numbers that will not appear within the data. This is fine for this data
as only numbers up to 10 appear with the data, but it's definitely not an
elegant solution.

If anyone could help, that would be brilliant :-)

Cheers
Diddy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Import External Data not picking up letters

Can't be certain without seeing your data, but:

Be sure you tell the Import Wizard that the field you are picking up is Text.

It should then be able to get both numerical and non-numerical data.
--
Gary''s Student - gsnu200858


"Diddy" wrote:

Hi everyone,

I'm using Import External Data with 2 excel tables as a relational
datasource as per the website tutorial "Use MS Query to Treat Excel As a
Relational Data Source http://exceluser.com/explore/msquery1_1.htm by Charles
Kyd.

My problem is that one column of data is either numbers or letters and when
I run the query the numbers are pulled out ok but the letters aren't.

My source data are two csv files that I copy to an excel book using Edit
|Move or Copy Sheet. Once the data is there as individual sheets in the book
I name the data tables for use in the query.

I'm getting round the problem by using auto filter and replacing letters
with numbers that will not appear within the data. This is fine for this data
as only numbers up to 10 appear with the data, but it's definitely not an
elegant solution.

If anyone could help, that would be brilliant :-)

Cheers
Diddy

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 155
Default Import External Data not picking up letters

Hi Gary''s Student,

Thanks for replying.

How do I go into the Wizard?

I'm using new database query and the Excel files from the dialogue box
select workbook and then add tables.

Can I specify data type this way?

Cheers
Diddy



"Gary''s Student" wrote:

Can't be certain without seeing your data, but:

Be sure you tell the Import Wizard that the field you are picking up is Text.

It should then be able to get both numerical and non-numerical data.
--
Gary''s Student - gsnu200858


"Diddy" wrote:

Hi everyone,

I'm using Import External Data with 2 excel tables as a relational
datasource as per the website tutorial "Use MS Query to Treat Excel As a
Relational Data Source http://exceluser.com/explore/msquery1_1.htm by Charles
Kyd.

My problem is that one column of data is either numbers or letters and when
I run the query the numbers are pulled out ok but the letters aren't.

My source data are two csv files that I copy to an excel book using Edit
|Move or Copy Sheet. Once the data is there as individual sheets in the book
I name the data tables for use in the query.

I'm getting round the problem by using auto filter and replacing letters
with numbers that will not appear within the data. This is fine for this data
as only numbers up to 10 appear with the data, but it's definitely not an
elegant solution.

If anyone could help, that would be brilliant :-)

Cheers
Diddy

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
External Data Import MikeD1224 Excel Discussion (Misc queries) 1 February 16th 07 10:22 PM
Import External Data WhytheQ Excel Discussion (Misc queries) 1 January 25th 07 05:51 PM
Import External Data Susie Excel Worksheet Functions 0 July 29th 05 09:12 PM
Import External Data Jeff Excel Worksheet Functions 0 May 3rd 05 10:28 PM
Import External Data Martin Excel Worksheet Functions 1 February 9th 05 06:14 AM


All times are GMT +1. The time now is 04:34 PM.

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"