View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Formating a cell

You can do this quickly with 3 Find&Replace operations. Do not include
quotation marks in actual find/replace.

Find:
" -"
Replace:
""

Find:
"- "
Replace:
""

Find:
"-"
Replace:
" - "
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Smiley" wrote:

Hi! I am working on a spreadsheet where I have 5 columns of time. I need to
reformat all 5 columns to be the same. My time reads for example, 11:55 -
12:45. I want to reformat the cell so that there is a space before and after
the hyphen. Is there a formula to help me with this? I really don't want to
have to go to each cell and add those spaces.

Please help!