PC Review


Reply
Thread Tools Rate Thread

Dates to week numbers help.

 
 
Mag\(\)\(\)
Guest
Posts: n/a
 
      24th Nov 2006
I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...

These are in column B. I would like to add a week number into column c where
10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.

How can this be done please?

Have been trying for ages to work this out.

TiA

mag()()




 
Reply With Quote
 
 
 
 
Niek Otten
Guest
Posts: n/a
 
      24th Nov 2006
http://www.cpearson.com/excel/weeknum.htm

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mag()()" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
|I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...
|
| These are in column B. I would like to add a week number into column c where
| 10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.
|
| How can this be done please?
|
| Have been trying for ages to work this out.
|
| TiA
|
| mag()()
|
|
|
|


 
Reply With Quote
 
Arvi Laanemets
Guest
Posts: n/a
 
      24th Nov 2006
Hi

It depends, how a week number is defined for you.

ISO weeknumber (the 1st week of year is one with 1st Thursday in it, all
weeks are 7 days long)
=1+INT((A1-DATE(YEAR(A1+4-WEEKDAY(A1+6)),1,5)+WEEKDAY(DATE(YEAR(A1+4-WEEKDAY
(A1+6)),1,3)))/7)

US weeknumber (Count of weeks starts from 1st Yanuary, a week may be 1-7
days long. Yes, there really exists such weird system .-))) )
=WEEKNUM(A1)
(You must have Analysis Toolpack Add-In activated. When it isn't available,
you have to install Add-In's from Office install CD)


Arvi Laanemets



"Mag()()" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...
>
> These are in column B. I would like to add a week number into column c

where
> 10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.
>
> How can this be done please?
>
> Have been trying for ages to work this out.
>
> TiA
>
> mag()()
>
>
>
>



 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      24th Nov 2006
You can find all formulas here, also for weeknum
http://www.rondebruin.nl/weeknumber.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Arvi Laanemets" <(E-Mail Removed)> wrote in message news:eKvluq$(E-Mail Removed)...
> Hi
>
> It depends, how a week number is defined for you.
>
> ISO weeknumber (the 1st week of year is one with 1st Thursday in it, all
> weeks are 7 days long)
> =1+INT((A1-DATE(YEAR(A1+4-WEEKDAY(A1+6)),1,5)+WEEKDAY(DATE(YEAR(A1+4-WEEKDAY
> (A1+6)),1,3)))/7)
>
> US weeknumber (Count of weeks starts from 1st Yanuary, a week may be 1-7
> days long. Yes, there really exists such weird system .-))) )
> =WEEKNUM(A1)
> (You must have Analysis Toolpack Add-In activated. When it isn't available,
> you have to install Add-In's from Office install CD)
>
>
> Arvi Laanemets
>
>
>
> "Mag()()" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...
>>
>> These are in column B. I would like to add a week number into column c

> where
>> 10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.
>>
>> How can this be done please?
>>
>> Have been trying for ages to work this out.
>>
>> TiA
>>
>> mag()()
>>
>>
>>
>>

>
>

 
Reply With Quote
 
Mag\(\)\(\)
Guest
Posts: n/a
 
      24th Nov 2006
Worked a treat ....Thanx.

Now armed with the week number/date can the month be inserted aswell?

Tia


mag()()


"Niek Otten" <(E-Mail Removed)> wrote in message
news:u2YYbo$(E-Mail Removed)...
> http://www.cpearson.com/excel/weeknum.htm
>
> --
> Kind regards,
>
> Niek Otten
> Microsoft MVP - Excel
>
> "Mag()()" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> |I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...
> |
> | These are in column B. I would like to add a week number into column c
> where
> | 10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.
> |
> | How can this be done please?
> |
> | Have been trying for ages to work this out.
> |
> | TiA
> |
> | mag()()
> |
> |
> |
> |
>
>



 
Reply With Quote
 
Niek Otten
Guest
Posts: n/a
 
      24th Nov 2006
=month(a1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Mag()()" <(E-Mail Removed)> wrote in message news(E-Mail Removed)...
| Worked a treat ....Thanx.
|
| Now armed with the week number/date can the month be inserted aswell?
|
| Tia
|
|
| mag()()
|
|
| "Niek Otten" <(E-Mail Removed)> wrote in message
| news:u2YYbo$(E-Mail Removed)...
| > http://www.cpearson.com/excel/weeknum.htm
| >
| > --
| > Kind regards,
| >
| > Niek Otten
| > Microsoft MVP - Excel
| >
| > "Mag()()" <(E-Mail Removed)> wrote in message
| > news:(E-Mail Removed)...
| > |I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...
| > |
| > | These are in column B. I would like to add a week number into column c
| > where
| > | 10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.
| > |
| > | How can this be done please?
| > |
| > | Have been trying for ages to work this out.
| > |
| > | TiA
| > |
| > | mag()()
| > |
| > |
| > |
| > |
| >
| >
|
|


 
Reply With Quote
 
Mag\(\)\(\)
Guest
Posts: n/a
 
      24th Nov 2006
Thanx.........worked great. Have been typing this long hand for months.
This will saves us lots of time now.

Thanx again....

mag()()


"Niek Otten" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> =month(a1)
>
> --
> Kind regards,
>
> Niek Otten
> Microsoft MVP - Excel
>
> "Mag()()" <(E-Mail Removed)> wrote in message
> news(E-Mail Removed)...
> | Worked a treat ....Thanx.
> |
> | Now armed with the week number/date can the month be inserted aswell?
> |
> | Tia
> |
> |
> | mag()()
> |
> |
> | "Niek Otten" <(E-Mail Removed)> wrote in message
> | news:u2YYbo$(E-Mail Removed)...
> | > http://www.cpearson.com/excel/weeknum.htm
> | >
> | > --
> | > Kind regards,
> | >
> | > Niek Otten
> | > Microsoft MVP - Excel
> | >
> | > "Mag()()" <(E-Mail Removed)> wrote in message
> | > news:(E-Mail Removed)...
> | > |I have a list of dates.....10/7/06, 17/7/06, 1/10/06 etc...
> | > |
> | > | These are in column B. I would like to add a week number into column
> c
> | > where
> | > | 10/7/06 = week10 and 17/7/06=week 11 and 1/10/06 could be week 22.
> | > |
> | > | How can this be done please?
> | > |
> | > | Have been trying for ages to work this out.
> | > |
> | > | TiA
> | > |
> | > | mag()()
> | > |
> | > |
> | > |
> | > |
> | >
> | >
> |
> |
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert regular Date to Week Ending or Week Beginning Dates Sam H Microsoft Excel Misc 4 27th Jan 2010 03:27 PM
convert week numbers into dates valerie Microsoft Excel Discussion 1 18th Apr 2008 10:36 PM
print year calender on one page with week numbers and dates =?Utf-8?B?amF3aWQ=?= Microsoft Outlook Calendar 1 11th Feb 2006 03:39 AM
Week Numbers between two dates =?Utf-8?B?TUphdEFmbGFj?= Microsoft Access VBA Modules 5 13th Sep 2005 11:59 AM
Week numbers and corresponding dates in a gant chart Dino Microsoft Excel Misc 2 20th Apr 2004 06:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:54 AM.