+ Reply to Thread
Results 1 to 5 of 5

Offest a refernce in 1 sheet as a key to automate information in another sheet

  1. #1
    Registered User
    Join Date
    02-14-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    21

    Offest a refernce in 1 sheet as a key to automate information in another sheet

    A1=AB B1=CD C1= -
    A2=GH B2=EF C2 = LM
    A3= - B3= IJ C3= -
    Sheet 1

    A1=AB
    A2=CD
    A3=EF
    A4=GH
    A5=IJ
    A6=LM
    Sheet 2

    Hello,
    I am trying to write a financial model where I have 90 inputs exactly the same that has an effect on sheet 2 which have identical layouts. I have gave an example of one above.

    Is there anyway to use an offset to that I can once I make 'sheet 2' A1 cell equal AB and that CD could be referenced to sheet 1 from the newly referenced AB using a nested offset command?

    'Sheet 2'A1 would equal ='Sheet1 A1'
    'Sheet 2'A1 would equal =A1(offset,-1,1) so that it will equal CD (this does work it only offsets on sheet 2)

    I could manually link the values to sheet2 manually but the model will have 25 links in each iteration and there is 90 different products to map.

    I had thought about generating a separate table to make a Vlookup table and that will also take time, I was hoping that with one reference to the sheet1 table all others could be automated with an Offset command or anything else so that one reference would be the key to the rest. this would allow for the sheet2 90x tables to be copy and pasted with just 1 link/reference required so that the tables would then know where to look.

    I hope there are some wizzes out there to help. thank you for your time and good look with the puzzle. Many thanks and I hope to hear from someone soon. (Excel 2007)

    I have attached an example (Excel 2010) but my work in is Excel 2007. Thank you to anyone who can help.
    Attached Files Attached Files
    Last edited by jasw529; 02-15-2013 at 05:37 AM. Reason: To add an example excel doc

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Offest a refernce in 1 sheet as a key to automate information in another sheet

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-14-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Offest a refernce in 1 sheet as a key to automate information in another sheet

    Thank you to anyone looking for a solution. my friend sent me a working solution to my model and I have attached an example of the problem and solution using an index and Match.

    '=INDEX(Sheet1!A:A,MATCH($A1,Sheet1!$A:$A,0)+ROWS($1:$2)-1)

    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-14-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Offest a refernce in 1 sheet as a key to automate information in another sheet

    How do I state that this puzzle is solved? Many thanks for your help.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Offest a refernce in 1 sheet as a key to automate information in another sheet

    I will mark it solved for you. Thanks for letting us know.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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