ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I add quote marks around cell contents? (https://www.excelbanter.com/excel-discussion-misc-queries/205074-how-can-i-add-quote-marks-around-cell-contents.html)

Shotsy

How can I add quote marks around cell contents?
 
I have a number of cells, that I need to place quote marks around. e.g. I
need 10-22 to read as "10-22"

Any help would be appreciated.



TedMi

How can I add quote marks around cell contents?
 
If the cells are contiguous, say in range A2:A10, then create a helper column
(say B) with the formula =""""&A2&"""" in B2 and copy down to B10 (that's
FOUR double quotes front and back).
Now select B2:B10, copy, select A2, Paste Special, Values. Delete the helper
column.
Similarly, for cells in a row, create a helper row with formulas as above
and copy/paste special.
--
TedMi

"Shotsy" wrote:

I have a number of cells, that I need to place quote marks around. e.g. I
need 10-22 to read as "10-22"

Any help would be appreciated.



Pete_UK

How can I add quote marks around cell contents?
 
If you have 10-22 in A1, then you could use this:

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

then copy down as required.

You could fix the values then copy back over the original data if required.

Hope this helps.

Pete

"Shotsy" wrote in message
...
I have a number of cells, that I need to place quote marks around. e.g. I
need 10-22 to read as "10-22"

Any help would be appreciated.





Shotsy

How can I add quote marks around cell contents?
 
Thank you Thank you.

I appreciate the quick responses.

Have a Great Day!

Shotsy...

"Shotsy" wrote:

I have a number of cells, that I need to place quote marks around. e.g. I
need 10-22 to read as "10-22"

Any help would be appreciated.




All times are GMT +1. The time now is 03:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com