+ Reply to Thread
Results 1 to 3 of 3

OFFSET function with variable reference cell

  1. #1
    Registered User
    Join Date
    05-06-2009
    Location
    Moscow, Russia
    MS-Off Ver
    Excel 2003
    Posts
    2

    OFFSET function with variable reference cell

    Hello!
    I search a number with maximum value in column "B", let's say, this number is siuated in cell "B5".
    Now I have to retrieve the contents of a cell situating left from "B5": contents of cell "A5". If maximum value would always stand at cell "B5" I could easily use function OFFSET.
    But if I change data in column "B", maximum value's address will change. How can I retrieve the contents of cell situating in the left column from the dynamic cell "BX" where X is a row number that may change?
    Thanks!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: OFFSET function with variable reference cell

    Perhaps you mean

    =INDEX(A:A,MATCH(MAX(B:B),B:B,0))

    Incidentally try to avoid using OFFSET as it is Volatile - normally an INDEX approach can be used with equal effect.

  3. #3
    Registered User
    Join Date
    05-06-2009
    Location
    Moscow, Russia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: OFFSET function with variable reference cell

    Thank you! It worked!

+ 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