Hi experts,
I come with another problem.I have a dynamic set of data which updates according to the user input in another sheet. The data set looks like below.
[TABLE="width: 297"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]
[/TD]
[TD]Time Started[/TD]
[TD]Time Ended[/TD]
[/TR]
[TR]
[TD]Exercise 1[/TD]
[TD="align: right"]9:00[/TD]
[TD="align: right"]9:15[/TD]
[/TR]
[TR]
[TD]Exercise 2[/TD]
[TD="align: right"]9:15[/TD]
[TD="align: right"]10:15[/TD]
[/TR]
[TR]
[TD]Exercise 3[/TD]
[TD="align: right"]10:15[/TD]
[TD="align: right"]11:15[/TD]
[/TR]
[TR]
[TD]Exercise 4[/TD]
[TD="align: right"]11:15[/TD]
[TD="align: right"]12:15[/TD]
[/TR]
[TR]
[TD]Exercise 5[/TD]
[TD="align: right"]12:15[/TD]
[TD="align: right"]13:15[/TD]
[/TR]
[TR]
[TD]Exercise 6[/TD]
[TD="align: right"]13:15[/TD]
[TD="align: right"]14:15[/TD]
[/TR]
[TR]
[TD]Exercise 7[/TD]
[TD="align: right"]14:15[/TD]
[TD="align: right"]15:15[/TD]
[/TR]
[TR]
[TD]Exercise 8[/TD]
[TD="align: right"]15:15[/TD]
[TD="align: right"]16:15[/TD]
[/TR]
[TR]
[TD]Exercise 9[/TD]
[TD="align: right"]16:15[/TD]
[TD="align: right"]17:15[/TD]
[/TR]
[TR]
[TD]Exercise 10[/TD]
[TD="align: right"]17:15[/TD]
[TD="align: right"]18:15[/TD]
[/TR]
</tbody>[/TABLE]
What I want to achieve is the total elapsed time for all the exercises. So ideally I want to get the value MOD((C11-B2),1). But the problem I have is the data set is dynamic and I don't know how many rows Im gonna have so the C11 might change to something else.
Can you please educate me on how to retrieve the last valid row so I can get this to work?
Many thanks.
I come with another problem.I have a dynamic set of data which updates according to the user input in another sheet. The data set looks like below.
[TABLE="width: 297"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]
[/TD]
[TD]Time Started[/TD]
[TD]Time Ended[/TD]
[/TR]
[TR]
[TD]Exercise 1[/TD]
[TD="align: right"]9:00[/TD]
[TD="align: right"]9:15[/TD]
[/TR]
[TR]
[TD]Exercise 2[/TD]
[TD="align: right"]9:15[/TD]
[TD="align: right"]10:15[/TD]
[/TR]
[TR]
[TD]Exercise 3[/TD]
[TD="align: right"]10:15[/TD]
[TD="align: right"]11:15[/TD]
[/TR]
[TR]
[TD]Exercise 4[/TD]
[TD="align: right"]11:15[/TD]
[TD="align: right"]12:15[/TD]
[/TR]
[TR]
[TD]Exercise 5[/TD]
[TD="align: right"]12:15[/TD]
[TD="align: right"]13:15[/TD]
[/TR]
[TR]
[TD]Exercise 6[/TD]
[TD="align: right"]13:15[/TD]
[TD="align: right"]14:15[/TD]
[/TR]
[TR]
[TD]Exercise 7[/TD]
[TD="align: right"]14:15[/TD]
[TD="align: right"]15:15[/TD]
[/TR]
[TR]
[TD]Exercise 8[/TD]
[TD="align: right"]15:15[/TD]
[TD="align: right"]16:15[/TD]
[/TR]
[TR]
[TD]Exercise 9[/TD]
[TD="align: right"]16:15[/TD]
[TD="align: right"]17:15[/TD]
[/TR]
[TR]
[TD]Exercise 10[/TD]
[TD="align: right"]17:15[/TD]
[TD="align: right"]18:15[/TD]
[/TR]
</tbody>[/TABLE]
What I want to achieve is the total elapsed time for all the exercises. So ideally I want to get the value MOD((C11-B2),1). But the problem I have is the data set is dynamic and I don't know how many rows Im gonna have so the C11 might change to something else.
Can you please educate me on how to retrieve the last valid row so I can get this to work?
Many thanks.