Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=left or =right
=LEFT(A1;LENGTH(A1)-1)*1 Rgds. Hansueli |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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
Posted to microsoft.public.excel.misc
|
|||
|
|||
=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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Left vs Left$ function | Excel Discussion (Misc queries) | |||
worksheet is right-to-left but i want left-to-right...? | New Users to Excel | |||
Column labels run right to left, not left to right | Excel Discussion (Misc queries) | |||
My columns run from right to left instead of left to right. Help? | Setting up and Configuration of Excel | |||
How to change the right-to-left worksheet to left-to-right workshe | Excel Discussion (Misc queries) |