I currently have two tables.
One with a company list with related information on each company.
The other, with projects and related information on each project.
Table 1's field headers are:
Company Name | Percentage
Table 2's are:
Project Name | Stage | Contractor | Bidder
where under Contractor and Bidder are Company names.
The aims and order of my code needs to:
1. Take Table 1, and take the company name in that record
2. Count the number of times that company name is listed under 'Contractor' in Table 2
3. For all records Stage = Contract in Table 2, count the number of times the company name is listed underneath Bidder
4. Use the two counts to find a percentage
5. Auto-fill that percentage into 'Percentage' on Table 1.
I know it's a bit complicated but I was wondering if anyone was able to give me some help/tips/pointers! Particularly with Points 3 and 4...
Thanks!
One with a company list with related information on each company.
The other, with projects and related information on each project.
Table 1's field headers are:
Company Name | Percentage
Table 2's are:
Project Name | Stage | Contractor | Bidder
where under Contractor and Bidder are Company names.
The aims and order of my code needs to:
1. Take Table 1, and take the company name in that record
2. Count the number of times that company name is listed under 'Contractor' in Table 2
3. For all records Stage = Contract in Table 2, count the number of times the company name is listed underneath Bidder
4. Use the two counts to find a percentage
5. Auto-fill that percentage into 'Percentage' on Table 1.
I know it's a bit complicated but I was wondering if anyone was able to give me some help/tips/pointers! Particularly with Points 3 and 4...
Thanks!