PC Review


Reply
Thread Tools Rate Thread

Copy in other cell just one letter.

 
 
Maperalia
Guest
Posts: n/a
 
      16th Jan 2009
I wonder if you can help me with this two matters:

1.- I have the description "WATER" in the cell "A1". How can I make appear
just the first letter "W" in the cell "B1"?.
2.- In addition, I have the name "Mike Lazo" in the cell"A2". How can I make
appear just the initials "ML" in te cell"B2"?

Thanks in advance.
 
Reply With Quote
 
 
 
 
Spreadsheet Solutions
Guest
Posts: n/a
 
      16th Jan 2009
Simply use the function LEFT.

The second question is more complicated.
I have to figure that out.

--
Regards;
Mark Rosenkrantz
--
Spreadsheet Solutions
Uithoorn
Netherlands (Those who live some 18 feet below sea level)
--
E: (E-Mail Removed)
W: www.spreadsheetsolutions.nl
--

"Maperalia" <(E-Mail Removed)> wrote in message
news:E41BB77F-2ACA-4AB6-AA01-(E-Mail Removed)...
>I wonder if you can help me with this two matters:
>
> 1.- I have the description "WATER" in the cell "A1". How can I make appear
> just the first letter "W" in the cell "B1"?.
> 2.- In addition, I have the name "Mike Lazo" in the cell"A2". How can I
> make
> appear just the initials "ML" in te cell"B2"?
>
> Thanks in advance.


 
Reply With Quote
 
RadarEye
Guest
Posts: n/a
 
      16th Jan 2009
Hi Maperalia,

In Excel2003 I have created the function below.
Add this to a module of your workbook and use it in B1 and B2

Public Function FirstLettersOnly(phrase As String) As String
Application.Volatile
Dim varSplit As Variant
Dim strResult As String
Dim intLoop As Integer

varSplit = Split(phrase, " ")

For intLoop = LBound(varSplit) To UBound(varSplit)
strResult = strResult & Left(varSplit(intLoop), 1)
Next

FirstLettersOnly = strResult
End Function


HTH,

Wouter
 
Reply With Quote
 
Paul C
Guest
Posts: n/a
 
      16th Jan 2009
For #2 If you don't want to use a macro or custom function this will work
for B2
=CONCATENATE(LEFT(A2,1),MID(A2,FIND(" ",A2)+1,1))

This will not work properly if there is more than one space between the
first and last name.


"Maperalia" wrote:

> I wonder if you can help me with this two matters:
>
> 1.- I have the description "WATER" in the cell "A1". How can I make appear
> just the first letter "W" in the cell "B1"?.
> 2.- In addition, I have the name "Mike Lazo" in the cell"A2". How can I make
> appear just the initials "ML" in te cell"B2"?
>
> Thanks in advance.

 
Reply With Quote
 
Maperalia
Guest
Posts: n/a
 
      16th Jan 2009
Paul;
Thanks for the formula .It is working PERFECTLY!!!!.
I wonder if you can help with my first question I have tried with this
formula =CONCATENATE(LEFT(D10,1),1)
However, it is not working. Could you please tell me how to make it work?

Kind regards.
Maperalia

"Paul C" wrote:

> For #2 If you don't want to use a macro or custom function this will work
> for B2
> =CONCATENATE(LEFT(A2,1),MID(A2,FIND(" ",A2)+1,1))
>
> This will not work properly if there is more than one space between the
> first and last name.
>
>
> "Maperalia" wrote:
>
> > I wonder if you can help me with this two matters:
> >
> > 1.- I have the description "WATER" in the cell "A1". How can I make appear
> > just the first letter "W" in the cell "B1"?.
> > 2.- In addition, I have the name "Mike Lazo" in the cell"A2". How can I make
> > appear just the initials "ML" in te cell"B2"?
> >
> > Thanks in advance.

 
Reply With Quote
 
eliano
Guest
Posts: n/a
 
      17th Jan 2009
