+ Reply to Thread
Results 1 to 6 of 6

Putting 1 in row after a specified number of rows.

  1. #1
    Registered User
    Join Date
    12-20-2012
    Location
    houston
    MS-Off Ver
    Excel 2010
    Posts
    12

    Putting 1 in row after a specified number of rows.

    Hi,

    Need help to automate and make this dynamic based on the input.

    I have a number of projects with duration in days to complete the project as input. I want to be able to put 1 in the cell the day project finishes. For example (as shown in the attached) if project 1 starts on Dec 1 and has a duration of 20 days, therefore, I want to put 1 beside 20 Dec. Project 2 will then start on Dec 21 and if that has a duration of 30 days, I want to put 1 beside 19 Jan, and so on.......

    Any help would be much appreciated.

    Regards
    Data Test.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Putting 1 in row after a specified number of rows.

    hi and welcome to the forum

    not sure if this is what you want, give it a try and let me know.

    in E2, copied down, use this
    =$C$13+D2

    then (i put this in E13, copied down), use this...
    =IF(ISERROR(VLOOKUP(C13,$E$2:$E$7,1,FALSE)),"",1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Putting 1 in row after a specified number of rows.

    See the attached
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Putting 1 in row after a specified number of rows.

    Pl see attached file.Formula is available in D column.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-20-2012
    Location
    houston
    MS-Off Ver
    Excel 2010
    Posts
    12

    [Solved] Re: Putting 1 in row after a specified number of rows.

    [Solved]

    Thank you for the help. All the solutions posted work. Really appreciate your help on this.

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: [Solved] Re: Putting 1 in row after a specified number of rows.

    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)

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