+ Reply to Thread
Results 1 to 5 of 5

Formula help required to get exact date after 2 year

  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Question Formula help required to get exact date after 2 year

    Folks,

    Please help me for building a formula to get exact date after 2 year from another cell date and the result should start on Sunday always.

    i.e : If Type (Column B) Major shutdown Start Date (Column C) is on Friday, December 4, 2015, i want to get start date of Mini Shutdown after 2 years but start on Sunday which is on 10 December, 2017


    I have attached the excel workbook of what I am trying to accomplish.

    Thanks in advance,

    Joshi
    Attached Files Attached Files
    Cheers,

    Joshi
    Being with a winner makes you a winner

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Formula help required to get exact date after 2 year

    You can use this formula in C3:

    =DATE(YEAR(C2)+2,MONTH(C2),DAY(C2))+8-WEEKDAY(DATE(YEAR(C2)+2,MONTH(C2),DAY(C2)))

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: Formula help required to get exact date after 2 year

    Hi Pete,

    Awesome.....excellent formula...Thank you so much..

    Joshi

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Formula help required to get exact date after 2 year

    You're welcome - thanks for feeding back.

    Pete

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Formula help required to get exact date after 2 year

    or

    =C2+8-WEEKDAY(EDATE(C2,24),1)

+ 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. Exact Date and Time compare within a range of exact date and times Lookup and Flag
    By john2001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2015, 06:01 PM
  2. Replies: 1
    Last Post: 06-05-2015, 06:57 AM
  3. Replies: 1
    Last Post: 03-24-2015, 01:42 PM
  4. Replies: 1
    Last Post: 12-12-2014, 08:31 AM
  5. Replies: 1
    Last Post: 06-05-2014, 09:48 AM
  6. [SOLVED] Keeping a date as current year, even though formula determines previous year
    By dropanddrive03 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2013, 08:31 PM
  7. Replies: 3
    Last Post: 08-14-2012, 05:14 AM

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