linking data table table
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Linking data from table to table

Linking data from table to table

resolvedResolved · Medium Priority · Version 2000

replyReply Wed 30 Apr 2008, 15:00Delegate Emma said...

Emma has attended:
Access Introduction course
Access Intermediate course
Access Advanced course

Linking data from table to table

I would like to be able to use a drop down box to choose a field but have it related to another column in a different table?

eg.

A Company gets 5%
B Company gets 8%

the above info stored in one table

In another table I'd like to choose B Company and 8% automatically come up or that's the only number shown in the drop down box.

I'm sure this must be possible but not sure how, hope the above details my question well enough!

For upcoming training course dates see: Pricing & availability

replyReply Thu 12 Jun 2008, 11:42Trainer Carlos said...

RE: Linking data from table to table

Hi Emma

As you probably found out you cannot create a Validation list in Excel that gets gata from another sheet.

In the attached file I used a basic formula to bring the company names from the "Percentages" sheet to the "Calculations" sheet and put them away from the main data.

The in the "Calculations" sheet I created a Data Validation list that takes the names from this list and uses them in the "Company Name" column.

Then I created a VLOOKUP that looks at the value in the "Company Name" column and then goes to the "Percentages" sheet and finds the matching Percentage.

This was combined with an IF statement that keeps the Percentage 0 until a name is placed in the "Company Name" column.

Hope this helps

Carlos

Attached files...

Linking Lists from Two Sheets.xls

 

Please browse our web site to find out more about
microsoft access training course and other Microsoft training courses.

Access tip:

Undo Entries In Records

To Undo any entries or changes in records:

Hit the ESC key once for the current field

And ESC twice for current record

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard