+ Reply to Thread
Results 1 to 7 of 7

using reference with inserting rows

  1. #1
    Registered User
    Join Date
    12-08-2009
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    11

    using reference with inserting rows

    My case is pretty simple. Let me explain that I really would like to know if there is a solution for this without VB.

    I have a (see attached file) workbook with 2 sheets.
    sheet 1: planning
    sheet 2: actuals

    In the planning the tasks are defined, with in the columns the planning hours.
    in Sheet 2, there is a reference made to the defined tasks, where the actuals should be written.
    Now, during the project, I want to insert a task between task 2 and task 3.
    This messes up my references AND my actuals.
    Is there any solution for this, or a smarter (preferably not in 1 sheet) to do this?

    thanks.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: using reference with inserting rows

    it needs further explanation

    what are your required results?
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

  3. #3
    Registered User
    Join Date
    12-08-2009
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: using reference with inserting rows

    hi azam,

    I've updated the example.
    What I want, is to track the actuals hours on a task versus the original planned hours.
    So, there is one sheet where the planned hours (and tasks) are, and a sheet where the actuals are. The actuals are using a reference to the tasks defined in the planned sheet.

    Now, during the process, a new task is added in the planned sheet (see attached example, the RED task in sheet 'planned'.
    What I would want, is that the sheet 'actuals' also inserts a row at the same place (using reference?) but with the actual-values still on the right position.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: using reference with inserting rows

    hi excelmanager

    you should insert the task by selecting both the seets (i.e. group) instaed of referencing the actual sheet with standard. This will insert the task in both worksheet at same row.

    the purpose of both the sheets in same sequance may be to prepare a comparison, if it so you should use the index+match functions to prepare the comarison. this could eliminate your need to keep both workbook in the same sequance

  5. #5
    Registered User
    Join Date
    12-08-2009
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: using reference with inserting rows

    Azam,

    although I think I am a 'pretty good' excel user, this function I did not know. And, solves the problem. Thank you for that.

    small note: the remark about index-match I do not understand how to use this, but the grouping solves my initial question.

  6. #6
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: using reference with inserting rows

    see summary sheet in attatchment
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-08-2009
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: using reference with inserting rows

    Azam,
    thank you for clarifying this.
    I myself am using 'sumif' over time, but this works great too!

+ 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