I am trying to create a macro that populates a new worksheet based off of a master worksheet. The data being populated is non-contiguous in the same row and only populates if a particular cell in that row is populated with "Y" as data. (Example below).
Worksheet 1 (Master)
<tbody>
</tbody>
If column B "Priority" is populated with a "Y" then populated worksheet 2 with the following data from worksheet 1
Worksheet 2 (New) After running Macro
<tbody>
</tbody>
*Note that Team one does not populate because column B is not populated with a "Y" and the description column from worksheet 1 does not get get pulled in to worksheet 2. Does anyone have a recommendation for this combination of requirements?
Thank you
FOMOF
Worksheet 1 (Master)
ID | PRIORITY | TEAM NAME | DESCRIPTION | TEAM LOCATION | START DATE |
1 | TEAM A | PRIMARY | LONDON | 9.10.15 | |
2 | Y | TEAM B | SECONDARY | SINGAPORE | 10.11.15 |
<tbody>
</tbody>
If column B "Priority" is populated with a "Y" then populated worksheet 2 with the following data from worksheet 1
Worksheet 2 (New) After running Macro
ID | Team Name | TEAM LOCATION | START DATE | |
2 | TEAM B | SINGAPORE | 10.11.15 | |
<tbody>
</tbody>
*Note that Team one does not populate because column B is not populated with a "Y" and the description column from worksheet 1 does not get get pulled in to worksheet 2. Does anyone have a recommendation for this combination of requirements?
Thank you
FOMOF