Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Aug 2001
    Location
    Boston, Massachusetts, USA
    Posts
    167
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Last Business day of month (Excel 2003 / SP1)

    Is there a formula to identify the last business day of a month?

    I know that =EOMONTH("12/2/06",0) will return 12/31/06, but I need something that will return 12/29/06. Could there be a takeoff on NETWORKDAYS?

    Actually, I need to know the same answer for the reverse. I also will need to identify the first business day of the month.
    thanks
    christine

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Last Business day of month (Excel 2003 / SP1)

    See Worksheet Functions For Dates And Times on Chip Pearson's site. The formulas given there don't take holidays into account.

  3. #3
    2 Star Lounger
    Join Date
    Aug 2001
    Location
    Boston, Massachusetts, USA
    Posts
    167
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Last Business day of month (Excel 2003 / SP1)

    This is PERFECT. Thanks yet again!
    thanks
    christine

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Last Business day of month (Excel 2003 / SP1)

    Here are functions that take holidays into account. They assume that
    a) you have created a range of holidays and named it Holidays, and
    [img]/forums/images/smilies/cool.gif[/img] you have installed the Analysis ToolPak add-in.

    Last business day of the month containing the date in cell A1:
    <code>
    =WORKDAY(EOMONTH(A1,0)+1,-1,Holidays)
    </code>
    First business day of the month containing the date in cell A1:
    <code>
    =WORKDAY(EOMONTH(A1,-1),1,Holidays)</code>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •