+ Reply to Thread
Results 1 to 5 of 5

I need to add " to the beginning and end of text in cells

  1. #1
    Registered User
    Join Date
    07-20-2012
    Location
    utah
    MS-Off Ver
    Excel 2010
    Posts
    14

    I need to add " to the beginning and end of text in cells

    I have thousands of comments that I need to add quotations to the beginning and end of. Each comment is in its own cell. Is there a formate or something that will add the " to the beginning and end of the text in a cell?
    Example
    Cell is: I Loved it!
    Cell Needs to be: "I Loved it!"
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: I need to add " to the beginning and end of text in cells

    Hi twrtleduck

    @D2
    =SUBSTITUTE(""""&B2&"_", "_", """")

    copy down
    Christopher Yap

  3. #3
    Registered User
    Join Date
    07-20-2012
    Location
    utah
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: I need to add " to the beginning and end of text in cells

    Awesome! thank you!

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: I need to add " to the beginning and end of text in cells

    @bluesky
    This still works:

    =""""&B2&""""

    Or I missed something?
    Quang PT

  5. #5
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: I need to add " to the beginning and end of text in cells

    bebo,

    yes, haha, not sure why I use SUBSTITUTE for such a straight forward scenario, probably doing too many sub-strings scenario where need to tweak with special characters
    Thank you for highlighting !

    Hi twrtleduck

    =""""&B2&""""

+ 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: 10
    Last Post: 03-25-2020, 01:16 PM
  2. [SOLVED] Clear cells that do not contain specific text which may be at the beginning or end of cell
    By Sianee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2015, 02:53 PM
  3. [SOLVED] Adding Text to Beginning of the Cell if not Blank - Then Combining Cells
    By maemaemae in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2013, 03:32 PM
  4. Randon " at beginning / end of text
    By eskyec in forum Excel General
    Replies: 6
    Last Post: 08-13-2013, 05:28 PM
  5. Add Text to beginning of multiple cells
    By steele2001 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2013, 09:27 PM
  6. Move text (the word "The") to beginning of cell
    By techstorm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2012, 03:04 PM
  7. How do i add " to the beginning of all cells
    By yvanblo in forum Excel General
    Replies: 3
    Last Post: 08-10-2005, 11:52 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