+ Reply to Thread
Results 1 to 4 of 4

Finding last working day of a month

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    812

    Finding last working day of a month

    Hi,

    I have the word "May" in cell A1 and "2008" (as a number) in cell A2. I would like to create a formula in A3 that returns the last working date of that month in date format. (ie 30/05/2008)

    Can someone please help?

    Thanks!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Does this work for you?

    Please Login or Register  to view this content.
    Note: You will need the Analysis Toolpak addin installed... Tools|Addins.. Analysis Toolpak should be checked.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Finding last working day of a month

    If you have the Analysis ToolPak engaged, try this:

    A3: =WORKDAY(DATE(A2,MONTH(A1&" "&A2)+1,1),-1)

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    812
    Perfect! Thank you both very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1