Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tmcleod
 
Posts: n/a
Default Replacing dash in item number


I have a column of item numbers that look like they have a dash in them
but it is actually some sort of symbol. ie.... 1000-01, 1000-02. When I
read this file into another system, it does not recognize the "-" symbol
and leaves a blank space. I have tried "replace" but I can't figure out
how to tell it what to replace.


--
tmcleod
------------------------------------------------------------------------
tmcleod's Profile: http://www.excelforum.com/member.php...o&userid=32912
View this thread: http://www.excelforum.com/showthread...hreadid=527345

  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Replacing dash in item number

Hi!

Try this:

You need to find out what the character really is.

A1 = 1000-01

Enter this formula in B1:

=CODE(MID(A1,5,1))

Now, when you do EditReplace use that numeric code as the Find what
criteria, BUT, to enter that code YOU MUST hold down the ALT key and use the
number keypad. Also, the numeric code needs to be entered as a 4 digit
number. If the formula returns a code of, say, 45, you need to enter 0045.

Biff

"tmcleod" wrote in
message ...

I have a column of item numbers that look like they have a dash in them
but it is actually some sort of symbol. ie.... 1000-01, 1000-02. When I
read this file into another system, it does not recognize the "-" symbol
and leaves a blank space. I have tried "replace" but I can't figure out
how to tell it what to replace.


--
tmcleod
------------------------------------------------------------------------
tmcleod's Profile:
http://www.excelforum.com/member.php...o&userid=32912
View this thread: http://www.excelforum.com/showthread...hreadid=527345



  #3   Report Post  
Posted to microsoft.public.excel.misc
John James
 
Posts: n/a
Default Replacing dash in item number


You first need to identify what this character is.

Try http://www.cpearson.com/excel/CellView.htm

(and http://www.mvps.org/dmcritchie/excel/join.htm#trimall)


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=527345

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Replacing dash in item number

If your format is always the same, then one way is to use a helper column
and enter this formula, copied down.....

=LEFT(A1,4)&"-"&RIGHT(A1,2)

then do Copy PasteSpecial Values on that column and you then have a
"real" hyphen between your digits. This way, you don't have to know what
that weird character is.

Vaya con Dios,
Chuck, CABGx3


"tmcleod" wrote in
message ...

I have a column of item numbers that look like they have a dash in them
but it is actually some sort of symbol. ie.... 1000-01, 1000-02. When I
read this file into another system, it does not recognize the "-" symbol
and leaves a blank space. I have tried "replace" but I can't figure out
how to tell it what to replace.


--
tmcleod
------------------------------------------------------------------------
tmcleod's Profile:

http://www.excelforum.com/member.php...o&userid=32912
View this thread: http://www.excelforum.com/showthread...hreadid=527345



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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
sort bar chart in excel BuriedInSpreadSheets Charts and Charting in Excel 6 May 31st 07 04:12 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Number of labels on X-axis one more than number of values on Y-axi Gudrun Charts and Charting in Excel 5 August 26th 05 01:55 PM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM


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

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"