Inverse to WEEKNUM

A

Alonso

I know that using the function WEEKNUM you can get the number for a week
through a year

eg. =WEEKNUM(09/29/2008) gets 40

my question is
can it be done backwards??

what i want to do is
type the number of the week (A1)
and get the date of the monday of that week (on B1)

ie
if i type 41
i should get 10/06/2008
(the date of the monday of week 41)
 
S

Sean Timmons

Maybe not the prettiest thing, but if you put 1/1/08 in B1 and 40 in A1,

=IF(WEEKDAY(B1+A1*7,1)=2,WEEKDAY(B1+A1*7,1),WEEKDAY(B1+A1*7,1)-WEEKDAY(B1+A1*7,1)+2)

should get you there.
 
A

Alonso

thanks for the remark David

i noticed that your formula is similar
I'll keep both, just to track any changes
 
A

Alonso

David

for year 2009
what changes should be made to the formulas
either your's or mama's
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Weeknum formula 2
Weeknum function issue 7
weeknum function 1
Weeknum Within a Range 5
WeekNum ISO 4
WEEKNUM to start on another day 1
Convert WEEKNUM(date;2) to text "Monday 25th - Sunday 31st Oct" 3
WEEKNUM 3

Top