Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / August 2005

Tip: Looking for answers? Try searching our database.

Converting Excel to Access from Spreadsheet format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeffstahl - 27 Aug 2005 19:55 GMT
I need to link to an excel file, but I need to normalize the spreadsheet data
that contains columns of data that needs to be converted to relational
records.  I think I said that right.

Excel file:
             Name1       Name2        Name3
File A         X                                 X
File B                           X

Convert to;
File A   Name1
File A   Name3
File B   Name2

Any ideas?
Ken Snell [MVP] - 27 Aug 2005 20:18 GMT
Use a UNION query to present the data that way.

SELECT T.Field1, T.Name1
FROM TableName AS T
UNION ALL
SELECT U.Field1, U.Name2
FROM TableName AS U
UNION ALL
SELECT V.Field1, V.Name3
FROM TableName AS V;

Signature

       Ken Snell
<MS ACCESS MVP>

>I need to link to an excel file, but I need to normalize the spreadsheet
>data
[quoted text clipped - 12 lines]
>
> Any ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.