Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Eliminating the dashes

I have a column of part numbers that have dashes in them, such as 101-500 and
I want an easy way to eliminate the dash and keep the remaoning value without
edit easch individual cell ie. F2 backspace and then delete the dash. I have
tried doing a macro but I am not familiar with how to do them.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Eliminating the dashes

Try this:

Select the range of cells that contain the part numbers
Goto the menu EditReplace
Find what: enter a dash -
Replace with: nothing, leave this blank
Replace All

--
Biff
Microsoft Excel MVP


"Dashman" wrote in message
...
I have a column of part numbers that have dashes in them, such as 101-500
and
I want an easy way to eliminate the dash and keep the remaoning value
without
edit easch individual cell ie. F2 backspace and then delete the dash. I
have
tried doing a macro but I am not familiar with how to do them.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Eliminating the dashes

hi
have you tried find and replace yet.

Find what: - (dash)
Replace with: (leave blank)

click replace all

Regards
FSt1

"Dashman" wrote:

I have a column of part numbers that have dashes in them, such as 101-500 and
I want an easy way to eliminate the dash and keep the remaoning value without
edit easch individual cell ie. F2 backspace and then delete the dash. I have
tried doing a macro but I am not familiar with how to do them.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Eliminating the dashes

Just select the column and do a Replace replacing - with nothing.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Dashman" wrote in message
...
I have a column of part numbers that have dashes in them, such as 101-500
and
I want an easy way to eliminate the dash and keep the remaoning value
without
edit easch individual cell ie. F2 backspace and then delete the dash. I
have
tried doing a macro but I am not familiar with how to do them.



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
#N/A and eliminating it. Ted Excel Discussion (Misc queries) 2 April 24th 07 05:26 PM
What are dashes for WLMPilot Excel Discussion (Misc queries) 3 November 27th 06 11:03 PM
eliminating the 0 in DIV/0 teacher1 Excel Discussion (Misc queries) 11 September 13th 06 09:28 PM
Eliminating #N/A Mike Excel Worksheet Functions 4 December 14th 05 07:34 PM
Eliminating every 25th row Lram Excel Worksheet Functions 5 October 16th 05 11:07 PM


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