Ivan Howard
Active Member
- Joined
- Nov 10, 2004
- Messages
- 332
Hi All,
I have a small issue and have tried to write a macro for it, but I am struggling:
I have a list of staff numbers in column A... this holds duplicates. In column B, corresponding to each staff number is Apples, Bananas, Grapes, Oranges or Pears... Sometimes each person can have up to 5 entries, i.e. 5 rows...
What I need is a macro that will place each persons 'fruit preferences' onto one row, corresponding to their staff number, so that I can do a vlookup using the resulting list.
Preferrably, the staff number should remain in column A, the 1st choice should be in column B, 2nd choice in column C, 3rd choice in column D... etc.
I would really appreciate your help with this.
Thanks
Ivan
I have a small issue and have tried to write a macro for it, but I am struggling:
I have a list of staff numbers in column A... this holds duplicates. In column B, corresponding to each staff number is Apples, Bananas, Grapes, Oranges or Pears... Sometimes each person can have up to 5 entries, i.e. 5 rows...
What I need is a macro that will place each persons 'fruit preferences' onto one row, corresponding to their staff number, so that I can do a vlookup using the resulting list.
Preferrably, the staff number should remain in column A, the 1st choice should be in column B, 2nd choice in column C, 3rd choice in column D... etc.
I would really appreciate your help with this.
Thanks
Ivan