Data importing from another file with infinite blank rows

RudeClown

Board Regular
Joined
May 31, 2016
Messages
56
Good afternoon,

I have run into an issue I am in need of assistance with. I am importing data from 5 Excel spreadsheets into a sixth, however when it queries the first of the five files, it’s returning the data plus an infinite number of blank rows, up to the max and is not able to continue to pull the data from the other files. I have used the option in PowerQuery to remove blank rows, but it is still importing them. I have verified there is no data, and the formatting (drop-down boxes, cell borders, data validation) only goes down to row 25,000, so even if it was importing the rows with formatting, that would still only be 125,000 rows per file, not the millions it is trying to import. Any idea what might be causing that, and how I can remedy it? The files I am pulling data from will have new data added daily, with my intent being to refresh the 6th “Master” spreadsheet to update it. Any assistance you can provide would be a great help!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
In each file and on each worksheet, click on the Control and End keys concurrently. This will show you exactly which is the last row and last column in your sheet containing some information whether it be data or formatting, etc. You can then remove any blank rows down to and including the one identified.
 
Upvote 0
The ctrl+End showed me that each file went down to row 1.4 million something, although no idea why. But, I created a new sheet and copied the existing data over from the five to a new set of five sheets, which showed the ending point where I'd expect it to be. I did the import and it worked just fine. Thank you for the tip!
 
Upvote 0
Note this part of Alan's response:
This will show you exactly which is the last row and last column in your sheet containing some information whether it be data or formatting, etc.
It could be that they formatted the ENTIRE column initially, which could cause that behavior.
 
Upvote 0

Forum statistics

Threads
1,215,254
Messages
6,123,893
Members
449,132
Latest member
Rosie14

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