[TABLE="width: 560"]
<tbody>[TR]
[TD]Hi,
First post and struggling to add a snip even!
Currently using Excel 2007. I need to automate the process of calculating the incremental mean temperatures ( highlighted in red font ). The source data is from a thermometer that records hourly as shown in the right hand columns. If the mean temp was always calculated from hour 0, this would be a simple VLOOKUP exercise however because the time intervals in the source data continually changes ( in this instance are 0-2hr, 2-7hr, 7-12hr, 12-15hr etc ) I am stuck. Any help gratefully accepted.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 368"]
<tbody>[TR]
[TD="colspan: 2"]Report[/TD]
[TD][/TD]
[TD="colspan: 2"]Thermometer[/TD]
[/TR]
[TR]
[TD]Time Hrs[/TD]
[TD]Incremental Mean Temp[/TD]
[TD][/TD]
[TD]Hrs[/TD]
[TD]Temp[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="align: right"]20.00[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: right"]21.83[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD="align: right"]28.17[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD="align: right"]30.75[/TD]
[TD][/TD]
[TD]4[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD="align: right"]26.75[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]9[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]29[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD]31[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]13[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]14[/TD]
[TD]29[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]15[/TD]
[TD]28[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]17[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]18[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD]Hi,
First post and struggling to add a snip even!
Currently using Excel 2007. I need to automate the process of calculating the incremental mean temperatures ( highlighted in red font ). The source data is from a thermometer that records hourly as shown in the right hand columns. If the mean temp was always calculated from hour 0, this would be a simple VLOOKUP exercise however because the time intervals in the source data continually changes ( in this instance are 0-2hr, 2-7hr, 7-12hr, 12-15hr etc ) I am stuck. Any help gratefully accepted.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 368"]
<tbody>[TR]
[TD="colspan: 2"]Report[/TD]
[TD][/TD]
[TD="colspan: 2"]Thermometer[/TD]
[/TR]
[TR]
[TD]Time Hrs[/TD]
[TD]Incremental Mean Temp[/TD]
[TD][/TD]
[TD]Hrs[/TD]
[TD]Temp[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="align: right"]20.00[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: right"]21.83[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD="align: right"]28.17[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD="align: right"]30.75[/TD]
[TD][/TD]
[TD]4[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD="align: right"]26.75[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]6[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]9[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]29[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]11[/TD]
[TD]31[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]12[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]13[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]14[/TD]
[TD]29[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]15[/TD]
[TD]28[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]16[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]17[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]18[/TD]
[TD]25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]