crazyeyeschase
Board Regular
- Joined
- May 6, 2014
- Messages
- 104
- Office Version
- 365
- Platform
- Windows
I have a workbook where I am trying to pull info from multiple sheets to one if a cell in a column from one sheet is = to a cell in a different sheet
So if a cell in column F of sheet1,sheet2,sheet3 = a cell in column G of sheet4
Then copy the info from cell row A,B,C, and D from sheet1,2, or 3 to sheet 4 cell A,B,D, and F
I'm not sure if there is an easy formula for this or if a macro might be best.
My thought for the macro would be to run one sheet at a time with something like below
For each cell in sheet1 column F to last row
if cell is equal to range sheet4 column G to last row then
copy range sheet 1 AB and paste to range sheet 4 AB
copy range sheet 1 CD and paste to range sheet 4 DF
next cell
Amy thought or suggestions?
I'm willing to research just need guidance on the best route.
So if a cell in column F of sheet1,sheet2,sheet3 = a cell in column G of sheet4
Then copy the info from cell row A,B,C, and D from sheet1,2, or 3 to sheet 4 cell A,B,D, and F
I'm not sure if there is an easy formula for this or if a macro might be best.
My thought for the macro would be to run one sheet at a time with something like below
For each cell in sheet1 column F to last row
if cell is equal to range sheet4 column G to last row then
copy range sheet 1 AB and paste to range sheet 4 AB
copy range sheet 1 CD and paste to range sheet 4 DF
next cell
Amy thought or suggestions?
I'm willing to research just need guidance on the best route.