A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Reconize the first digit only



 
 
Thread Tools Display Modes
  #1  
Old June 25th, 2009, 02:30 AM posted to microsoft.public.excel.worksheet.functions
Steved
external usenet poster
 
Posts: 252
Default Reconize the first digit only

Hello from Steved

Please how do I ask the below to except the first digit in this case "Wiri"

for example 4111, 4521, 4321, 4976 and so on, will return "Wiri".

=IF(E3=4051,"Wiri","")

Thankyou
  #2  
Old June 25th, 2009, 02:36 AM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default Reconize the first digit only

Try:

=if(left(e3,1)="4","Wiri","")

Regards,
Fred.

"Steved" wrote in message
news
Hello from Steved

Please how do I ask the below to except the first digit in this case
"Wiri"

for example 4111, 4521, 4321, 4976 and so on, will return "Wiri".

=IF(E3=4051,"Wiri","")

Thankyou


  #3  
Old June 25th, 2009, 02:48 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Reconize the first digit only

Do you mean

=IF(LEFT(E3,1)="4","Wiri","")

If this post helps click Yes
---------------
Jacob Skaria


"Steved" wrote:

Hello from Steved

Please how do I ask the below to except the first digit in this case "Wiri"

for example 4111, 4521, 4321, 4976 and so on, will return "Wiri".

=IF(E3=4051,"Wiri","")

Thankyou

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.