datavizwiz
New Member
- Joined
- Aug 21, 2018
- Messages
- 5
Hi!
I'm really hoping someone here can help me. I'm going to try and be as concise about my question as possible, but please ask for clarification if needed. I have a fillable PDF where users are given approx. 60-240 schedule choices (depending on which group they are in) which they rank numerically in order of their preference. Their selections are then exported to excel, normalized and imported into access where we determine who received what schedule based on their seniority and their ranking selections.
Obviously best practice is not to have a table with 240 fields (1 for each schedule option) so data normalization currently consists of converting the data structure from 240 fields to 3 fields (where there is 1 record for each scheduleID with it's ranking and a User ID to identify the individual.)
Current state: copying and transpose pasting the schedule data inside of excel and then copying, pasting and filling their user ID. The process for this is the same every time, and I am looking for the best way to automate this process instead of it taking hours (400 people are submitting these forms). Any input on the best way to do this is appreciated. I'm not great very well versed in VBA, but feel that is probably the best method.
RAW DATA AFTER EXPORTING FROM PDF FORM
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]ID[/TD]
[TD]Schedule 1[/TD]
[TD]Schedule 2[/TD]
[TD]Schedule 3[/TD]
[TD]Schedule 4[/TD]
[TD]Schedule 5[/TD]
[/TR]
[TR]
[TD]Person1[/TD]
[TD]U34567[/TD]
[TD]1[/TD]
[TD]7[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Person 2[/TD]
[TD]U29268[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]7[/TD]
[TD]6[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
NEEDED FORMAT
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Schedule ID[/TD]
[TD]Ranking[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]2[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]3[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]4[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]1[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]2[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]3[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]4[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm really hoping someone here can help me. I'm going to try and be as concise about my question as possible, but please ask for clarification if needed. I have a fillable PDF where users are given approx. 60-240 schedule choices (depending on which group they are in) which they rank numerically in order of their preference. Their selections are then exported to excel, normalized and imported into access where we determine who received what schedule based on their seniority and their ranking selections.
Obviously best practice is not to have a table with 240 fields (1 for each schedule option) so data normalization currently consists of converting the data structure from 240 fields to 3 fields (where there is 1 record for each scheduleID with it's ranking and a User ID to identify the individual.)
Current state: copying and transpose pasting the schedule data inside of excel and then copying, pasting and filling their user ID. The process for this is the same every time, and I am looking for the best way to automate this process instead of it taking hours (400 people are submitting these forms). Any input on the best way to do this is appreciated. I'm not great very well versed in VBA, but feel that is probably the best method.
RAW DATA AFTER EXPORTING FROM PDF FORM
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]ID[/TD]
[TD]Schedule 1[/TD]
[TD]Schedule 2[/TD]
[TD]Schedule 3[/TD]
[TD]Schedule 4[/TD]
[TD]Schedule 5[/TD]
[/TR]
[TR]
[TD]Person1[/TD]
[TD]U34567[/TD]
[TD]1[/TD]
[TD]7[/TD]
[TD]10[/TD]
[TD]11[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Person 2[/TD]
[TD]U29268[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]7[/TD]
[TD]6[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
NEEDED FORMAT
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Schedule ID[/TD]
[TD]Ranking[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]2[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]3[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]4[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]U34567[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]1[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]2[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]3[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]4[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]U29268[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]