Inverse to WEEKNUM

  • Thread starter Thread starter Alonso
  • Start date Start date
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)
 
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.
 
as Don says
looks like the best one

and above all
it worked perfectly

thanks!!
 
thanks for the remark David

i noticed that your formula is similar
I'll keep both, just to track any changes
 
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 3
WEEKNUM calculations for week stating with Tuesday 7
WeekNum ISO 4
Weeknum 9

Back
Top