Skip to Content

Calculate X business day of the month

I need to calculate 7 business days before the end of the month.. how to count 7 days without including Sat/Sundays?

example.. October would be 10/23

thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 17, 2019 at 04:00 PM

    or as follow:

    CurDate: =CurrentDate()

    lastDayOfMonth: =LastDayOfMonth([CurDate])

    DayNrOfWeek: =DayNumberOfWeek([lastDayOfMonth])

    DateX: =(7+[DayNrOfWeek]-2)

    DDD: =RelativeDate([lastDayOfMonth];-[DateX]+1)


    bdays.jpg (23.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2019 at 03:49 PM

    Hi,

    Hope this formula will help you

    =If(DayNumberOfWeek(LastDayOfMonth(CurrentDate())) InList(1;7);RelativeDate(LastDayOfMonth(CurrentDate());-10);If(DayNumberOfWeek(LastDayOfMonth(CurrentDate()))=6;RelativeDate(LastDayOfMonth(CurrentDate());-9) ;RelativeDate(LastDayOfMonth(CurrentDate());-8)))

    Thanks,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 17, 2019 at 05:04 PM
    -1

    I like both answers! lol flipping coin for the winner...


    GG Ayman! lol

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.