splitting data into multiple sheets - excel...

dbaril

New Member
Joined
Feb 8, 2013
Messages
4
I have an Excel spreadsheet with client names and addresses on it. It has grown to over 30,000 rows (one row per record). I am now trying to import it into Access, but Access will only import 448 records before it says there is too much data. Is there any way that I can easily split my data so that sheets are created with 400 rows per sheet? And the column headers are retained per sheet?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Something's wrong, you should be able to import far more than this. Did you try copying the spreadsheet and pasting to an Access table?
 
Upvote 0
Tried that too...Error on copy (from excel) is "The field is too small to accept the amount of data you attempted to add, try inserting or pasting less data".
When I try to Import (from Excel), error is "Microsoft Access was unable to append all the data to the table"

I'm at a loss - also just realized that the 448 records that it does import are from random places in the excel sheet, not in order...
 
Upvote 0
1. Do the data types in your excel columns match those in the access sheet exactly?
2. Are the number of columns exactly the same?
3. Do you have Excel cells with an insane length of data (e.g. a paragraph or two in a single cell)?
 
Upvote 0
Well, I thought I had it - Your question #3 made me realize that the Access "Phone Number" field was set to 10 characters, and the vast majority of my data had 12 (included dashes). I removed the dashes, and truncated all data in that row to 10 characters -> On import, same error, but this time 896 (double the number) records were added...
 
Upvote 0
You said random records in the sheet were being added, what characteristics distinguish them from what was skipped?

(a question I ask myself when encountering similar Excel to Access transfer problems).
 
Last edited:
Upvote 0
Well, oddly, every single record that does get imported has a "Fax" number in the field (only about 10% of the total excel file has a value in this column). So a bit of an anomoly that EACH record (either when it has imported 448 or 896 records) has a value in that field...other than that, I can't find a distinguishing characteristic...Also, "Fax" is not set as required...
 
Upvote 0
Maybe replace blanks in the fax field with a zero and see if it goes in (then replace the 0s with nulls once they're in access)?
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top