How to delete the top and bottoms rows of each Text file in Power Query

jbragg6625

New Member
Joined
Dec 3, 2015
Messages
5
Hello,

I need to set up a power query so that it for each Text file that is in a folder the top 8 and bottom 4 rows are deleted when imported.

Is this possible and if so how do I do it?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
The button "Remove Rows" drops down to choose Remove Bottom Rows and Remove Top Rows. So, certainly for 1 file this should be easy.
 
Upvote 0
I should have been more clear. The problem is that there are multiple Text files in the folder and they all need to have the top and bottom rows removed when power query compiles them into one table.

Using the remove rows button will only remove the top rows of the first text file in the folder and the bottom rows of the very last text file.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,255
Members
448,556
Latest member
peterhess2002

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