jartgo
Civil/Environmental
- Oct 20, 2005
- 220
Greetings,
I consider myself an expert user of basic spreadsheet functions. I'm familiar enough with macros to give them a try, and not at all familiar with VBA but also willing to try it if necessary to solve this problem. The problem is quite simple. I have a dataset of sporadic daily flow meter readings over several years. The data is in two columns. Column A is date and Column B is meter reading. The reading dates are random with some days skipped. For example Row 1 might be 8/11/08, Row 2 might be 8/17/08, Row 3 might be 8/18/08, and Row 4 might be 8/25/08, etc.
What I want to do is to have excel add rows in between the dates, such that I would then have a row for each calendar day (using the example above it would add rows for 8/12/08 through 8/16/08, and then 8/19/08 through 8/24/08). I would then like for it to interpolate the meter readings for the inserted rows/days, using the meter readings tied to the current data (again using the example above, it would interpolate between 8/11/08 and 8/17/08 to populate the meter readings for the the days 8/12/08 through 8/16/08, etc.)
This is done easy enough manually, but it obviously is a time consuming process. Any suggestions on how to automate this process?
Thanks in advance.
I consider myself an expert user of basic spreadsheet functions. I'm familiar enough with macros to give them a try, and not at all familiar with VBA but also willing to try it if necessary to solve this problem. The problem is quite simple. I have a dataset of sporadic daily flow meter readings over several years. The data is in two columns. Column A is date and Column B is meter reading. The reading dates are random with some days skipped. For example Row 1 might be 8/11/08, Row 2 might be 8/17/08, Row 3 might be 8/18/08, and Row 4 might be 8/25/08, etc.
What I want to do is to have excel add rows in between the dates, such that I would then have a row for each calendar day (using the example above it would add rows for 8/12/08 through 8/16/08, and then 8/19/08 through 8/24/08). I would then like for it to interpolate the meter readings for the inserted rows/days, using the meter readings tied to the current data (again using the example above, it would interpolate between 8/11/08 and 8/17/08 to populate the meter readings for the the days 8/12/08 through 8/16/08, etc.)
This is done easy enough manually, but it obviously is a time consuming process. Any suggestions on how to automate this process?
Thanks in advance.