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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXCEL 2000 - CLEARING LETTERS LEAVING NUMBERS 1

Status
Not open for further replies.
May 21, 2001
52
US
I have an large spreadsheet. In that spreadsheet is column A. There are many rows in column A. Each row to column A contains a account number and description. Is there a way to clear out the description, which is letters only, and leave the account number?

Example:
A
1 12345 description
2 43456 description
3 64567 description
 
If your numbers are consistently 5 digits, then a simple solution would be:

Enter =LEFT(A1,6) in cell B1, and copy it down for all the rows. Then use Edit - Paste Special - and choose "Values" to convert the formulas to values. Then copy the contents of "B" column over to "A".

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
Further suggestion...

If your numbers are NOT consistent, then you are better off using the following formula:

=LEFT(A1,FIND(" ",A1))

This formula will search for the "space" character, and pull out the numbers to the left of the space.

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top