ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Days in Text to Dates SPECIAL (https://www.excelbanter.com/excel-worksheet-functions/261437-days-text-dates-special.html)

Doug

Days in Text to Dates SPECIAL
 
Through great effort, I have sorted and averaged the patient demand for
appointments over the last three years. For instance, now I know how many
patients to expect on the "3rd Tuesday in November". Is there a way to tell
MS Excel to present to me the date in FY10 which corresponds to the concept
"3rd Tuesday in November"?
DOUG ECKERT in WICHITA KS
PS, I have resorted to filtering a list of dates and a list of "X DAYS OF
THE YEAR WITH X AMOUNT OF DEMAND ON THIS DATE" and pasting the actual dates
to the corresponding rows where I need them one-by-one. It works, but is
very tedious. I would prefer to let the PC do this for me, if possible.

Ron Rosenfeld

Days in Text to Dates SPECIAL
 
On Tue, 13 Apr 2010 13:51:01 -0700, DOUG
wrote:

Through great effort, I have sorted and averaged the patient demand for
appointments over the last three years. For instance, now I know how many
patients to expect on the "3rd Tuesday in November". Is there a way to tell
MS Excel to present to me the date in FY10 which corresponds to the concept
"3rd Tuesday in November"?
DOUG ECKERT in WICHITA KS
PS, I have resorted to filtering a list of dates and a list of "X DAYS OF
THE YEAR WITH X AMOUNT OF DEMAND ON THIS DATE" and pasting the actual dates
to the corresponding rows where I need them one-by-one. It works, but is
very tedious. I would prefer to let the PC do this for me, if possible.


With some date in the month of interest in A1,

=A1-DAY(A1)+1+WN*7-WEEKDAY(A1-DAY(A1)+8-DOW)

will give the Nth day of the week of that month where
WN = Weeknumber (Nominally 1-4 or 5)
DOW = Day of Week (Sun=1, Mon=2, ...)
--ron


All times are GMT +1. The time now is 08:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com