I have an Excel sheet (made from an Access query) that is has three columns:
Site Date Price
1 7/24/06 9
2 7/24/06 10
3 7/24/06 4
1 7/25/06 8
2 7/25/06 3
3 7/25/06 7
I have another sheet that has all the sites listed down the left side as rows and then each date as a column:
Site 7/24 7/25
1 9 8
2 10 3
3 4 7
I would like to be able to write a function or some VBA to pull the data from the first sheet and have it arranged on the second sheet by looking up the site and the date.
Right now the way it works is that a query is ran and filtered for each day, then you have to click on each cell and 'Refresh' the data. I would like to be able to run a query for the whole month and avoid the whole clicking each cell to update fiasco. Thanks!
Site Date Price
1 7/24/06 9
2 7/24/06 10
3 7/24/06 4
1 7/25/06 8
2 7/25/06 3
3 7/25/06 7
I have another sheet that has all the sites listed down the left side as rows and then each date as a column:
Site 7/24 7/25
1 9 8
2 10 3
3 4 7
I would like to be able to write a function or some VBA to pull the data from the first sheet and have it arranged on the second sheet by looking up the site and the date.
Right now the way it works is that a query is ran and filtered for each day, then you have to click on each cell and 'Refresh' the data. I would like to be able to run a query for the whole month and avoid the whole clicking each cell to update fiasco. Thanks!