Hi all, struggling with concept of looping so could really do with your help
My problem is this
In one workbook I have a list (indeterminate number) of values which have been data sorted to group duplicates together.
Eg
JC000
JC001
JC001
JC001
JC002
JC002
In another workbook I hold a full list of possible values with associated information
Eg
Column A B C D
Row
132 JB899 Languages Year 2 Manager A
133 JC000 Maths Year 4 Manager B
134 JC001 Science Year 1 Manager C
135 JC002 Science Year 2 Manager C
136 JC003 Science Year 3 Manager C
I need a way to
1. Identify each value from workbook A in turn (and the number of times it appears).
2. Find that value in Workbook B.
3. Pick up the associated data
4. Apply that data in Workbook A to the cells to the right of the initial search value.
Preferred Result =
JC000 Maths Year 4 Manager B
JC001 Science Year 1 Manager C
JC001 Science Year 1 Manager C
JC001 Science Year 1 Manager C
JC002 Science Year 2 Manager C
JC002 Science Year 2 Manager C
Thanks for any help you can give with this.
My problem is this
In one workbook I have a list (indeterminate number) of values which have been data sorted to group duplicates together.
Eg
JC000
JC001
JC001
JC001
JC002
JC002
In another workbook I hold a full list of possible values with associated information
Eg
Column A B C D
Row
132 JB899 Languages Year 2 Manager A
133 JC000 Maths Year 4 Manager B
134 JC001 Science Year 1 Manager C
135 JC002 Science Year 2 Manager C
136 JC003 Science Year 3 Manager C
I need a way to
1. Identify each value from workbook A in turn (and the number of times it appears).
2. Find that value in Workbook B.
3. Pick up the associated data
4. Apply that data in Workbook A to the cells to the right of the initial search value.
Preferred Result =
JC000 Maths Year 4 Manager B
JC001 Science Year 1 Manager C
JC001 Science Year 1 Manager C
JC001 Science Year 1 Manager C
JC002 Science Year 2 Manager C
JC002 Science Year 2 Manager C
Thanks for any help you can give with this.