+ Reply to Thread
Results 1 to 5 of 5

Get value from another cell using Offset and active cell

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Get value from another cell using Offset and active cell

    I can do this in VBA but I cant seem to do it on a worksheet.
    Lame, I know.

    Please Login or Register  to view this content.
    I would like for the above to allways look in Column "A" and one row down from the active cell.
    I know how to use "OFFSET(reference,rows,cols)". What I dont know how to do is get the active cell "reference" address. The active cell can change.

    Any hints, tips, or examples are appreciated.
    Last edited by Rick_Stanich; 11-11-2009 at 04:53 PM. Reason: better title?
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Get value from another cell using Offset and active cell

    Maybe

    =OFFSET(INDIRECT("A"&ROW()),1,cols,...)

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Get value from another cell using Offset and active cell

    Or forget about offset,

    ="Ref: #" & INDIRECT("A"&ROW()+1)

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Get value from another cell using Offset and active cell

    Or ="Ref: #" & INDEX(A:A, ROW()+1)
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,163

    Re: Get value from another cell using Offset and active cell

    Teylyn
    Your first suggestion didnt work but your second does just fine.

    shg
    Yours works as well.

    Neat how different methods not only work and are available.
    The "Indirect" method seemed to work from the cell where the "Index" highlites the column (A) with some type of outline box when you are in the formula bar.

    Either way, Thank you both!

+ 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