Solved

Cleaning up Excel Sheet before importing to Access

Posted on 2011-02-14
12
260 Views
Last Modified: 2012-05-11
I have an excel sheet that has junk at the top because it's exported from a formatted Crystal Report with titles.  Is there something I can do to strip off the headers before importing it into Access?

When I import to Access, the headers are not consistant and it fouls up the queries.

Thanks,
Craig
0
Comment
Question by:OnsiteSupport
  • 5
  • 3
  • 2
  • +1
12 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 34890361
You can simple delete those lines, no?
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 34890368
have you tried importing the excel file into a temp table without the column names?

btw, better if you upload a copy of the excel file and give details what you want to be cleaned.
0
 
LVL 33

Expert Comment

by:jppinto
ID: 34890369
...those ROWS, no?
0
 

Author Comment

by:OnsiteSupport
ID: 34890382
0
 

Author Comment

by:OnsiteSupport
ID: 34890391
ippinto....I want this automated as part of an application for anyone to import the data.  I don't want them touching the "raw" spreadsheet.

Thanks
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 34890439
you can create a copy of the excel file (in codes)
delete the last row in codes
how is the first row be cleaned?
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:OnsiteSupport
ID: 34890446
Sorry  What do you mean by "In Codes?"
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 34890474
in codes > not manually..
0
 

Author Comment

by:OnsiteSupport
ID: 34890517
It was just a bit painful matching column names to real names in the query.  Guess I can't get around that one.

Thanks for the tip
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34891390
You could export just the data then you should get the fieldnames as the titles

mlmcc
0
 

Author Comment

by:OnsiteSupport
ID: 34891978
The design of the headings in crystal causes the export to jumble the order of columns.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34894036
If you choose the data only then the report headings don't get used but the field column names.

mlmcc
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

747 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

13 Experts available now in Live!

Get 1:1 Help Now