Solved

Excel Text to Number Formatting

Posted on 2012-03-27
8
345 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel formula Sumif not working 4 26
VBA Help 18 43
how to add loop into this VBA 3 26
Excel 2010:  Creating a "Yes" or "No" Pop-Up 20 31
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.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now