Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dennis
 
Posts: n/a
Default How to determine the value of a printable character?

Using 2003

Would like to use a mid() to obtain all information in the text string (a
cell) up to the space before the "·" in (1029 · Money Market Acccount)

Therefore, in this case my formula would return "1029"

In another case my text is (1029-25 · Money Market Acccount)

In turn, my desired text would be "1029-25"

What combination of Find() or Mid() or what ever do I use to do the task?

Initially, I must ascertain how to obtain the chr() value of
the "·" character? No?

Dennis
  #2   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default How to determine the value of a printable character?

You can use the Code() function to find the code for the · character. It
happens to be 0183. Once you know this however, you can just type it into
your formula. No need to keep the Code() function.

=LEFT(A1,FIND("·",A1,1)-2)

The · was entered by holding down the ALT key and typing 0183.

HTH,
Elkar


"Dennis" wrote:

Using 2003

Would like to use a mid() to obtain all information in the text string (a
cell) up to the space before the "·" in (1029 · Money Market Acccount)

Therefore, in this case my formula would return "1029"

In another case my text is (1029-25 · Money Market Acccount)

In turn, my desired text would be "1029-25"

What combination of Find() or Mid() or what ever do I use to do the task?

Initially, I must ascertain how to obtain the chr() value of
the "·" character? No?

Dennis

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How to determine the value of a printable character?

Chip Pearson has a very nice addin that will help determine what that
character(s) is:
http://www.cpearson.com/excel/CellView.htm

Dennis wrote:

Using 2003

Would like to use a mid() to obtain all information in the text string (a
cell) up to the space before the "·" in (1029 · Money Market Acccount)

Therefore, in this case my formula would return "1029"

In another case my text is (1029-25 · Money Market Acccount)

In turn, my desired text would be "1029-25"

What combination of Find() or Mid() or what ever do I use to do the task?

Initially, I must ascertain how to obtain the chr() value of
the "·" character? No?

Dennis


--

Dave Peterson
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
How to determine the value of a printable character? Bob Umlas, Excel MVP Excel Discussion (Misc queries) 0 February 13th 06 08:39 PM
Count occurrence of character within a cell Kelli Excel Discussion (Misc queries) 2 January 18th 06 02:20 PM
install Office Assistant character file? billcamp Excel Discussion (Misc queries) 2 April 8th 05 01:39 PM
Copy a column in worksheet with a character change photowiz Excel Worksheet Functions 1 February 5th 05 03:35 PM
Searching a cell for a certain character. Matt Excel Worksheet Functions 3 January 3rd 05 09:14 PM


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