Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default Formula to fetch the date of first weekend of a month

In Cell $A$1 I insert a certain date.

What formula (or combinations thereof) in another cell would derive the date
of FIRST Saturday in the month of the date inserted in $A$1?

Thanx again guys!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Formula to fetch the date of first weekend of a month

Look he

http://www.cpearson.com/excel/DateTimeWS.htm#NthDoWYear

item First weekday of month

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"FARAZ QURESHI" wrote in message
...
In Cell $A$1 I insert a certain date.

What formula (or combinations thereof) in another cell would derive the
date
of FIRST Saturday in the month of the date inserted in $A$1?

Thanx again guys!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Formula to fetch the date of first weekend of a month

Hi,

Try this

=A1-DAY(A1)+CHOOSE(WEEKDAY(A1-DAY(A1)),6,5,4,3,2,1,7)

Mike

"FARAZ QURESHI" wrote:

In Cell $A$1 I insert a certain date.

What formula (or combinations thereof) in another cell would derive the date
of FIRST Saturday in the month of the date inserted in $A$1?

Thanx again guys!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Formula to fetch the date of first weekend of a month


=DATE(YEAR(TODAY()),MONTH(A1),1)+MOD(7-WEEKDAY(DATE(YEAR(TODAY()),MONTH(A1),1)),7)

"Niek Otten" wrote:

Look he

http://www.cpearson.com/excel/DateTimeWS.htm#NthDoWYear

item First weekday of month

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"FARAZ QURESHI" wrote in message
...
In Cell $A$1 I insert a certain date.

What formula (or combinations thereof) in another cell would derive the
date
of FIRST Saturday in the month of the date inserted in $A$1?

Thanx again guys!



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
formual to determine if date falls on weekend, adjust date to Mond Bradley Excel Discussion (Misc queries) 4 November 21st 08 06:19 PM
If weekend date display previous Friday date jimar Excel Discussion (Misc queries) 4 September 17th 08 03:01 PM
workdays formula ends on weekend date Charles C. Excel Worksheet Functions 2 January 31st 06 05:44 PM
Last weekend of month Jeremy Excel Worksheet Functions 5 April 24th 05 03:41 AM
Excel running date formula minus weekend days Eliane Excel Worksheet Functions 2 March 30th 05 10:37 PM


All times are GMT +1. The time now is 08:16 PM.

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"