Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SusanK
 
Posts: n/a
Default How do I convert 300616a to show as a number 303616?

I am trying to convert a number ending with a letter to just the number. In
there a function in excel that can perform this task?
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try
=--LEFT(A1,LEN(A1)-1)

--
Regards
Frank Kabel
Frankfurt, Germany

"SusanK" schrieb im Newsbeitrag
...
I am trying to convert a number ending with a letter to just the

number. In
there a function in excel that can perform this task?


  #3   Report Post  
K.S.Warrier
 
Posts: n/a
Default

Hi,
try :-if A1=300616a,then
B1=left(A1,6)=300616 (6 in the formula shows the first 6 in A1
Thank you,
K.S.warrier

"Frank Kabel" wrote:

Hi
try
=--LEFT(A1,LEN(A1)-1)

--
Regards
Frank Kabel
Frankfurt, Germany

"SusanK" schrieb im Newsbeitrag
...
I am trying to convert a number ending with a letter to just the

number. In
there a function in excel that can perform this task?



  #4   Report Post  
Ken Wright
 
Posts: n/a
Default

The downside to that is that the LEFT function returns a text string, hence
if you look at Frank's response you will see the double unary preceding his
use of the function, as this coerces the data back to numeric.

Regards
Ken...................

"K.S.Warrier" wrote:

Hi,
try :-if A1=300616a,then
B1=left(A1,6)=300616 (6 in the formula shows the first 6 in A1
Thank you,
K.S.warrier

"Frank Kabel" wrote:

Hi
try
=--LEFT(A1,LEN(A1)-1)

--
Regards
Frank Kabel
Frankfurt, Germany

"SusanK" schrieb im Newsbeitrag
...
I am trying to convert a number ending with a letter to just the

number. In
there a function in excel that can perform this task?



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
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
How I convert number to word swastik Excel Discussion (Misc queries) 1 January 6th 05 01:17 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
#VALUE in cell but pop up function box show right number Ted Dalton Excel Discussion (Misc queries) 1 December 14th 04 03:15 PM
how can i convert a number in words? HOP Excel Discussion (Misc queries) 1 November 27th 04 11:53 AM


All times are GMT +1. The time now is 01:01 PM.

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"