Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Formating a number in a cell

I have the following data in a cell 00000-0000-00 and I want to format
the cell to remove the dashes, 00000000000. How would I do that?

Thanks so much!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Formating a number in a cell

Hi,

Try this:
=SUBSTITUTE(A1,"-","")
assumed that your string is in the cell A1.

Thanks,

--
Farhad Hodjat


" wrote:

I have the following data in a cell 00000-0000-00 and I want to format
the cell to remove the dashes, 00000000000. How would I do that?

Thanks so much!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formating a number in a cell

Select the data, then:
<Edit <Replace

In "Find What", enter the dash ( - )
Leave "Replace With" empty,
And click on <Replace All.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
wrote in message
ps.com...
I have the following data in a cell 00000-0000-00 and I want to format
the cell to remove the dashes, 00000000000. How would I do that?

Thanks so much!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Formating a number in a cell

On May 15, 5:11 pm, Farhad wrote:
Hi,

Try this:
=SUBSTITUTE(A1,"-","")
assumed that your string is in the cell A1.

Thanks,

--
Farhad Hodjat



" wrote:
I have the following data in a cell 00000-0000-00 and I want to format
the cell to remove the dashes, 00000000000. How would I do that?


Thanks so much!- Hide quoted text -


- Show quoted text -


Thank You! Your solution worked perfectly!

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
Number Formating JW Excel Discussion (Misc queries) 1 April 5th 07 03:39 PM
Change number formating Wendy Excel Worksheet Functions 4 July 4th 06 05:06 PM
Irregular Number Formating Diamonelle Excel Discussion (Misc queries) 3 March 14th 06 04:41 PM
Number formating croozer Excel Discussion (Misc queries) 4 November 29th 05 07:36 PM
Formating a number Tray Excel Discussion (Misc queries) 3 February 3rd 05 02:19 PM


All times are GMT +1. The time now is 05:51 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"