+ Reply to Thread
Results 1 to 7 of 7

indirect cell reference

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    gc aus
    MS-Off Ver
    Excel 2003
    Posts
    7

    indirect cell reference

    Hi,

    I am wondering if it possible in excel to use a cell reference like A1+3 for Cell A4? Basically I want to be able to copy and paste data so the cell reference will go up by 3. It is actually for an array using the Vlookup function and It will be A1:C4 for the first reference then A4:C7 for the second, A7:C10 for the 3rd etc.

  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
    53,048

    Re: indirect cell reference

    yes, you can use something lke shown below. change the references to suite...

    =INDIRECT("A"&B17)

    this would use the value A and whatever is in B17 (say 3), to return the value in A3

    let me know how this works for you?
    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
    11-10-2011
    Location
    gc aus
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: indirect cell reference

    thanks for your help but i still can't get it to work. The problem is not quite as straight forward as i originally posted as it is part of a vlookup function.
    What I want to be ablte do is fill right to achieve the following sequence,

    Cell A7 =VLOOKUP(A4,'Abut A SPlates'!$H$40:$K$44,B4,FALSE)
    Cell B7 =VLOOKUP(A4,'Abut A SPlates'!$H$46:$K$50,B4,FALSE)
    Cell C7 =VLOOKUP(A4,'Abut A SPlates'!$H$52:$K$56,B4,FALSE)
    etc

  4. #4
    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
    53,048

    Re: indirect cell reference

    i dont have much time left to help more, but try playing aound with....

    =indirect("VLOOKUP(A4,'Abut A SPlates'!$H$"&A1":$K$A2&,B4,FALSE)") assuming the values you want to base the lookup on are in A1 and A2. change references as needed. if that doesnt work for you, im sure 1 of the real experts can help you

  5. #5
    Registered User
    Join Date
    11-10-2011
    Location
    gc aus
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: indirect cell reference

    Thanks for your efforts it's still not working but hopefully someone else will be able to help

  6. #6
    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
    53,048

    Re: indirect cell reference

    could you perhaps send sample workbooks for me to play with?

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: indirect cell reference

    Try this maybe

    In A1 input 'Abut A SPlates'!$H
    In A2 input :$K
    In A7 use
    =VLOOKUP($A$3,INDIRECT($A$1&34+COLUMN()*6&$A$2&38+COLUMN()*6),$B$3,FALSE) and copy across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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