Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Linking Excel to a text file database

I use vlookup to access data from within my spreadsheet. The extensive
dataset I have is on one of the sheets and is large and cumbersome.

I understand that it is possible to link my sheet to an ancillary text file
within which i can store my database.

How does one go about doing this and will vlookup work?

Can anyone help or redirect me?

Thanks,

Roger
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Linking Excel to a text file database

You m,ay be able to save the one worksheet in CSV format. Then link to the
CSV file. You can create the CSV file by just performing a SAVEAS selecting
CSV as the file type. A warning will come up saying that you will loose the
format and that only one sheet at a time can be saved in this format.

A CSV file is both a text and a Excel file as the same time. The CSV is
COMMA SEPERATED VALUES which uses commas to sperate data from one column to
the next like

abc, def, ghi
next row data, jkl,mno,pqr

abc will go into column A.
def will go into column B.
ghi will go into column C.
next row data will go into row 2 Column A.
jkl will go into row 2 Column B.
mno will go into Row 2 Column C
pqr will go into row 2 column D.
"Roger on Excel" wrote:

I use vlookup to access data from within my spreadsheet. The extensive
dataset I have is on one of the sheets and is large and cumbersome.

I understand that it is possible to link my sheet to an ancillary text file
within which i can store my database.

How does one go about doing this and will vlookup work?

Can anyone help or redirect me?

Thanks,

Roger

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Linking Excel to a text file database

Thanks Joel,

I will give it a try

Roger

"Joel" wrote:

You m,ay be able to save the one worksheet in CSV format. Then link to the
CSV file. You can create the CSV file by just performing a SAVEAS selecting
CSV as the file type. A warning will come up saying that you will loose the
format and that only one sheet at a time can be saved in this format.

A CSV file is both a text and a Excel file as the same time. The CSV is
COMMA SEPERATED VALUES which uses commas to sperate data from one column to
the next like

abc, def, ghi
next row data, jkl,mno,pqr

abc will go into column A.
def will go into column B.
ghi will go into column C.
next row data will go into row 2 Column A.
jkl will go into row 2 Column B.
mno will go into Row 2 Column C
pqr will go into row 2 column D.
"Roger on Excel" wrote:

I use vlookup to access data from within my spreadsheet. The extensive
dataset I have is on one of the sheets and is large and cumbersome.

I understand that it is possible to link my sheet to an ancillary text file
within which i can store my database.

How does one go about doing this and will vlookup work?

Can anyone help or redirect me?

Thanks,

Roger

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Linking Excel to a text file database

Although running SQL on text files is amazingly fast (considering there are
no indexes) there might be an advantage
to move to a real database like SQLite. Very simple, very fast and very good
free VB(A) wrapper available.
Not sure you were thinking of using SQL, but I think when your lookups are
getting complex using SQL will make
it a lot simpler.

RBS


"Roger on Excel" wrote in message
...
I use vlookup to access data from within my spreadsheet. The extensive
dataset I have is on one of the sheets and is large and cumbersome.

I understand that it is possible to link my sheet to an ancillary text
file
within which i can store my database.

How does one go about doing this and will vlookup work?

Can anyone help or redirect me?

Thanks,

Roger


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking Access Database to Excel Rob Excel Discussion (Misc queries) 0 October 17th 07 06:06 PM
linking data from text file on ftp server to excel file thread Excel Programming 1 September 26th 07 01:36 PM
Linking access database to an excel file PABHL Excel Discussion (Misc queries) 1 June 8th 06 08:35 PM
Turning a text file name into a search and linking the file as a hyperlink AlistairM Excel Discussion (Misc queries) 1 January 26th 06 04:55 AM
Linking sumif from external database file George Setting up and Configuration of Excel 1 April 17th 05 08:29 AM


All times are GMT +1. The time now is 09:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"