+ Reply to Thread
Results 1 to 6 of 6

Escape character for double quotes

Hybrid View

  1. #1
    Registered User
    Join Date
    11-21-2005
    Posts
    3

    Question Escape character for double quotes

    I have AAA in cell A1 and BBB in cell B1 and I want to use the concatenate function to output the below in cell C1 but I having trouble printing double quotes ".


    AAA"BBB"


    Could someone please tell me the escape charater to do this?

  2. #2
    Biff
    Guest

    Re: Escape character for double quotes

    Hi!

    Try this:

    =A1&""""&B1&""""

    That's 4 double quotes on each side if it's had to distinguish.

    Biff

    "SteveFox" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have AAA in cell A1 and BBB in cell B1 and I want to use the
    > concatenate function to output the below in cell C1 but I having
    > trouble printing double quotes ".
    >
    >
    > AAA"BBB"
    >
    >
    > Could someone please tell me the escape charater to do this?
    >
    >
    > --
    > SteveFox
    > ------------------------------------------------------------------------
    > SteveFox's Profile:
    > http://www.excelforum.com/member.php...o&userid=28975
    > View this thread: http://www.excelforum.com/showthread...hreadid=495718
    >




  3. #3
    Gord Dibben
    Guest

    Re: Escape character for double quotes

    Steve

    =A1 & """" & B1 & """"


    Gord Dibben Excel MVP

    On Fri, 23 Dec 2005 01:02:42 -0600, SteveFox
    <[email protected]> wrote:

    >
    >I have AAA in cell A1 and BBB in cell B1 and I want to use the
    >concatenate function to output the below in cell C1 but I having
    >trouble printing double quotes ".
    >
    >
    >AAA"BBB"
    >
    >
    >Could someone please tell me the escape charater to do this?


  4. #4
    Dave Peterson
    Guest

    Re: Escape character for double quotes

    And when you get really frustrated...

    =A1&CHAR(34)&B1&CHAR(34)



    SteveFox wrote:
    >
    > I have AAA in cell A1 and BBB in cell B1 and I want to use the
    > concatenate function to output the below in cell C1 but I having
    > trouble printing double quotes ".
    >
    > AAA"BBB"
    >
    > Could someone please tell me the escape charater to do this?
    >
    > --
    > SteveFox
    > ------------------------------------------------------------------------
    > SteveFox's Profile: http://www.excelforum.com/member.php...o&userid=28975
    > View this thread: http://www.excelforum.com/showthread...hreadid=495718


    --

    Dave Peterson

  5. #5
    Biff
    Guest

    Re: Escape character for double quotes

    >And when you get really frustrated...

    That never happens, does it?

    Biff

    "Dave Peterson" <[email protected]> wrote in message
    news:[email protected]...
    > And when you get really frustrated...
    >
    > =A1&CHAR(34)&B1&CHAR(34)
    >
    >
    >
    > SteveFox wrote:
    >>
    >> I have AAA in cell A1 and BBB in cell B1 and I want to use the
    >> concatenate function to output the below in cell C1 but I having
    >> trouble printing double quotes ".
    >>
    >> AAA"BBB"
    >>
    >> Could someone please tell me the escape charater to do this?
    >>
    >> --
    >> SteveFox
    >> ------------------------------------------------------------------------
    >> SteveFox's Profile:
    >> http://www.excelforum.com/member.php...o&userid=28975
    >> View this thread:
    >> http://www.excelforum.com/showthread...hreadid=495718

    >
    > --
    >
    > Dave Peterson




  6. #6
    Dave Peterson
    Guest

    Re: Escape character for double quotes

    Doh!


    Biff wrote:
    >
    > >And when you get really frustrated...

    >
    > That never happens, does it?
    >
    > Biff
    >
    > "Dave Peterson" <[email protected]> wrote in message
    > news:[email protected]...
    > > And when you get really frustrated...
    > >
    > > =A1&CHAR(34)&B1&CHAR(34)
    > >
    > >
    > >
    > > SteveFox wrote:
    > >>
    > >> I have AAA in cell A1 and BBB in cell B1 and I want to use the
    > >> concatenate function to output the below in cell C1 but I having
    > >> trouble printing double quotes ".
    > >>
    > >> AAA"BBB"
    > >>
    > >> Could someone please tell me the escape charater to do this?
    > >>
    > >> --
    > >> SteveFox
    > >> ------------------------------------------------------------------------
    > >> SteveFox's Profile:
    > >> http://www.excelforum.com/member.php...o&userid=28975
    > >> View this thread:
    > >> http://www.excelforum.com/showthread...hreadid=495718

    > >
    > > --
    > >
    > > Dave Peterson


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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