Importing to specific non-contiiguous cells from CSV file

AEngineer

New Member
Joined
Nov 26, 2005
Messages
4
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
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,057
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,118,458
Messages
5,572,249
Members
412,451
Latest member
newbie22922792
Top