+ Reply to Thread
Results 1 to 12 of 12

Referencing rows issue

  1. #1
    Registered User
    Join Date
    02-14-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    50

    Referencing rows issue

    Hi Everyone,
    I had an issue earlier this week where if I added rows it caused my row references to be off in that worksheet. Thanks to your help I took care of this issue. However, I have an issue that is along the same lines.

    Here it goes...

    I have a separate workbook that pulls information from three different workbooks to total the number of hours worked. It basically is a final workbook that summarized or adds up all the hours spent on all jobs within our organization.

    My issue is when I add a row into one of the three workbooks it causes my "summary" workbook to now be off and the graph is no longer looking at the right data. For example the equation I am using in the summary worksheet is ='J:\bd\BD-P Team Info\OP-PT2\Resource Planning\2011\Wk 23\[Wk 23_CA5257_Cost Planning.xlsm]Cost Plan'!L$656

    If I add a line or delete a line the workbook Wk 23_CA5257_Cost Planning.xlsm it screws up the equation above.

    Is there anyway I can make the "summary" workbook adjust to the cost planning row movement?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Referencing rows issue

    So you always want the formula to look at cell L656.. even if you add or delete rows?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-14-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Referencing rows issue

    No if I add a row to the cost planning sheet so now it is row L657 then I want the "summary" sheet to look at L657 as well

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Referencing rows issue

    So I guess one of the summary book is closed when the source is being changed and then when you open the summary you don't see the change?

    If both books are opened, then the changes should reflect in the Summary book...

    Otherwise, is there a way you can use Vlookup to get the value of interest or any other clue.. like it's the last number in the column always, etc...?

  5. #5
    Registered User
    Join Date
    02-14-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Referencing rows issue

    I am not familiar with Vlookup but It does have "ME Transport Projected (hrs)" in column C of the same row. Could I use that?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Referencing rows issue

    Probably, if it is the only ... or at least the first occurance, ... try:

    =VLOOKUP("ME Transport Projected (hrs)",'J:\bd\BD-P Team Info\OP-PT2\Resource Planning\2011\Wk 23\[Wk 23_CA5257_Cost Planning.xlsm]Cost Plan'!$C:$L,10,FALSE)

  7. #7
    Registered User
    Join Date
    02-14-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Referencing rows issue

    =VLOOKUP("ME Transport Projected (hrs)",'J:\bd\BD-P Team Info\OP-PT2\Resource Planning\2011\Wk 23\[Wk 23_CA5257_Cost Planning.xlsm]Cost Plan'!$C:$L,10,FALSE)

    What is the 10,False part of it mean?

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Referencing rows issue

    Did it work?

    VLOOKUP syntax: VLOOKUP(Lookup_value,table_array,column_index_number,[range_lookup])

    Lookup_value: "ME Transport Projected (hrs)"
    table_array: J:\bd\BD-P Team Info\OP-PT2\Resource Planning\2011\Wk 23\[Wk 23_CA5257_Cost Planning.xlsm]Cost Plan'!$C:$L
    column_index_number: 10
    range_lookup: FALSE

    the 10 means return value from 10th column in the C:L table array

    the FALSE tells Vlookup to look for an exact match as opposed to approximate match (TRUE).

    Look at VLOOKUP help in Excel files for more details and samples.

  9. #9
    Registered User
    Join Date
    02-14-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Referencing rows issue

    No I am having no luck with it still. Is there anything else I can use beside VLookup?

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Referencing rows issue

    How is it not working?

    I think Vlookup is your best chance when looking at external workbooks.

  11. #11
    Registered User
    Join Date
    02-14-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Referencing rows issue

    No I cannot get it to work. I have no clue why. All I can get it to say is either "FALSE" or "0" in the cell.

    It should say 20 in that cell

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Referencing rows issue

    Did you alter the formula in any way.. not sure how you get FALSE....

    If you get 0, you probably have found a match in column C, but there is a blank in corresponding cell in Column L of the same row... are you sure that column C is where we are looking for a match and column L is the column we want to pull values from?

+ 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