+ Reply to Thread
Results 1 to 8 of 8

A Formula to Back Calculate Dates using ONLY Weekdays

  1. #1
    Registered User
    Join Date
    09-25-2017
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    7

    A Formula to Back Calculate Dates using ONLY Weekdays

    Hello,

    I am trying to create a formula to back calculate a date using only weekdays.

    This formula needs to be 10 days prior to a specific date only calculating with weekdays.

    Example: Target date is 10/5. I need a formula that will give me the date of 9/25.

    In addition I also need a formula that is then 3 days prior to the date that was calculated from this first formula, again only calculating with weekdays.

    Example: Since the date required from the previous formula is 9/25, I need a formula that would give me a date of 9/20 from the 9/25.

    Please help!

    Thank you

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    =a1-sumproduct(row($a$1:index($a:$a,b1*2))*(networkdays(a1-row($a$1:index($a:$a,b1*2)),a1)=b1))

  3. #3
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    484

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    Quote Originally Posted by OfficeJob1897 View Post
    ... This formula needs to be 10 days prior to a specific date only calculating with weekdays.
    Example: Target date is 10/5. I need a formula that will give me the date of 9/25...
    Could you please clarify how you arrived at 9/25?

    10/5, 10/4, 10/3, 10/2, 9/29, 9/28, 9/27, 9/26, 9/25 -- that's 9 days.

  4. #4
    Registered User
    Join Date
    09-25-2017
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    7

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    I apologize. A week prior to 10/5 is 9/28. Minus 3 business days.

  5. #5
    Registered User
    Join Date
    09-25-2017
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    7

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    What are A and B supposed to reference? Thank you.

  6. #6
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    484

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    Quote Originally Posted by OfficeJob1897 View Post
    I apologize. A week prior to 10/5 is 9/28. Minus 3 business days.
    Still not clear.

    Is this what you are after?

    Cell A1: 10/5/2017
    Cell B1: =WORKDAY(A1-7,-3) returns 9/25/2017
    Cell C1: =WORKDAY(B1,-3) returns 9/20/2017

  7. #7
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    this is why uploading a sample workbook makes your and our lives easier, and eliminates these conversations

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  8. #8
    Registered User
    Join Date
    09-25-2017
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    7

    Re: A Formula to Back Calculate Dates using ONLY Weekdays

    YES thank you so much!!

+ 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. [SOLVED] Calculate number of hours between two dates - Weekdays only
    By thjones87 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2016, 12:01 PM
  2. [SOLVED] Adjusting formula to calculate weekdays only
    By greeneggsandsam in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-11-2014, 05:40 PM
  3. Replies: 13
    Last Post: 06-24-2013, 02:33 PM
  4. Excel Formula to calculate working hours between two dates excluding weekdays with wh
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-28-2013, 11:20 AM
  5. Calculate last 10 weekdays
    By deliguy in forum Excel General
    Replies: 4
    Last Post: 02-14-2012, 11:19 AM
  6. Replies: 3
    Last Post: 05-03-2006, 05:15 PM
  7. Replies: 3
    Last Post: 02-16-2006, 11:00 PM

Tags for this Thread

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