+ Reply to Thread
Results 1 to 3 of 3

Placing Quotation Marks Around Text With Column

  1. #1
    Registered User
    Join Date
    03-09-2009
    Location
    Rochester, NY, USA
    MS-Off Ver
    Excel 2007
    Posts
    25

    Placing Quotation Marks Around Text With Column

    Hi,

    I need to place "quotation marks" around text within column J.

    It looks like:

    Art & Entertainment > Gift Giving > Gift Wrapping
    Business & Industrial > Retail > Fabric Bags
    Ect

    And needs to look like:

    "Art & Entertainment > Gift Giving > Gift Wrapping"
    "Business & Industrial > Retail > Fabric Bags"
    "Ect"

    There is no case requirement, however there are blank rows that would
    need to be skipped. The range is rows 2 - 5574.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Placing Quotation Marks Around Text With Column

    in an adjacent column, enter formula in row 2

    =IF(A2="","",""""&A2&"""")

    change A2 to whatever cell is holding the string, then copy down.

    Then copy this new column.

    Go to the original column and go to Edit|Paste Special and select Values.

    Click Ok.

    Now delete the added formula column.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,577

    Re: Placing Quotation Marks Around Text With Column

    Without macros, here's how I'd do it.
    In another column, row 2, Assuming your data is in column A, use this formula, dragged down
    Please Login or Register  to view this content.
    I chose ) as it is a character that isn't likely to appear in any of your data. Substitute another character if that is not the case.
    You can then copy >paste special>value back on top of your original data to remove the formulas.
    Make sense?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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