On 16 Gen, 22:41, Maperalia <Mapera...@discussions.microsoft.com>
wrote:
> Paul;
> Thanks for the formula .It is working PERFECTLY!!!!.
> I wonder if you can help with my first question I have tried with this
> formula =CONCATENATE(LEFT(D10,1),1)
> However, it is not working. Could you please tell me how to make it work?
>
> Kind regards.
> Maperalia
>


Hi Maperalia.

Only: =LEFT(D10,1)

Use the Help on line to verify: =CONCATENATE() and =LEFT()

Regards
Eliano
 
Reply With Quote
 
Maperalia
Guest
Posts: n/a
 
      17th Jan 2009
Thanks very much for your help!!!

"Spreadsheet Solutions" wrote:

> Simply use the function LEFT.
>
> The second question is more complicated.
> I have to figure that out.
>
> --
> Regards;
> Mark Rosenkrantz
> --
> Spreadsheet Solutions
> Uithoorn
> Netherlands (Those who live some 18 feet below sea level)
> --
> E: (E-Mail Removed)
> W: www.spreadsheetsolutions.nl
> --
>
> "Maperalia" <(E-Mail Removed)> wrote in message
> news:E41BB77F-2ACA-4AB6-AA01-(E-Mail Removed)...
> >I wonder if you can help me with this two matters:
> >
> > 1.- I have the description "WATER" in the cell "A1". How can I make appear
> > just the first letter "W" in the cell "B1"?.
> > 2.- In addition, I have the name "Mike Lazo" in the cell"A2". How can I
> > make
> > appear just the initials "ML" in te cell"B2"?
> >
> > Thanks in advance.

>
>

 
Reply With Quote
 
Maperalia
Guest
Posts: n/a
 
      17th Jan 2009
Eliano;
Thank you very much for your help.
Maperalia

"eliano" wrote:

> On 16 Gen, 22:41, Maperalia <Mapera...@discussions.microsoft.com>
> wrote:
> > Paul;
> > Thanks for the formula .It is working PERFECTLY!!!!.
> > I wonder if you can help with my first question I have tried with this
> > formula =CONCATENATE(LEFT(D10,1),1)
> > However, it is not working. Could you please tell me how to make it work?
> >
> > Kind regards.
> > Maperalia
> >

>
> Hi Maperalia.
>
> Only: =LEFT(D10,1)
>
> Use the Help on line to verify: =CONCATENATE() and =LEFT()
>
> Regards
> Eliano
>

 
Reply With Quote
 
Maperalia
Guest
Posts: n/a
 
      17th Jan 2009
RadarEye;
Thank you very much for your help.
Maperalia

"RadarEye" wrote:

> Hi Maperalia,
>
> In Excel2003 I have created the function below.
> Add this to a module of your workbook and use it in B1 and B2
>
> Public Function FirstLettersOnly(phrase As String) As String
> Application.Volatile
> Dim varSplit As Variant
> Dim strResult As String
> Dim intLoop As Integer
>
> varSplit = Split(phrase, " ")
>
> For intLoop = LBound(varSplit) To UBound(varSplit)
> strResult = strResult & Left(varSplit(intLoop), 1)
> Next
>
> FirstLettersOnly = strResult
> End Function
>
>
> HTH,
>
> Wouter
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
split cell in number-cell and letter-cell ppeer Microsoft Excel Programming 4 3rd Nov 2009 12:06 PM
How to make First letter of the cell in capital letter Irshad Alam Microsoft Excel Programming 17 7th Sep 2008 04:14 PM
Extract Column Letter from Cell Reference in another Cell JKBEXCEL Microsoft Excel Misc 0 29th Dec 2006 03:35 PM
Pulling a Letter from a cell and filling another cell with info =?Utf-8?B?bmljayBz?= Microsoft Excel Worksheet Functions 16 28th Nov 2005 04:10 AM
Macro to Click on Alphabet Letter to go to Cell Where that Alphabet Letter Starts in Large Spreadsheet jcp370@comcast.net Microsoft Excel Discussion 2 26th Jul 2005 07:33 AM


Features
 

Advertising
 

Newsgroups
 


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