Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default inserting [ ] around text in a cell

Hi,
I have a list of first names in Excel 2003 spreadsheet and I need to insert
square brackets around each first name. Is there a function I could use to
help me do this?
Thanks
Emma
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default inserting [ ] around text in a cell

Maybe you can use a helper column:

="["&a1&"]"
and drag down.

Then you could convert this helper column to values and delete the original (or
paste values over the original and delete the helper column)

Ecappello wrote:

Hi,
I have a list of first names in Excel 2003 spreadsheet and I need to insert
square brackets around each first name. Is there a function I could use to
help me do this?
Thanks
Emma


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default inserting [ ] around text in a cell

="[" & A1 & "]"

and copy down
--
Gary''s Student - gsnu200832


"Ecappello" wrote:

Hi,
I have a list of first names in Excel 2003 spreadsheet and I need to insert
square brackets around each first name. Is there a function I could use to
help me do this?
Thanks
Emma

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default inserting [ ] around text in a cell

Another possibility IF you only need to show the square brackets, but they
do NOT really need to be part of the text for use elsewhere in your
worksheet, then you could just Custom Format the cell using this Type
pattern...

"["@"]"

The cells will show names surrounded by the square brackets, but the value
in the cell (if you referenced it elsewhere) would be just the name itself.

--
Rick (MVP - Excel)


"Ecappello" wrote in message
...
Hi,
I have a list of first names in Excel 2003 spreadsheet and I need to
insert
square brackets around each first name. Is there a function I could use to
help me do this?
Thanks
Emma


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro - Inserting text to a cell already containg text Dileep Chandran Excel Worksheet Functions 5 December 7th 06 03:42 PM
Macro - Inserting text to a cell already containg text Dileep Chandran Excel Discussion (Misc queries) 6 December 7th 06 03:42 PM
Inserting text from a cell in another tab Karen Smith Excel Discussion (Misc queries) 2 October 4th 06 06:16 PM
Inserting text within a cell Hayley Excel Discussion (Misc queries) 6 October 28th 05 10:36 PM
Automatically inserting text into a cell Roy Excel Discussion (Misc queries) 2 June 17th 05 01:56 PM


All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"