views:

33

answers:

2

I have a spreadsheet with text in column A. For example

A1=MY TEXT1
A2=MY TEXT2
A3=MY TEXT3
A4=MY TEXT4
A5=MY TEXT5

I want to add an apostrophe to the front and back of the text Result to be:

B1='MY TEXT1'
B2='MY TEXT2'
B3='MY TEXT3'
B4='MY TEXT4'
B5='MY TEXT5'

It seems like a straight forward thing to do. Any one know how?

+3  A: 
=CONCATENATE("'";A1;"'")
Bart
+1 beat me by 1 min
Shiraz Bhaiji
@Bart...I tried that and got "The Formula you typed contains and error". Any ideas?
MikeTWebb
@Bart....these worked =CONCATENATE("'",A1,",'") =CONCATENATE("'" didn't work?
MikeTWebb
@Mike , is the argument separator for functions in the English version of Excel, but ; is the argument separator in most other language versions
Mark Baker
@Mark.....ahhhhhhhhh.....excellent. Good to know. Thanks
MikeTWebb
+3  A: 

Use this formula:

="'" & A1 & "'"
Jon
@Jon...thank you
MikeTWebb