#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default =left or =right

I have column A populated with numbers which all end in a letter for example
123A, 1258M, 999Z. In the B i woul like to the numbers excluding the letter,
ie 123, 1258, 999.

How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default =left or =right


=LEFT(A1;LENGTH(A1)-1)*1

Rgds. Hansueli
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default =left or =right

Slight adjustment there,

=LEFT(A1;LENGTH(A1)-1)*1
Should be
=LEFT(A1;LEN(A1)-1)*1

And just to expand a little
=LEFT(A1;LEN(A1)-1)
will return the number as text.

HTH
Martin



"Hansueli" wrote in message
...

=LEFT(A1;LENGTH(A1)-1)*1

Rgds. Hansueli



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default =left or =right

And another adjustment.

Those semi colons ;
Should be colons :



"MartinW" wrote in message
...
Slight adjustment there,

=LEFT(A1;LENGTH(A1)-1)*1
Should be
=LEFT(A1;LEN(A1)-1)*1

And just to expand a little
=LEFT(A1;LEN(A1)-1)
will return the number as text.

HTH
Martin



"Hansueli" wrote in message
...

=LEFT(A1;LENGTH(A1)-1)*1

Rgds. Hansueli





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default =left or =right

Are you sure, Martin? Colons are normally used to define an array, so a
colon in this case would be invalid syntax. The list separator, a
semi-colon in some regional settings, is more likely to be a comma in other
settings. Hence you may want =LEFT(A1,LEN(A1)-1)*1, or alternatively
=--LEFT(A1,LEN(A1)-1)
--
David Biddulph

"MartinW" wrote in message
...
And another adjustment.

Those semi colons ;
Should be colons :


"MartinW" wrote in message
...
Slight adjustment there,

=LEFT(A1;LENGTH(A1)-1)*1
Should be
=LEFT(A1;LEN(A1)-1)*1

And just to expand a little
=LEFT(A1;LEN(A1)-1)
will return the number as text.


"Hansueli" wrote in message
...

=LEFT(A1;LENGTH(A1)-1)*1

Rgds. Hansueli









  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default =left or =right

Actually, those characters should match whatever the user has as a list
separator.

In the USA, most(?) people use a comma. In Europe, most(?) use a semicolon
(;)--not a colon.

I don't think many people use colons for this list separator.

MartinW wrote:

And another adjustment.

Those semi colons ;
Should be colons :

"MartinW" wrote in message
...
Slight adjustment there,

=LEFT(A1;LENGTH(A1)-1)*1
Should be
=LEFT(A1;LEN(A1)-1)*1

And just to expand a little
=LEFT(A1;LEN(A1)-1)
will return the number as text.

HTH
Martin



"Hansueli" wrote in message
...

=LEFT(A1;LENGTH(A1)-1)*1

Rgds. Hansueli




--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default =left or =right

Yeah, I don't think I can even give myself a satisfactory explanation
for that little brain snap.

Apologies to all. I'm off to bed.

Regards
Martin


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Are you sure, Martin? Colons are normally used to define an array, so a
colon in this case would be invalid syntax. The list separator, a
semi-colon in some regional settings, is more likely to be a comma in
other settings. Hence you may want =LEFT(A1,LEN(A1)-1)*1, or
alternatively =--LEFT(A1,LEN(A1)-1)
--
David Biddulph

"MartinW" wrote in message
...
And another adjustment.

Those semi colons ;
Should be colons :


"MartinW" wrote in message
...
Slight adjustment there,

=LEFT(A1;LENGTH(A1)-1)*1
Should be
=LEFT(A1;LEN(A1)-1)*1

And just to expand a little
=LEFT(A1;LEN(A1)-1)
will return the number as text.


"Hansueli" wrote in message
...

=LEFT(A1;LENGTH(A1)-1)*1

Rgds. Hansueli








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
Left vs Left$ function Andy Excel Discussion (Misc queries) 5 May 6th 07 04:06 AM
worksheet is right-to-left but i want left-to-right...? rose_mina New Users to Excel 1 April 25th 07 12:40 PM
Column labels run right to left, not left to right tmassey Excel Discussion (Misc queries) 1 November 10th 06 11:03 AM
My columns run from right to left instead of left to right. Help? Marleneburton Setting up and Configuration of Excel 1 March 21st 06 08:31 AM
How to change the right-to-left worksheet to left-to-right workshe RAMA Excel Discussion (Misc queries) 1 July 4th 05 01:57 PM


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