+ Reply to Thread
Results 1 to 4 of 4

Excel/VBA equivalent to DateAdd() function

  1. #1
    Forum Contributor
    Join Date
    12-06-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    201

    Excel/VBA equivalent to DateAdd() function

    Does anybody know if there is a function (Excel or VBA) that can add workdays to a date?

    Similar to the DateAdd("d",5,dDate) but in stead of adding 5 days to the date it must add 5 workdays to the date.

    Or does anybody know how to do such a thing? Added complication would be public holidays that must also be excluded.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel/VBA equivalent to DateAdd() function

    See the WORKDAY function.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    12-06-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    201

    Re: Excel/VBA equivalent to DateAdd() function

    Thanks shg.

    For some obscure reason, when looking for the function last night, I thought the Workday function returns a true or false if a specific day is a workday. And it's not as if I hadn't used it a bunch of times before How stupid can one get Hope it was just tiredness and not Alzheimer's!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel/VBA equivalent to DateAdd() function

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "FILTER" equivalent function of google spreadsheet in Excel
    By excelismagic in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2015, 08:22 AM
  2. Access Equivalent of this Excel VBA Function?
    By mccrimmon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2012, 06:34 AM
  3. vba equivalent of SQL's IN function?
    By larbadar in forum Excel General
    Replies: 5
    Last Post: 07-24-2010, 06:16 PM
  4. Replies: 3
    Last Post: 02-03-2010, 01:32 PM
  5. Need LEN(TRIM()) equivalent one excel function
    By suman.biswas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2008, 04:02 AM
  6. Equivalent of countifs function for Excel 2003?
    By oneyejack in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-29-2007, 12:51 PM
  7. [SOLVED] VBA equivalent for SQL 'IN' function
    By Mitch in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2006, 07:15 PM

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