#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bri
 
Posts: n/a
Default Date question

Hi

I have a workbook with a worksheet for each month of the year. In cells
B1,B2,...B5, I need to put the dates if the 1st Tuesday, the 2nd
Tuesday, etc.
For January 2006, the entries would be January 3 , January 10 ... up to
January 31. February would show only 4 entries.

What formula would do this?

Thanks
Bri




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Date question

Just put the first Tuesday's date in one of the cells then just use

=B1 + 7

if that's too uncomplicated

=A1+7*N-WEEKDAY(A1+7-DOW)

where A1 holds the first date of a month, N is the number of the day and DOW
stands for
Date Of the Week where Sunday would be 1, so if you put 01/01/06 in A1, and
wants the second Tuesday of January

=A1+7*2-WEEKDAY(A1+7-2)

will return 01/10/06

Kudos to Daniel Maher for this ingenious formula

--
Regards,

Peo Sjoblom

Portland, Oregon




"Bri" wrote in message
...
Hi

I have a workbook with a worksheet for each month of the year. In cells
B1,B2,...B5, I need to put the dates if the 1st Tuesday, the 2nd
Tuesday, etc.
For January 2006, the entries would be January 3 , January 10 ... up to
January 31. February would show only 4 entries.

What formula would do this?

Thanks
Bri





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Date question

On Tue, 7 Feb 2006 21:10:54 -0500, "Bri" wrote:

Hi

I have a workbook with a worksheet for each month of the year. In cells
B1,B2,...B5, I need to put the dates if the 1st Tuesday, the 2nd
Tuesday, etc.
For January 2006, the entries would be January 3 , January 10 ... up to
January 31. February would show only 4 entries.

What formula would do this?

Thanks
Bri




Enter the first date of the month in some cell, e.g. in A1.

Then:

B1: =A1+7-WEEKDAY(A1+4)
B2: =IF(MONTH(B1+7)=MONTH($A$1),B1+7,"")

copy/drag down to B5


--ron
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
Date Question nastech Excel Discussion (Misc queries) 5 January 19th 06 09:40 PM
Date Question John Excel Discussion (Misc queries) 4 January 15th 06 06:33 PM
Reference question Dorn Excel Worksheet Functions 2 November 11th 05 09:23 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM
Cell / Date Formatting Question when result = -0- seve Excel Discussion (Misc queries) 3 January 17th 05 02:29 AM


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

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"