Hi,
I was wondering if someone know how to deal with this topic.
I have to range of dates, one for instance the regular year and the second one, the same year but with some gaps and data going along with.
I am looking for a function that will take each date from the full year and searh for the same date in the range with a gaps and then take its coresponding vvalue if that date exists, if not it should write -9999.
so my date are as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]regular year[/TD]
[TD]result should be like this here[/TD]
[TD]year with gaps [/TD]
[TD]values of years with gaps[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 00:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.5[/TD]
[TD]01/01/2011 00:00
[/TD]
[TD]0.5[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 01:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]-9999[/TD]
[TD]01/01/2011 02:00[/TD]
[TD]0.7[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 02:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.7[/TD]
[TD]01/01/2011 03:00[/TD]
[TD]0.4[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 03:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.4[/TD]
[TD]01/01/2011 04:00[/TD]
[TD]0.3[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 04:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.4[/TD]
[TD]etc[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
i have tried to use look up but didnt manage, if someone can help me would appreciate it.
regards,
marc
I was wondering if someone know how to deal with this topic.
I have to range of dates, one for instance the regular year and the second one, the same year but with some gaps and data going along with.
I am looking for a function that will take each date from the full year and searh for the same date in the range with a gaps and then take its coresponding vvalue if that date exists, if not it should write -9999.
so my date are as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]regular year[/TD]
[TD]result should be like this here[/TD]
[TD]year with gaps [/TD]
[TD]values of years with gaps[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 00:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.5[/TD]
[TD]01/01/2011 00:00
[/TD]
[TD]0.5[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 01:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]-9999[/TD]
[TD]01/01/2011 02:00[/TD]
[TD]0.7[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 02:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.7[/TD]
[TD]01/01/2011 03:00[/TD]
[TD]0.4[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 03:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.4[/TD]
[TD]01/01/2011 04:00[/TD]
[TD]0.3[/TD]
[/TR]
[TR]
[TD][TABLE="width: 154"]
<tbody>[TR]
[TD="class: xl65, width: 154, align: right"]01/01/2011 04:00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]0.4[/TD]
[TD]etc[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
i have tried to use look up but didnt manage, if someone can help me would appreciate it.
regards,
marc