Using 2003
Would like to use a mid() to obtain all information in the text string (a
cell) up to the space before the quot;·quot; in (1029 · Money Market Acccount)
Therefore, in this case my formula would return quot;1029quot;
In another case my text is (1029-25 · Money Market Acccount)
In turn, my desired text would be quot;1029-25quot;
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 quot;·quot; character? No?
Dennis
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(quot;·quot;,A1,1)-2)
The · was entered by holding down the ALT key and typing 0183.
HTH,
Elkarquot;Dennisquot; wrote:
gt; Using 2003
gt;
gt; Would like to use a mid() to obtain all information in the text string (a
gt; cell) up to the space before the quot;·quot; in (1029 · Money Market Acccount)
gt;
gt; Therefore, in this case my formula would return quot;1029quot;
gt;
gt; In another case my text is (1029-25 · Money Market Acccount)
gt;
gt; In turn, my desired text would be quot;1029-25quot;
gt;
gt; What combination of Find() or Mid() or what ever do I use to do the task?
gt;
gt; Initially, I must ascertain how to obtain the chr() value of
gt; the quot;·quot; character? No?
gt;
gt; Dennis
Chip Pearson has a very nice addin that will help determine what that
character(s) is:
www.cpearson.com/excel/CellView.htm
Dennis wrote:
gt;
gt; Using 2003
gt;
gt; Would like to use a mid() to obtain all information in the text string (a
gt; cell) up to the space before the quot;·quot; in (1029 · Money Market Acccount)
gt;
gt; Therefore, in this case my formula would return quot;1029quot;
gt;
gt; In another case my text is (1029-25 · Money Market Acccount)
gt;
gt; In turn, my desired text would be quot;1029-25quot;
gt;
gt; What combination of Find() or Mid() or what ever do I use to do the task?
gt;
gt; Initially, I must ascertain how to obtain the chr() value of
gt; the quot;·quot; character? No?
gt;
gt; Dennis
--
Dave Peterson
- Feb 22 Thu 2007 20:35
How to determine the value of a printable character?
close
全站熱搜
留言列表
發表留言