Pulling Specific Columns from Raw Data (needs to be duplicable for changing raw data)

MrQue

New Member
Joined
Nov 11, 2013
Messages
1
Hello - I am having issues coming up with a repeatable template for pulling specific columns from raw data that changes based on location and time.

Here is my example:

Weekly Raw data is pulled for various locations (let's say Massachusetts and Maryland) So i have two different workbooks containing the raw data: Novweek1RawDataMass and Novweek1RawDataMary

Let's start with Novweek1RawDataMass - Here is what that sheet looks like:

[TABLE="width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]City[/TD]
[TD]Phone[/TD]
[TD]Email[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]Gruber[/TD]
[TD]Somewhere[/TD]
[TD]999[/TD]
[TD]blah@yep[/TD]
[/TR]
[TR]
[TD]Gru[/TD]
[TD]Wallace[/TD]
[TD]yeppers[/TD]
[TD]876[/TD]
[TD]gru@yep[/TD]
[/TR]
[TR]
[TD]Daphne[/TD]
[TD]Mystery[/TD]
[TD]Vans[/TD]
[TD]871[/TD]
[TD]scraw@yep[/TD]
[/TR]
</tbody>[/TABLE]

Now I need to create a spreadsheet that pulls just the columns First Name, Last Name, and Email (In reality my raw data ranges from A1 - EO1300)

I started by just creating a new worksheet in the raw data workbook and using a simple ="A2". However, my Raw data file changes names each week and I can't copy over this equation as it still tries to pull from the old worksheet. Any thoughts on how to do this so it is repeatable each week?

Thanks in advance.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
set up a folder to use, then loop thru all files in that folder without regard to name. if the file naming convention you show is constant, you can read the Location name in the file name and apply whatever template you need for that location.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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