Help to populate table based on data from a different table

xXcarl86Xx

New Member
Joined
Sep 21, 2015
Messages
1
Hi,

I am looking for a way to populate a table in excel using another table that is populated manually and a table used for a lookup function.
When the user enters a number (Priority Level) into the “summary table”, I would like excel to look at the corresponding skill (Tax, Bens etc) and Agent Name, and populate the output table in the format shown (Skill Number “No.”, Skill Name “Name”, Priority Level “Pri.”) for each skill within the corresponding skill group (which can be anywhere from 1 skill to 10 skills). Excel will need to repeat this for every skill with a number in the summary table (multiple skills per agent).

Sheet 1 (Summary Table)

TaxBensSBSParkingLibrariesRegistrarsChildren’sSchool AdMembers
Amar Shabir557
Amy Hookham53
Anne Marie Hole579
Annette Ramsay795
Antonia McNulty53
Austin Warren57
Brian McAuliffe753
Carol Duffin975

<tbody>
</tbody>


Sheet 2 (Skill Lookup)
Skill NameSkill No.Skill Group
LGS LBB ASC Social765Adult Social
LBB AT BB Payments660Assisted Travel
LBB AT BB Appl661Assisted Travel
LBB AT BB Other662Assisted Travel
LBB AT DFP Appl663Assisted Travel
LGS LBB Assst Travel747Assisted Travel
TandB HB New Claims677Bens
TandB HB Change Circ678Bens
TandB HB Chase Up Q679Bens
TandB HB Overpayment680Bens
TandB HB Pay Letters681Bens
TandB HB Landlord682Bens
TandB HB Other Enq683Bens
TandB HB Chase NOSP691Bens
LGS LBB HB New Claim743Bens
LGS LBB HB Enquiry744Bens
Barnet Bens O/Flow1191Bens
Barnet N/Claims1199Bens
LGS LBB CS Prior Ref762Children's
LGS LBB CS Child Unb763Children's
LGS LBB CS Default764Children's
LGS_Default_Aux219Default
LGS LBB FYI761FYI
LGS LBB Libraries655Libraries
LBB Reserve Book666Libraries
LBB Renew Book Tri667Libraries
LBB Library Pay Fine671Libraries
LBB Library Memb Enq672Libraries
LBB Members Enquiry760Member's
LGS LBB Park Per Ref768Parking
LGS LBB Other Per Enq769Parking
LGS LBB Park PCN War770Parking
LGS LBB Births649Registrars
LGS LBB Deaths650Registrars
LGS LBB Married CP651Registrars
LGS LBB DM Certs652Registrars
LGS LBB Registars D653Registrars
LGS LBB School Admit654School Admissions
LBB SA Wait List664School Admissions
LBB SA Gen Enq665School Admissions
LBB Sch Ad App Main689School Admissions
LBB Sch Ad App in Yr690School Admissions
LGS LBB Street Clean645Street Scene
LGS LBB Parks646Street Scene
LBB SBS Parks Ground646Street Scene
LBB SBS Rep Problem684Street Scene
LBB SBS Domestic Bin685Street Scene
LBB SBS Non Dom Bin686Street Scene
LGS LBB Street Serv736Street Scene
LGS LBB SBS Agents757Street Scene
LBB NR St Based Serv757Street Scene
LGS LBB SBS Env Ops759Street Scene
LGS LBB Switchboard656Switchboard
LBB TandB Remind IVR668Tax
LBB TandB Summons669Tax
LBB TandB CT Dis Pay670Tax
LBB TandB CT Dir Deb673Tax
LBB CT Moves 1674Tax
LBB TandB CT Dis OL675Tax
LBB TandB CT Refund676Tax
LBB CT Text Message687Tax
LBB CT Moves 2688Tax
LGS LBB CT DD737Tax
LGS LBB CT Moves738Tax
LGS LBB CT Bill Enq739Tax
LGS LBB CT Recovery740Tax
Barnet Ctax O/Flow1179Tax
Barnet Recovery1196Tax
Barnet DD1197Tax
Barnet Moves1198Tax
LGS LBB Youth Serv767Youth

<tbody>
</tbody>

Sheet 1 (Output Table)

Advisor NameSC.Skill 1NamePri.Skill 2NamePri.Skill 3NamePri.Skill 5NamePri.Skill 6NamePri.
No.No.No.No.No.
Amar Shabir11654LGS LBB School Admit5761LGS LBB FYI4650LGS LBB Deaths7651LGS LBB Married CP7652LGS LBB DM Certs7
Amy Hookham24739LGS LBB CT Bill Enq5737LGS LBB CT DD5738LGS LBB CT Moves5740LGS LBB CT Recovery5744LGS LBB HB Enquiry7
Anne Marie Hole10645LGS LBB Street Clean5646LGS LBB Parks5736LGS LBB Street Serv5757LGS LBB SBS Agents5646LBB SBS Parks Ground5
Annette Ramsay24739LGS LBB CT Bill Enq7737LGS LBB CT DD7738LGS LBB CT Moves7744LGS LBB HB Enquiry5743LGS LBB HB New Claim5
Antonia McNulty8747LGS LBB Assst Travel5660LBB AT BB Payments5661LBB AT BB Appl5662LBB AT BB Other5663LBB AT DFP Appl5
Austin Warren8747LGS LBB Assst Travel5660LBB AT BB Payments5661LBB AT BB Appl5662LBB AT BB Other5663LBB AT DFP Appl5
Brian McAuliffe11744LGS LBB HB Enquiry5743LGS LBB HB New Claim5677TandB HB New Claims5678TandB HB Change Circ5679TandB HB Chase Up Q5
Carol Duffin16656LGS LBB Switchboard9655LGS LBB Libraries5667LBB Renew Book Tri5666LBB Reserve Book5672LBB Library Memb Enq5

<tbody>
</tbody>


I imagine that VBA will need to be used but have no idea where to start with VBA and have exhausted all of my excel knowledge in trying to get the output I need using formulas.

Thanks in advance,

Carl
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,214,620
Messages
6,120,554
Members
448,970
Latest member
kennimack

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