Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kevin
 
Posts: n/a
Default Stripping mixed number and text

I have a field with mixed numbers and text (i.e. 232.4Ft). I want to strip of
the unit of measure (i.e. Ft) and have one field with the number and another
with the unit of measure. Can this be done? I am fairly confident I could do
it in VB, but I am not sure how at this point. Is there a worksheet function?

Thanks in advance!

Kevin
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
if your values have always this format you could use the following
formulas:
=LEFT(A1,LEN(A1)-2)
and
=RIGHT(A1,2)

--
Regards
Frank Kabel
Frankfurt, Germany

"Kevin" schrieb im Newsbeitrag
...
I have a field with mixed numbers and text (i.e. 232.4Ft). I want to

strip of
the unit of measure (i.e. Ft) and have one field with the number and

another
with the unit of measure. Can this be done? I am fairly confident I

could do
it in VB, but I am not sure how at this point. Is there a worksheet

function?

Thanks in advance!

Kevin


  #3   Report Post  
Kevin
 
Posts: n/a
Default

Frank,

Thanks! That is exactly what I needed!

"Frank Kabel" wrote:

Hi
if your values have always this format you could use the following
formulas:
=LEFT(A1,LEN(A1)-2)
and
=RIGHT(A1,2)

--
Regards
Frank Kabel
Frankfurt, Germany

"Kevin" schrieb im Newsbeitrag
...
I have a field with mixed numbers and text (i.e. 232.4Ft). I want to

strip of
the unit of measure (i.e. Ft) and have one field with the number and

another
with the unit of measure. Can this be done? I am fairly confident I

could do
it in VB, but I am not sure how at this point. Is there a worksheet

function?

Thanks in advance!

Kevin



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 data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
What defines number or text Danny J New Users to Excel 3 December 7th 04 07:27 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
returning a text cell based on a number cell Josh7777777 Excel Worksheet Functions 2 November 2nd 04 07:42 PM


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