+ Reply to Thread
Results 1 to 3 of 3

How do I offset a value's column but the cell is referencing a different sheet

  1. #1
    Registered User
    Join Date
    02-15-2019
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    How do I offset a value's column but the cell is referencing a different sheet

    To begin, I apologize if I'm using the wrong Excel nomenclature.


    I have a sheet, Sheet2, that has formulas in it but it references another sheet's (Sheet1) cells directly. I have already automated this so it would populate and adjust accordingly. Not all Sheet1 rows' data is pulled, only the ones that are marked are pulled over to Sheet2.
    I've already pulled a list of the cell's addresses (Example: J10, J15, J20) from Sheet1 to Sheet2 and have that automated but I also need to access the other data on the same row of that cell's address from Sheet1.

    For Example
    I've pulled a cell's address, J10, from Sheet1, but I also want access to B10, D10, and F10 from Sheet1. Everything, however, is tied to J10 since that's the only cell that updates. (If the parameters changed and I needed to use J11 instead of J10, Sheet2 automatically changes to J11 and I would want it to pull B11, D11, F11, etc instead).


    Inside of Sheet2 I tried using the OFFSET function but even though the cell references and pulls from Sheet1 the formula offsets the value in Sheet2.

    For Example
    In Sheet2:
    The B25 cell is $J$10, that was pulled from Sheet1
    =OFFSET(B25, 0, 3) gives me what's in E25 from Sheet2 rather than M10 from Sheet1.

    Not sure what to try next, if anybody knows what to do please do let me know. Thanks!


    I hope this makes sense, thanks!


    edit: So I thought of a workaround which is just inputting the formula that I used to grab the initial value itself and offsetting that. I would still love to figure out the answer to the question above however.
    =OFFSET(my formula i used, 0, 3) and putting that inside of the other formula
    Last edited by ExcelAmateur1017; 02-15-2019 at 04:38 PM.

  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
    52,929

    Re: How do I offset a value's column but the cell is referencing a different sheet

    Looks to me like you have your references mixed up. You need to OFFSET from J10, not from where the results of J10 show.

    Sp something like
    =OFFSET(sheet1!$J$10,0, 3)
    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
    Registered User
    Join Date
    02-15-2019
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    Re: How do I offset a value's column but the cell is referencing a different sheet

    Quote Originally Posted by FDibbins View Post
    Looks to me like you have your references mixed up. You need to OFFSET from J10, not from where the results of J10 show.

    Sp something like
    =OFFSET(sheet1!$J$10,0, 3)
    Sorry for the late reply.

    The only thing is I use that formula it would not automatically update as I change things, it would stay as J10. I was looking for a way for the entirety of sheet2 to reference the single cell I pulled from sheet1. So if that single cell I want is Sheet1's J10 I would also pull Sheet1's B10, D10, and E10. But if I no longer need J10 and want J11 instead it would automatically switch to pull B11, D11, and E11.

    If that makes sense.


    The way I currently have it written seems to work but I was very curious if there was another way to do it.



    Thanks for the reply!

+ 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. [SOLVED] Template, Cross-Sheet Referencing and OFFSET Function Assistance
    By doubleuson in forum Excel Formulas & Functions
    Replies: 105
    Last Post: 09-12-2018, 08:07 AM
  2. Capture sheet formulaR1C1local, paste into another sheet and offset by 1 column
    By evancharles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2015, 03:06 PM
  3. Replies: 3
    Last Post: 06-01-2014, 10:26 AM
  4. Replies: 0
    Last Post: 01-23-2014, 01:31 AM
  5. Replies: 0
    Last Post: 01-09-2013, 06:58 AM
  6. [SOLVED] If Cell in column = "Y" then with offset (0, 1).value match to sheet range A3:A return ...
    By Spyderz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-13-2012, 02:00 PM
  7. Replies: 8
    Last Post: 02-03-2007, 01:41 AM

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