Getting data from access in excel

benkong2

New Member
Joined
Feb 19, 2002
Messages
8
I have an excel sheet that has unit numbers. In an access database I have the same unit numbers,mechanic names and days each unit number was used. What I want to do is say if unit number in excel matches the unit number in the access file then combine in an excel sheet the name, unit number and days used. Is this possible? One user name can have multiple unit numbers associated with it.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
On 2002-02-24 08:44, benkong2 wrote:
I have an excel sheet that has unit numbers. In an access database I have the same unit numbers,mechanic names and days each unit number was used. What I want to do is say if unit number in excel matches the unit number in the access file then combine in an excel sheet the name, unit number and days used. Is this possible? One user name can have multiple unit numbers associated with it.

If the field names are exactly the same both in Access and in Excel, I'd import the Excel data into the existing table in Access, then export the table housing the combined data to Excel.
 
Upvote 0
On 2002-02-24 08:44, benkong2 wrote:
I have an excel sheet that has unit numbers. In an access database I have the same unit numbers,mechanic names and days each unit number was used. What I want to do is say if unit number in excel matches the unit number in the access file then combine in an excel sheet the name, unit number and days used. Is this possible? One user name can have multiple unit numbers associated with it.

I'm reading it a little differently, I would also import it to Access, but in seperate table. Then set up a query where by you create a join between the Mechanic fields for example.
Then set the Join properties to reflect the data you want to see.

You can also try a LINK as opposed to import, but that is not always favourable with some data types. otherwise use Macro Action to automate your imports.

Ziggy
 
Upvote 0

Forum statistics

Threads
1,223,383
Messages
6,171,772
Members
452,423
Latest member
Rene M

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