2 newbie Power Query questions

Craigc3814

Board Regular
Joined
Mar 7, 2016
Messages
217
I am very new to Power Query so I apologize if this is a very easy or "dumb" question. I have a folder that contains .txt files for a monthly bill my company receives. Every month I want to be able to drop the new .txt file in the folder and refresh the query (I am good so far). The problem is the .txt files do not have a header so every time I refresh I have to paste the headers back in. Is there a way to make the header row unchanged when refreshing the query? Or any options available so that I do not have to keep pasting in the headers?


2nd question: There are unique id's in a column on the imported data. I want to make a second table that essentially "decodes" the unique ids and converts them to what the unique ids really are in text format. An example would be a unique ID of 5465465454, this is just a number the billing company assigns a given building in our operation. So when I see 5465465454 I want that to look at the table I make and return the text value that, that number really represents so maybe I need a helper column that runs a vlookup, or index match. Not sure.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,939
Latest member
Leon Leenders

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