Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default How to find the Day of week in a Month

Dear All,

Good morning, How can i find the "Day of week in Month".
For example :

In this month if i enter the date as 01/09/2007 , is should reply - 1 (this
01/09/2007 consider as first week of this month)

In this month if i enter the date from 02/09/2007 to 08/09/2007 , is should
reply - 2 (consider as second week of this month)

In this month if i enter the date from 09/09/2007 to 15/09/2007 , is should
reply - 3 (consider as third week of this month)

In this month if i enter the date from 16/09/2007 to 22/09/2007 , is should
reply - 4 (consider as fourth week of this month)

In this month if i enter the date from 23/09/2007 to 29/09/2007 , is should
reply - 5 (consider as fifth week of this month)

In this month if i enter the date from 30/09/2007 , is should reply - 6
(consider as sixth week of this month)


* I have to find out for the whole year , so if you please advice on this.


Thanks in advance for your reply.

Have a nice day..!


Thanks and Regards,
Vadhimoo.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 515
Default How to find the Day of week in a Month

=WEEKNUM(A1)-34
With dates in Cell A1 and down, will do that. for September onwards.
Shoiuld you start from January 1, then omit the -34 part

--
Hth

Kassie Kasselman
Change xxx to hotmail


"Vadhimoo" wrote:

Dear All,

Good morning, How can i find the "Day of week in Month".
For example :

In this month if i enter the date as 01/09/2007 , is should reply - 1 (this
01/09/2007 consider as first week of this month)

In this month if i enter the date from 02/09/2007 to 08/09/2007 , is should
reply - 2 (consider as second week of this month)

In this month if i enter the date from 09/09/2007 to 15/09/2007 , is should
reply - 3 (consider as third week of this month)

In this month if i enter the date from 16/09/2007 to 22/09/2007 , is should
reply - 4 (consider as fourth week of this month)

In this month if i enter the date from 23/09/2007 to 29/09/2007 , is should
reply - 5 (consider as fifth week of this month)

In this month if i enter the date from 30/09/2007 , is should reply - 6
(consider as sixth week of this month)


* I have to find out for the whole year , so if you please advice on this.


Thanks in advance for your reply.

Have a nice day..!


Thanks and Regards,
Vadhimoo.



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
How do I get the week in month from a date? Oke Excel Worksheet Functions 2 July 13th 09 11:29 AM
Change day of week to day of month Tony Excel Discussion (Misc queries) 6 April 27th 09 08:53 PM
Day, Week or Month [email protected] Excel Discussion (Misc queries) 1 March 12th 09 08:34 AM
Name The Week Of The Month Mathew Excel Discussion (Misc queries) 7 July 17th 08 01:34 PM
Week of the Month Janet BN Excel Discussion (Misc queries) 9 October 17th 07 12:01 AM


All times are GMT +1. The time now is 01:20 AM.

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

About Us

"It's about Microsoft Excel"