Import multiple csv to excel with only select column

nv123

New Member
Joined
Jul 2, 2013
Messages
1
I have many .csv files that need to be imported into excel, they are all in the same format with different number name of file.
I'd like to export a select column from a certain file by just enter the file number


For example:

2438.csv contains:
TimeStepAnalog 2Analog 3Analog 4
4:12:511576
4:15:512789

<tbody>
</tbody>

I would want to import csv file 2438, 2439, 2440 of column 3 (Analog 2) of all the step 2
Some results like
243824392440
TimeStepAnalog 1Analog 2Analog 3

<tbody>
</tbody>

Is there a way that I just need to change the number of the file in excel and macros will just import of that file?

Thanks
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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