Hi,
if your target is 300 hours per year (52 weeks) , you have to work
5.77 hours a week. If you work 2.5 hours in the first week and you enter
this value in C1 you have to work 297.5 hours in the following 51 weeks.
And the will be a weekly target of 5.83 hours. If you work more than
5.77 hours in one week, the weekly target becomes smaller.
51 * 5.83 + the worked 2.5 hours = the target of 300 hours
If you have header you can calculate your yearly target:
=SUM(OFFSET($C$1,1,,COUNT($C:$C)))+SUM(OFFSET($B$1,COUNTA($C:$C),,52-COUNT($C:$C)))
and without headers:
=SUM(OFFSET($C$1,,,COUNT($C:$C)))+SUM(OFFSET($B$1,COUNTA($C:$C),,52-COUNT($C:$C)))