Importing awkwardly set up Excel data

ejgallagher

Board Regular
Joined
Aug 3, 2002
Messages
123
I have 250 excel spreadsheets that i want to put into ACCESS.

Each sheet represents the financials of a different location.

Each sheet is formatted the same.

Here are the problems:

1. The data is formatted inversely - category headers are on the side - going down the page and the time data is pulled (months) goes across the top. How can I import this?

2. There are ilnes added in to separate category groups -this is done for aesthetics. Will this screw me up?

Help is greatly appreciated!

Thanks,

Ed
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I do a lot of this sort of thing. Found the best method is to set up an Access macro that uses TransferText and import the the files into an Access table ensuring that everything is TEXT. Then use a macro to convert to another table formatting cells as number or date.

This might seem longwinded but it solves all sorts of problems, not the least of which is Access "doing its own thing". Also, the raw text file is still untouched for checking if necessary. I routinely hand tables of 350,000 records this way, and it is still reasonably fast (on my hard drive, not server).

Regarding your strange file setup, hopfully you will be able to Copy/Paste Special/Transpose before import ?
 
Upvote 0

Forum statistics

Threads
1,221,905
Messages
6,162,772
Members
451,786
Latest member
CALEB23

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