Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting a column 1

Status
Not open for further replies.

runnerlk

MIS
Jul 19, 2002
41
0
0
US
I need to format a column and add "" around each value in the cloumn. I am thinking there must be some formula that would do this. Any help would be greatly appreciated
 
-> I am thinking there must be some formula that would do this.

You probably noticed that
=""" & A1 & """ returns " & A1 & ".

That's because Excel thinks the outer quotes are telling it that everything inside them is text. You want to tell Excel the actually display double quotes.

To do that, you just add another quote in there, so you wind up with a pair of double quotes around a pair of double quotes. It looks like this:
[tab][COLOR=blue white]="""" & A1 & """"[/color]

Fill the formula down, Copy, Paste Special > Values in the original column. Then delete the helper column.

[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ 181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top