+ Reply to Thread
Results 1 to 3 of 3

Add 1 to date if Predecessor

  1. #1
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Add 1 to date if Predecessor

    Hello,

    I'm trying to do a task list, but incorporate a bit of MS Project.

    I'm trying to write a formula that says the following:

    If cell D4 is blank, then allow the user to type in a date manually, but if D4 contains a number, find that Row's Plan Start Date (E column) and add 1 day.

    The goal is to establish a date if a task has a predecessor, so that, if the date changes on the "predecessor task", the date of this new task auto-adjusts to that new date then adds one (new start date).

    Bonus points if we can automatically not count weekends!!

    On the attached spreadsheet, I'm use the "Row" column (Column B) to dictate which task is the Predecessor.

    I don't know if I should use an IF/THEN statement, or if a VLOOKUP would be the ticket?

    I hope that makes sense.

    See attached and any help is appreciated!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Add 1 to date if Predecessor

    PROBLEM

    This cell should have same formula but allow user to type in date because there's no Predecessor in D5
    You can't have both a formula AND manual entry in Excel (well, you can, but a manual input will overwrite the formula permanently).

    You have options: rethink your data layout or ask for a VBA solution.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    12-12-2016
    Location
    Lancaster, PA
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Add 1 to date if Predecessor

    Oh yeah, duh.... man, got too close to the trees to see the forest.

    Drats....

    Thanks for the correction!

+ 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. Random Formula - Larger than predecessor
    By Xcelrion in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2019, 05:03 AM
  2. Replies: 4
    Last Post: 03-21-2018, 09:25 AM
  3. Excel Project Plan with Multiple Predecessor Relationships
    By PWATL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2017, 03:11 PM
  4. Calculate date on predecessor
    By Rajnishbhatt in forum Excel General
    Replies: 2
    Last Post: 08-14-2014, 02:34 PM
  5. Counting if data falls on date between Start Date, End Date or Possible End Date
    By JessHasQuestions in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-26-2014, 08:01 AM
  6. Format rows based on predecessor value in a column
    By hoss88 in forum Excel General
    Replies: 6
    Last Post: 03-20-2013, 05:47 AM
  7. Replies: 1
    Last Post: 10-02-2012, 02:42 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