+ Reply to Thread
Results 1 to 7 of 7

add Inverted commas

  1. #1
    Registered User
    Join Date
    10-10-2014
    Location
    Dublin Ireland
    MS-Off Ver
    Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130)
    Posts
    36

    add Inverted commas

    The guy working on my website has asked could i create a new column with the data from column D contained between inverted commas.
    This stops the website from having issues with special characters

    Ive included 2 workbooks, now , which is the current workbook and , proposed, how I would like it to look
    Any help appreciated
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,455

    Re: add Inverted commas

    This:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy and Paste Special | Values over the originals and delete the formula output.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: add Inverted commas

    Or an alternative https://smallbusiness.chron.com/put-...cel-27534.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,455

    Re: add Inverted commas

    Just discovered VALUETOTEXT

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    https://exceljet.net/functions/valuetotext-function

    The VALUETOTEXT function converts a value to a text string. By default, text values pass though unaffected. However, in strict mode, text values are enclosed in double quotes (""). VALUETOTEXT will always remove number formatting applied to numeric values regardless of format.

    The VALUETOTEXT function takes two arguments: value and format. Value is the value to convert to text. The format argument controls the structure of the output. By default, format is zero and VALUETOTEXT will output a "concise" format text value, essentially the normal format that Excel will use to display any text value. When format is set to 1 (strict format), text values will be enclosed in double quotes ("").

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,455

    Re: add Inverted commas

    Is this resolved?


    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    Registered User
    Join Date
    10-10-2014
    Location
    Dublin Ireland
    MS-Off Ver
    Microsoft 365 MSO (Version 2309 Build 16.0.16827.20130)
    Posts
    36

    Re: add Inverted commas

    Hi folks, thank You so much for your help so far and sorry for the delay in replying but I was on site laying bricks all day.
    From my perspective both solutions work perfectly but the guy working on my website is extracting the information from the work book as a text file and getting 3 sets of inverted commas instead of one.
    I see "Tiesto & Judge Jules Live In Dublin (03.02.2001)"
    he sees
    ,"""Tiesto & Judge Jules Live In Dublin (03.02.2001)""",
    he needs to see the same as i do just one set starting and one closing, is it something Im doing my end?
    Thanks in advance

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: add Inverted commas

    Slightly confusing that the profile says 365 but the file format used in post #1 is .xls which was used for Excel 97 - 2003, so I wonder if trying to use formulas with 365 functionality may be the issue.
    Try pasting the following into cell E2 and copying down to cell E9:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 2
    Last Post: 03-22-2022, 02:06 PM
  2. [SOLVED] Removing inverted commas
    By Sanjoy Mandal in forum Excel General
    Replies: 14
    Last Post: 12-10-2018, 02:17 AM
  3. How to remove inverted commas in PIPE Delimitted file created from VBA
    By sesgiri in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2014, 02:02 PM
  4. How to stop inverted commas during copy
    By jediknight in forum Excel General
    Replies: 4
    Last Post: 10-22-2012, 01:45 AM
  5. Replies: 0
    Last Post: 09-10-2007, 10:22 AM
  6. how to stop excel from adding extra inverted commas?
    By podcast in forum Excel General
    Replies: 1
    Last Post: 07-27-2007, 06:49 PM
  7. How to put inverted commas "" as a into ActiveCell.Value
    By tozjerimiah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2006, 07:02 PM

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