Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Help required on week function

Hi All,
I have dates starting from 02/02/2009 and ending on 02/27/2009 in
Coloumn A. I n coloumn B i want to know, in which week of February,
each day falls.. For Eg:- 02/02/2009 falls in Week1, 02/09/2009 in
Week2 so on... Is there any formula to get this??? WEEK NUM function
starts with January and for above example it gives the result as
Week6, which is not what I am looking for... Is some one could assist
me with???
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Help required on week function

Depends where the week starts, if day 1 then

=N(INT((A1-"2009-02-01"+7)/7))

--
__________________________________
HTH

Bob

wrote in message
...
Hi All,
I have dates starting from 02/02/2009 and ending on 02/27/2009 in
Coloumn A. I n coloumn B i want to know, in which week of February,
each day falls.. For Eg:- 02/02/2009 falls in Week1, 02/09/2009 in
Week2 so on... Is there any formula to get this??? WEEK NUM function
starts with January and for above example it gives the result as
Week6, which is not what I am looking for... Is some one could assist
me with???



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Help required on week function

If the first date is in A1, then in B1 enter

=INT((DAY(A1)-1)/7)+1

and copy down.

Hope this helps,

Hutch

" wrote:

Hi All,
I have dates starting from 02/02/2009 and ending on 02/27/2009 in
Coloumn A. I n coloumn B i want to know, in which week of February,
each day falls.. For Eg:- 02/02/2009 falls in Week1, 02/09/2009 in
Week2 so on... Is there any formula to get this??? WEEK NUM function
starts with January and for above example it gives the result as
Week6, which is not what I am looking for... Is some one could assist
me with???

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Help required on week function

=INT(DAY(A1)/7)+1
and fill it down to row 27!

Regards,
Stefi

ezt *rta:

Hi All,
I have dates starting from 02/02/2009 and ending on 02/27/2009 in
Coloumn A. I n coloumn B i want to know, in which week of February,
each day falls.. For Eg:- 02/02/2009 falls in Week1, 02/09/2009 in
Week2 so on... Is there any formula to get this??? WEEK NUM function
starts with January and for above example it gives the result as
Week6, which is not what I am looking for... Is some one could assist
me with???



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Help required on week function

Thank you!!!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
If function required Ravi Excel Discussion (Misc queries) 5 October 21st 08 01:09 PM
Function required Padraig Excel Discussion (Misc queries) 1 November 6th 07 05:40 PM
If function with two results required Loretta Excel Worksheet Functions 2 April 20th 07 06:42 PM
Help required with COUNTIF/AND function DAT Excel Worksheet Functions 3 August 3rd 06 07:38 PM
Count function required mickbarry Excel Discussion (Misc queries) 2 February 10th 06 02:43 AM


All times are GMT +1. The time now is 06:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"