Solved

Excel Text to Number Formatting

Posted on 2012-03-27
8
346 Views
Last Modified: 2012-04-16
Hello again,

I am running into problems with numeric data when I import it into MS Access, and export back to Excel. It converts the numeric data to text. I found solutions for this on the internet but the only one that seems to work is to go to the Error Checking button and manually tab through every field in the spreadsheet until all are converted. There has to be a better way. Using the standard method of formatting does not work for this. I have to perform calculations on this data  and the spreadsheet is going to get very large and this method will be time consuming and tedious. Can someone assist?

Thanks, Janis
0
Comment
Question by:DMKetcher
  • 5
  • 3
8 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 37774227
What is the format of the field in Access that receives the data?
0
 

Author Comment

by:DMKetcher
ID: 37774231
I am importing excel spreadsheet data into an empty unformatted table. It converts when it imports. Does that help?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 37774243
Do you have to do it that way? I've never done what you're doing but I assume that if the field in Access were numeric that you wouldn't have a problem.
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:DMKetcher
ID: 37774258
It is the only way I know of to import data from Excel. Is there a better way? I always got to MS Access, External Data, Import & Link, Excel - and then use the wizard to bring in the file and it saves as a table. Normally the data saves as the same data type. I am working with currency in excel so that could be part of the problem.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 37774296
In Access create a table that contains a Currency field and then use the Access wizard to import into that table.
0
 

Author Comment

by:DMKetcher
ID: 37774308
OK I will try it and get back to you. My workbook data originations in Excel and contains numerous numeric fields. I don't want to have to figure out the layout from the point of view of access without a template. Is there an easy way to use an Excel template and then format each field in Access?
0
 

Accepted Solution

by:
DMKetcher earned 0 total points
ID: 37833997
I did not have unique field names. That was the problem. This is closed. Thanks for all of the comments.
0
 

Author Closing Comment

by:DMKetcher
ID: 37850351
It was the true answer. I figured it out.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question