I want to Copy the first two or three letters of a cell to another one in Excel
On the face of it ..
Assuming cell A1 contains the text: ABCD
In B1: =LEFT(TRIM(A1),2) will return: AB
In C1: =LEFT(TRIM(A1),3) returns: ABC
The TRIM(..) part is optional, it's just there as a safeguard which removes
any extraneous* white spaces (not readily visible) which may be present
within the text entered in A1
*especially leading spaces in this example
--
Max
Singapore
savefile.com/projects/236895
xdemechanik
---
quot;Jerryquot; gt; wrote in message
...
gt; I want to Copy the first two or three letters of a cell to another one in
Excel
Hi Jerry,
Try:
=LEFT(A1,2)---
Regards,
Norman
quot;Jerryquot; gt; wrote in message
...
gt;I want to Copy the first two or three letters of a cell to another one in
gt;Excel
quot;Jerryquot; wrote:
gt; Thanks a lot for this post.
I wanted to work on a huge volume of data and your suggestion was very
helpful and valuable
You're welcome, Jerry (from us) !
--
Max
Singapore
savefile.com/projects/236895
xdemechanik
---
quot;Jerryquot; gt; wrote in message
...
gt; Thanks a lot for this post.
gt; I wanted to work on a huge volume of data
gt; and your suggestion was very helpful and valuable
- Jul 16 Mon 2007 20:38
Copy the first two or three letters of a cell to another one
close
全站熱搜
留言列表
發表留言
留言列表

