+ Reply to Thread
Results 1 to 3 of 3

Concatenate & Special characters

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Conway, AR
    MS-Off Ver
    Excel 2010
    Posts
    4

    Concatenate & Special characters

    Is there a way to use a quote inside of a concatenate


    @concatenate(a2,"-Test"," "/U]);")

    I get a syntax error - What I am looking for in this cell is

    a2 = 12

    12-Test");

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Concatenate & Special characters

    The error is because of the " after test.
    Try using =A2&"-Test"&CHAR(34)&");" to do this for you.

    Note instead of using CONCATENATE you can join things just by using '&'.

    If you have the same issues in the future because of a certain character then type that character on its own into a cell (say A1) and in another cell type =CODE(A1), this will give you the number to use within the CHAR function and can then be used in the same way as above.
    Say thanks, click *

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Concatenate & Special characters

    Try one of these...

    =A2&"-Test"&""""&");"

    =A2&"-Test"&CHAR(34)&");"
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Finding Special Characters
    By sathishkm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2012, 01:47 AM
  2. Macro to replace European characters with non "special" English characters?
    By johanna0507 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 09:13 AM
  3. Special characters
    By Richmate in forum Excel General
    Replies: 4
    Last Post: 12-15-2010, 01:30 PM
  4. Special characters
    By wag in forum Excel General
    Replies: 1
    Last Post: 09-08-2009, 03:25 PM
  5. [SOLVED] Special characters
    By Matthew S in forum Excel General
    Replies: 10
    Last Post: 09-23-2005, 08:05 PM

Tags for this Thread

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