create datevalue yyywwd

  • Thread starter Thread starter jocke
  • Start date Start date
J

jocke

is there any way to create the datevalue yyyywwd (year, weeknr, day o
week) from today's date? in vba code or/and in a spreadsheet
tia

/jock
 
Hi

Do you mean something like:
=TEXT(A1,"yyyy")&WEEKNUM(A1)&WEEKDAY(A1)
For today, that is 2004253
The WEEKNUM and WEEKDAY functions do have extra arguments which you should
check out, in case you need to use them
 

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

Back
Top