Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Calculating 10 Business Days from the Last Business Day of the

On Thu, 16 Jul 2009 11:04:18 -0700, Jeff H
wrote:

Thanks, Luke. Actually, what I looking at is...
If Date 10 business days from the last business day of the month
Then Close Date = End of Month
Else Close Date = End of (Month+1)

I'm pretty sure that I have the End of Month calculations down right.
End of Month = Date(Year(Date), Month(Date)+1,0)
End of (Month+1) = Date(Year(Date),Month(Date)+2,0)

For example, the last business day of this month (July) is 31st. So, Close
Date for July 16 would be July 31. However, Close Date for July 20 would be
August 31.


One formula for that would be:

=IF(NETWORKDAYS(A1,DATE(YEAR(A1),MONTH(A1)+1,0))1 0,
DATE(YEAR(A1),MONTH(A1)+1,0),DATE(YEAR(A1),MONTH(A 1)+2,0))

A little shorter version:

=DATE(YEAR(A1),MONTH(A1)+2-(NETWORKDAYS(
A1,DATE(YEAR(A1),MONTH(A1)+1,0))10),0)

--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
UK Business Days Formula WSR Excel Worksheet Functions 1 May 27th 08 02:00 PM
Calculating business days minus holidays RJ Swain Excel Worksheet Functions 4 November 23rd 07 04:55 PM
Business Days in Chart Terence Charts and Charting in Excel 1 August 10th 06 03:37 PM
Business Days Only lsmft Excel Discussion (Misc queries) 11 March 10th 06 12:16 PM
WHERE CAN I GET A BUSINESS PROPOSAL OR A BUSINESS EXPENSE SHEET? FELICITA ROSALES New Users to Excel 1 August 18th 05 10:27 PM


All times are GMT +1. The time now is 01:03 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"