+ Reply to Thread
Results 1 to 3 of 3

Error in formula

  1. #1
    Registered User
    Join Date
    12-08-2014
    Location
    Munich, Germany
    MS-Off Ver
    2010
    Posts
    3

    Error in formula

    Hello,

    I have an Excel sheet and I want to concatenate two columns into a line that should be used afterwards for a macro function in Word.

    The sheet looks like this:

    A B C D
    Identifier Author Journal Note

    An example for an identifier of colum A: Achtman2008NRW
    An example for a note of colum D: 375

    I want to concatenate columns A and D. The result should look like this: ReplaceEndnoteRef 375, "Achtman2008NRW"

    I am trying it with the following formula:

    ="ReplaceEndnoteRef "&D2&", "&CHAR(34)&A2&CHAR(34)

    However, it does not work (#NAME?). It seems like the CHAR(34) cannot be processed. What could be the problem?

    Note:

    ="ReplaceEndnoteRef "&D2&", "&A2 works, but it produces ReplaceEndnoteRef 375, Achtman2008NRW (so " is missing).

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Error in formula

    is it in german?

    =ZEICHEN(34)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-08-2014
    Location
    Munich, Germany
    MS-Off Ver
    2010
    Posts
    3

    Re: Error in formula

    Oh yes, thanks a lot. That solved it. Never would have thought of that!

+ 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. [SOLVED] Inputbox error message. Formula you typed contains an error.
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-09-2013, 02:25 PM
  2. Excel 2007 : Formula error:bring up an #VALUE! Error.
    By burner007 in forum Excel General
    Replies: 3
    Last Post: 06-20-2011, 06:10 AM
  3. Replies: 4
    Last Post: 03-24-2006, 07:20 AM
  4. [SOLVED] Error values:DIV/0! error in SumProduct formula with no division
    By Jerry W. Lewis in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM
  5. Formula error with Mac resulting in '#NAME' error
    By Linking to specific cells in pivot table in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2005, 03: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