Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS-Excel truncating non-numeric data from a field 1

Status
Not open for further replies.

mooneye

Technical User
Jan 14, 2002
27
IE
Is there any quick way of deleting non-numeric data from fields, e.g. I want 12.5 to appear instead of 12.5 Kg.

Any help would be greatly appreciated.
 
Hi Mooneye,

If your data is in column A, use the following formula in column B, and copy down for all the rows:

=VALUE(LEFT(A1,FIND(" ",A1)-1))

Then of course convert to values, and copy to column A.

Hope this works for you. :) Please advise as to how you make out.

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
u can also use edit, replace to replace " kg" with nothing (without quotation marks)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top