alfread187
New Member
- Joined
- Jul 19, 2011
- Messages
- 1
Good Morning,
Since yesterday I have been trying to work through a vba problem that I just can't seem to figure out. I have worked through the logic (I think), so please see below as I try to explain:
I am trying to write a macro that will step through a list of department numbers (each department number is in a different cell in a different row ie: A2, A3, A4....An). The macro needs to look at the department number, then find each instance of the department number on worksheet 2 and return all associated values from column 3 on worksheet 3. Then it needs to step down to the next department number and repeat the process for that number (placing the value in column 3 where the first set of values left off on worksheet 3).
It is like a vlookup return multiple values but for many source values. Ideas?
Thank you for any help you can provide in advance!!
alfread187
Since yesterday I have been trying to work through a vba problem that I just can't seem to figure out. I have worked through the logic (I think), so please see below as I try to explain:
I am trying to write a macro that will step through a list of department numbers (each department number is in a different cell in a different row ie: A2, A3, A4....An). The macro needs to look at the department number, then find each instance of the department number on worksheet 2 and return all associated values from column 3 on worksheet 3. Then it needs to step down to the next department number and repeat the process for that number (placing the value in column 3 where the first set of values left off on worksheet 3).
It is like a vlookup return multiple values but for many source values. Ideas?
Thank you for any help you can provide in advance!!
alfread187