+ Reply to Thread
Results 1 to 7 of 7

Quotation Mark Problem?

  1. #1
    Registered User
    Join Date
    07-07-2013
    Location
    Norristown, PA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Quotation Mark Problem?

    I'm using the following formula to reference a column that meets specific criteria but keep getting an error instead of the expected value (which should be the number "2", if you look at the test worksheet attached):

    =MATCH("NO",ADDRESS(ROW(A2),SUM(1,B2))&":"&ADDRESS(ROW(A2),SUM(10,B2)),0)

    The problem as far as I can tell when evaluating the formula step-by-step is that the lookup_array that the formula generates is enclosed within quotation marks, which results in the error. Is there another function that I need to nest in there or some other way to return the lookup_array as cell references rather than text? Example workbook is attached. Appreciate the help!Test Worksheet 2.xls

  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: Quotation Mark Problem?

    Hi,

    You're just missing an INDIRECT:

    =MATCH("NO",INDIRECT(ADDRESS(ROW(A2),SUM(1,B2))&":"&ADDRESS(ROW(A2),SUM(10,B2))),0)

    Regards
    Click * below if this answer helped

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

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Quotation Mark Problem?

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Quotation Mark Problem?

    Or, to cope with too big a start value:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

  5. #5
    Registered User
    Join Date
    07-07-2013
    Location
    Norristown, PA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Quotation Mark Problem?

    Thanks, everyone. It works now. Figures that I would overlook something there and helps to have an extra few sets of eyes to check it. Thanks again!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Quotation Mark Problem?

    You're welcome. Thanks for the rep.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Quotation Mark Problem?

    Thanks for the rep. . Oops, did I say that already, never mind, thanks again.

+ 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: 3
    Last Post: 07-29-2013, 08:55 AM
  2. Quotation mark?
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-09-2008, 10:44 AM
  3. Quotation mark (") conversion
    By jgclickfind in forum Excel General
    Replies: 0
    Last Post: 06-04-2007, 10:52 AM
  4. how do I concatenate text that has a quotation mark
    By sparkroms in forum Excel General
    Replies: 2
    Last Post: 07-08-2005, 05:05 PM
  5. joining text and quotation mark
    By yakuzza in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2005, 08:23 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