+ Reply to Thread
Results 1 to 4 of 4

Offset(Address()) Formula "Has an error"

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    Canada
    MS-Off Ver
    MS Office 2013 Professional
    Posts
    18

    Offset(Address()) Formula "Has an error"

    Simple question. The following formula:
    =OFFSET(ADDRESS(1,MATCH($A25,$A$1:$HO$1,0),,,),0,2)
    is being rejected with the dialogue box "The formula you typed contains an error" appearing. I cannot figure out why.
    The address function by itself works fine, returning $B$1 as it should for my case. But when I add the OFFSET(...,0,2) to it, it suddenly gives me this error.
    Even though the formula =OFFSET($B$1,0,2) obviously works properly, an address function returning $B$1 does not. Please help.

  2. #2
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Offset(Address()) Formula "Has an error"

    There are two problem in your formula.
    1) you are trying to create single cell range and you have given 0,2 range to pull in offset function.
    2) please remove ,,,) section from formula , no need of that.

    Regards,
    Suhas

  3. #3
    Registered User
    Join Date
    03-15-2013
    Location
    Canada
    MS-Off Ver
    MS Office 2013 Professional
    Posts
    18

    Re: Offset(Address()) Formula "Has an error"

    I removed the 3 commas, I'm not really sure why I put those there in the first place lol. Thanks for catching that.
    But to the first point, I don't quite understand the problem. Isn't it supposed to be one cell that you then move x rows and y columns from? Which is what I'm doing, I'm providing a cell reference (B1) for it to move 0 rows and 2 columns from, to D1.

  4. #4
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Offset(Address()) Formula "Has an error"

    Try this.

    Used indirect function.

    =OFFSET(INDIRECT(ADDRESS(1,MATCH($A3,$A$1:$HO$1,0))),1,0)
    Regards,
    Suhas

+ 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. SUM, OFFSET and CELL("address")
    By Quizarate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  2. SUM, OFFSET and CELL("address")
    By Quizarate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  3. [SOLVED] SUM, OFFSET and CELL("address")
    By Quizarate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  4. SUM, OFFSET and CELL("address")
    By DaveB in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-06-2005, 06:05 AM
  5. [SOLVED] SUM, OFFSET and CELL("address")
    By Quizarate in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM

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