+ Reply to Thread
Results 1 to 2 of 2

Offset Formula - Can The Reference Point Have A Match Function?

  1. #1
    Registered User
    Join Date
    01-22-2016
    Location
    Chicago
    MS-Off Ver
    Office 365
    Posts
    11

    Offset Formula - Can The Reference Point Have A Match Function?

    Hello All,

    I am struggling with constructing a dynamic formula for a company budget file. I installed an offset formula with match functions for both the row and column. Is it possible to install a match function for the offset reference?

    The formula I want is something like : =sum(offset(MATCH FUNCTION FOR REFERENCE),(MATCH FUNCTION FOR ROW), (MATCH FUNCTION FOR COLUMN), height, width)


    I am getting errors when I try to input a match function for the reference point.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Offset Formula - Can The Reference Point Have A Match Function?

    Hi,

    You can use a construction for the reference parameter of OFFSET, provided that construction resolves to a worksheet reference.

    Since MATCH only ever returns a numeric or an error, this would not be a valid option on its own; a combination of INDEX and MATCH, however, would be, since here iNDEX can be coerced into resolving to a worksheet reference, for example:

    =OFFSET(INDEX(A1:A10,MATCH("X",B1:B10,0)),7,0)

    would resolve to, assuming the first occurrence of an "X" in column B is in B3:

    =OFFSET(INDEX(A1:A10,3),7,0)

    which is then equivalent to:

    =OFFSET(A3,7,0)

    i.e. the value in cell A10.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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. Replies: 5
    Last Post: 01-04-2019, 11:47 PM
  2. Offset formula starting point (up/down)
    By Daniel86 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2018, 02:40 PM
  3. Replies: 3
    Last Post: 08-14-2017, 06:26 AM
  4. [SOLVED] Adding a Count function to Offset, Match formula
    By JO505 in forum Excel General
    Replies: 11
    Last Post: 05-13-2015, 05:52 PM
  5. Offset function with reference cell equal to the value of match function
    By cmurda in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2014, 02:09 PM
  6. [SOLVED] Using MATCH as a reference for OFFSET formula
    By Tomister in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-26-2013, 07:14 PM
  7. Replies: 0
    Last Post: 01-19-2013, 01:35 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