+ Reply to Thread
Results 1 to 5 of 5

formula to return value in a cell relative to another linked cell

  1. #1
    Registered User
    Join Date
    05-02-2014
    Location
    Westerville, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    3

    formula to return value in a cell relative to another linked cell

    The problem I am trying to solve is to have a cell return a cell value based on another linked cell. The cells I want to link are in separate tabs or could be another workbook.

    For example if cell A5 in sheet2 is linked to A20 in sheet1...A5 has formula(=Sheet1!A20). I want the next cell B5 to look at A5 and return the value of cell Sheet1!D18.

    So in essence I want the second cell to look at the first cell and return a value that is 3 columns over and 2 rows up.

    Any help would be appreciated, thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: formula to return value in a cell relative to another linked cell

    Is it always 3 over and 2 up? If it is, an offset argument might work, eg OFFSET(Sheet1!A20,3,-2). It's hard to give more help without an example worksheet to look at.

  3. #3
    Registered User
    Join Date
    05-02-2014
    Location
    Westerville, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: formula to return value in a cell relative to another linked cell

    gak67 - Thank you for the response. Yes it will be a constant distance 3 over 2 up or similar from the value linked in the first cell but not from the first cell. Maybe you can answer this is there a way to collect the "sheet1!A20" from the first cell linked? I think offset will work if I can collect the reference from the first cell linked.

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: formula to return value in a cell relative to another linked cell

    The FORMULATEXT function would do it, but you'd need to use some other functions with it to get just the part you need, and you'd need to use it within an INDRECT function.

  5. #5
    Registered User
    Join Date
    05-02-2014
    Location
    Westerville, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: formula to return value in a cell relative to another linked cell

    FORMULATEXT doesn't work in 2007. Looks like a new function for 2013? I have figured out a work around but If I can get this work it will be better. Thanks again for the help. Offset is very useful. I can see other uses for it. Just not complete for this case...yet anyway.

+ 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. Return the Relative Formula From Another Cell
    By Theclint in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-02-2013, 05:39 PM
  2. [SOLVED] If cell nextdoor is ___, return the value of a relative cell
    By Jimmyjazz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2012, 05:22 AM
  3. Return the relative formula of another cell
    By fatpiggy123 in forum Excel General
    Replies: 9
    Last Post: 09-23-2009, 04:15 AM
  4. find value and return value of relative cell
    By ihf in forum Excel General
    Replies: 2
    Last Post: 04-18-2009, 11:31 AM
  5. [SOLVED] Return the row number of a cell relative to a range
    By Frederick Chow in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2005, 05:05 PM

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