Excel - Access help please

dwbolland

Board Regular
Joined
Oct 29, 2004
Messages
144
I am moving information from excel to access as i am sure it will help (in the long run)

However I am very comfortable with excel - macros etc.

I know I must be able to sort access out but I can't get started

Month NI Number Stay ID Stage ID Event Code Event Date
Aug-04 TN294233B 1 2 EZ0002 11/08/2004
May-04 II389177B 1 2 EZ0002 27/05/2004
Sep-04 JZ555402C 1 2 EZ0002 10/09/2004

This is the information I have in excel for around 100,000 entries.

They move through various event codes on various days.

I really need to analyse the movements of each member (NI Number) through each event code (and when).

Can someone help me to set this up please. All my info is in excel and I am happy at importing it - but how do i lay out the database????

by the way this site is tremendous and helps save time when thinking about complex excel issues you know you can fix but haven't time! 5 STARS to the site- - but can anyone help?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hello and welcome.

You have correctly identified the setup as being critical to the success of your database. Unfortunately I can't provide much help or advice on the best setup for your database given I don't understand your example.

However, there are some good support pages from MS here, here and here that might help you get started.

If you get stuck then post a reply here and help shouldn't be too far away.

HTH, Andrew. :)
 
Upvote 0
I have read these articles (thanks again) but am still unsure which way to go about it.

I have thousands of members who each go through 4 (usually) stages after various times spent on the stage.

I want to be able analyse the time spent on each stage? :rolleyes:

I was initially thinking that four databases for each stage and date stage commenced all with reference to the member's ID.

Am I on the wrong track? :oops:
 
Upvote 0
Hi, I now understand the setup better. How about the following :

One database with the following three tables :

  • first table = members (with member id plus other info)
    second table = stages (includes stages 1-4 plus any other stages with additional info on each stage)
    third table = member_stage table (includes member id, stage number, start date/time and end date/time)

One member can have many stages and one stage can have many members, so what you need is a many-to-many relationship between members and stages which is achieved through the intermediary member_stage table. Link the members to the member_stage table with a one to many link and link the stages to the member_stage table also with a one to many link.

HTH, Andrew. :)
 
Upvote 0
how can i do so much on excel and yet be pityfully poor at this! is infuriating but I am very grateful of the pointers i feel so close now.

members - table
ID [text]
DOB [date]
Previous memberships [number]

Stages - table
STAGE [number]
DAYS [number]

member stage - table
arrrggghhhh not sure here
how can I get the fact that i want time spent on each stage by each member?
know i should be able to - which is the reason for the fury growing in me

:pray:
 
Upvote 0
Hi, following is a sample layout of my previous post.
dbsetup.xls
ABCDEFG
1Database setup
2
3
4membersmember_stages
5member id1-----------Mmember idstages
6member namestage idM--------------1stage id
7dobstart datestage description
8previous membershipsend dateother stage info
9other member info
10
11
12
13
14master file of member detailsmaster file of stages
15
16link file that allows each member to have multiple stages
17and each stage to have multiple members
18
Sheet1


HTH, Andrew. :)
 
Upvote 0

Forum statistics

Threads
1,221,825
Messages
6,162,190
Members
451,752
Latest member
majbizzaki

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