Thread
:
week numbers
View Single Post
#
4
Posted to microsoft.public.excel.misc
Sandy Mann
external usenet poster
Posts: 2,345
week numbers
Not quite you end up with a zero at after 51. Slight modification:
=MOD(A1,52)+1
--
Regards,
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
with @tiscali.co.uk
"Joel" wrote in message
...
You can use the MOD function
=MOD(A1,52)
"Sandy Mann" wrote:
wrote in message
ups.com...
I have input the week number manuall and it is not based on a date or
anything like that.
I am finding that at the end of this year for week 52 it is continuing
to roll onto week 53 and does not recognise that my max for the week
number or for this figure is 52 and then I want it to start at 1 again
for the next year.
Assuming that you are entering the first week number manually and you are
using the formula =A1+1 to index the week number change your formula to:
=IF(A1+1=53,1,A1+1)
which will reset the count back to 1.
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
with @tiscali.co.uk
Reply With Quote
Sandy Mann
View Public Profile
Find all posts by Sandy Mann