![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 83
|
I am using the workday function (w/ brackets for holidays). I also want to use the month end date even if it falls on the weekend or holiday. For instance, the last business day for June is the 28th (Friday) and June 30 is a Sunday. For my spreadsheet I want to show June 30.
Can this be done? Thanks |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Florida
Posts: 82
|
Try this link, you should find everything you ever wanted to know about working with dates here...............
http://www.cpearson.com/excel.htm Denny |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
=IF(EOMONTH(A1,0)=WORKDAY(A1,E1,Holidays)-1,EOMONTH(A1,0),WORKDAY(A1,E1,Holidays)) where E1 houses the desired number of workdays and Holidays is the name of the range that houses the holiday days. |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|