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

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,344
Office Version
  1. 365
Platform
  1. Windows
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,004
Messages
5,834,833
Members
430,324
Latest member
bosphoruskid

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
Top