Importing to specific non-contiiguous cells from CSV file

AEngineer

New Member
Joined
Nov 26, 2005
Messages
7
Is there a way to set up a CSV file with a cell address so that text from each CSV record goes to the ID'd cell? I'm sure it can be done with VBA, but I'd like to avoid that if I can.

Each line of the CSV would have, presumably, three values: the row and column IDs and then the text to be put in the cell

My goal is to take data from a database and then import it to Excel in a format that allows seeing the locational relationships between items (in my case it's courses ina curriculum - a given row is a subject area and the different columns are terms the c ourse is usually taken.)

Jim Mitchell - Philadelphia
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Jim

I'm afraid the only way I can see this being done would be with VBA.

Though you could possibly use VLOOKUP.

That is import the CSV file as it is and then on another sheet use the ID's to pull the data into the correct location.
 
Upvote 0

Forum statistics

Threads
1,211,457
Messages
6,101,964
Members
447,766
Latest member
cool_aikon

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