I would like to know how can one pull data with VBA from one sheet to the other 3 sheets based on the value one column has.
For Example.
You have 4 Sheets. Tree1, Tree2, Tree3, Data
Tree1, Tree2, and Tree3 have different columns of data. Sheet 4 which is called data has different columns of data but the 1 column's values are "TreeOne", "TreeTwo", and "TreeThree".
I would like to formula to pull from the datasheet each respective tree's data based on that one column from the Datasheet.
Example of the "Data" Sheet
|Colour| Bark| Hight| Season| Specie|
| Brown| Soft| 10 | Summer| Tree 1|
| Brown| hard| 12 | Winter| Tree 2|
| Brown| hard| 14 | Summer| Tree 1|
| Brown| soft| 12 | Winter| Tree 3|
| Brown| hard| 11 | Summer| Tree 2|
So the query should pull from the "Data" Sheet into each specific sheet based on the "Specie" column.
Example of the "TreeOne" Sheet
|Colour| Bark| Hight| Season| Specie|
| Brown| Soft| 10 | Summer| Tree 1|
| Brown| hard| 14 | Summer| Tree 1|
Example of the "TreeTwo" Sheet
|Colour| Bark| Hight| Season| Specie|
| Brown| hard| 12 | Winter| Tree 2|
| Brown| hard| 11 | Summer| Tree 2|
Example of the "TreeThree" Sheet
|Colour| Bark| Hight| Season| Specie|
| Brown| soft| 12 | Winter| Tree 3|
As you can see the VBA query looks at the "Specie" Column and based on the specific species, pulls all the data of that Species to the sheet indicated for that data.