revver
Active Member
- Joined
- Dec 20, 2007
- Messages
- 257
I have a workbook with twelve sheets named Jan, Feb, Mar ... Nov, Dec.
Each sheet is similar and quite simple. Row 1 contains headings. Column A contains increasing dates beginning at row 2 and extending to row 29, 31 or 32 depending on the month. The next three columns (B, C, D) contain the three readings for the day. That is all that is relevant to my problem really. The rest is max, min averages etc and a graph.
I want to add a thirteenth sheet laid out in a similar way but showing a portion of two consecutive sheets.
I want to enter a date somewhere on it and have it retrieve the three daily readings for that date from the appropriate sheet(s) and so on for 30 more days.
Lets say I enter Feb 17. I want the new sheet to show the daily readings for the month which begins on that date. I realize that I will have to begin with the 'Feb' sheet and then switch to the 'Mar' sheet.
Is the best strategy to use vba to copy data from 'Feb' and 'Mar'
or is there a way to do this with formula.
I hope I have explained this satisfactorily.
Each sheet is similar and quite simple. Row 1 contains headings. Column A contains increasing dates beginning at row 2 and extending to row 29, 31 or 32 depending on the month. The next three columns (B, C, D) contain the three readings for the day. That is all that is relevant to my problem really. The rest is max, min averages etc and a graph.
I want to add a thirteenth sheet laid out in a similar way but showing a portion of two consecutive sheets.
I want to enter a date somewhere on it and have it retrieve the three daily readings for that date from the appropriate sheet(s) and so on for 30 more days.
Lets say I enter Feb 17. I want the new sheet to show the daily readings for the month which begins on that date. I realize that I will have to begin with the 'Feb' sheet and then switch to the 'Mar' sheet.
Is the best strategy to use vba to copy data from 'Feb' and 'Mar'
or is there a way to do this with formula.
I hope I have explained this satisfactorily.