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

I have a long column of numbers and I want to see them in a set 13-digit
string, no hyphens. The column I have - some numbers have hyphens, some
don't; all are randomly placed. Is there a way to edit out the hyphens
quickly, without losing the data?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Hyphens in a number stiring in a cell

select the range, click on Edit Menu and on replace

replace "-" (no quotes) to ""
hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"LLKSmith" escreveu:

I have a long column of numbers and I want to see them in a set 13-digit
string, no hyphens. The column I have - some numbers have hyphens, some
don't; all are randomly placed. Is there a way to edit out the hyphens
quickly, without losing the data?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Hyphens in a number stiring in a cell

To the right of your data, insert a blank helper column and copy and paste
the following formula in the new column:

=SUBSTITUTE(A2,"-","")

You can then copy the helper column and paste it back to the same location
using PASTE/SPECIAL/VALUES, or use as is.

When no longer necessary, delete the coumn
--
Kevin Backmann


"LLKSmith" wrote:

I have a long column of numbers and I want to see them in a set 13-digit
string, no hyphens. The column I have - some numbers have hyphens, some
don't; all are randomly placed. Is there a way to edit out the hyphens
quickly, without losing the data?

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
New numbers Larry Excel Worksheet Functions 7 August 31st 06 04:54 PM
Significant number rounding based on key cell Slashman Excel Worksheet Functions 2 August 27th 06 11:04 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
First Number in a Cell Kelly O. Excel Worksheet Functions 4 August 14th 05 03:31 PM


All times are GMT +1. The time now is 05:57 PM.

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

About Us

"It's about Microsoft Excel"