lost_my_SQL
New Member
- Joined
- May 3, 2019
- Messages
- 1
If I have a list of job titles [JBTBL], and a list of contract years [POPTBL]; I need to copy the list of job titles for as many times as I have years, lets call this the DetailTable. Then if I change/delete/add a job title from the job title table or add or delete a contract year from the POPTBL, i need the DetailTable to automatically reflect to these changes. This would save me hours of copy and pasting and re-working formulas.
**I refer to them as tables because they contain a lot more information but those are easy vlookups after i get the duplication figured out.
Hopefully my explanation makes sense.
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]JBTBL[/TD]
[/TR]
[TR]
[TD]PLUMBER[/TD]
[/TR]
[TR]
[TD]CARPENTER[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]POPTBL[/TD]
[/TR]
[TR]
[TD]YEAR 1[/TD]
[/TR]
[TR]
[TD]YEAR 2[/TD]
[/TR]
</tbody>[/TABLE]
Auto-Details Table
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]POP[/TD]
[TD]JOB[/TD]
[/TR]
[TR]
[TD]YEAR 1[/TD]
[TD]PLUMBER[/TD]
[/TR]
[TR]
[TD]YEAR 1[/TD]
[TD]CARPENTER[/TD]
[/TR]
[TR]
[TD]YEAR 2[/TD]
[TD]PLUMBER[/TD]
[/TR]
[TR]
[TD]YEAR 2[/TD]
[TD]CARPENTER[/TD]
[/TR]
</tbody>[/TABLE]
**I refer to them as tables because they contain a lot more information but those are easy vlookups after i get the duplication figured out.
Hopefully my explanation makes sense.
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]JBTBL[/TD]
[/TR]
[TR]
[TD]PLUMBER[/TD]
[/TR]
[TR]
[TD]CARPENTER[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]POPTBL[/TD]
[/TR]
[TR]
[TD]YEAR 1[/TD]
[/TR]
[TR]
[TD]YEAR 2[/TD]
[/TR]
</tbody>[/TABLE]
Auto-Details Table
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]POP[/TD]
[TD]JOB[/TD]
[/TR]
[TR]
[TD]YEAR 1[/TD]
[TD]PLUMBER[/TD]
[/TR]
[TR]
[TD]YEAR 1[/TD]
[TD]CARPENTER[/TD]
[/TR]
[TR]
[TD]YEAR 2[/TD]
[TD]PLUMBER[/TD]
[/TR]
[TR]
[TD]YEAR 2[/TD]
[TD]CARPENTER[/TD]
[/TR]
</tbody>[/TABLE]